Ionică Bizău

Programmer, Pianist & Organist, Jesus follower

Introducing the Blah Command Line Tool

Working with NodeJS modules I was doing the following repetitive boring tasks:

  1. Create the README.md, LICENSE, .gitignore files.
  2. Bump package.json versions.
  3. Add documentation.
Read more »

Statique@1.0.0 is released

Statique is a Node.JS static server module that has built-in routing and caching stuff. The new version comes with a lot of fixes and features.

Changelog

The following things were made in the new version:

  • Improved readFile method (using file streams)
Read more »

Creating a Twitter Bootstrap theme with Compass

Supposing you already have Compass installed on your machine, you can easily create your own Twitter Bootstrap theme. I'm running Compass 1.0.1 (Polaris) on Ubuntu 14.04.

There is a GitHub repository that contains a guide for how to create a Twitter Bootstrap theme with Compass. Based on that, I will write here how to create and edit such a theme.

Set correct rights for gems and install bootstrap-sass

After running the command below, you will not need root access when installing gems.

sudo chown -R $USER:$USER /var/lib/gems/
            
Read more »

regex-parser@1.0.0 is released

Sometimes I need to parse strings as regular expressions. For example, having a string like "/hello world/gi", it should be converted into a real regular expression: /hello world/gi.

For doing this, I built a Node.JS module, named regex-parser, that parses such strings. I'm happy to announce the first stable release.

You can download it via git or npm:

# From GitHub, using git
$ git clone git@github.com:IonicaBizau/node-regex-parser.git node-regex-parser
            
Read more »

Switzerland, GitHub and Octocats

Two weeks ago I was in Switzerland, together with my colleagues from jillix. It was the first time I'd traveled by plane. We had a great time together!

I also had the opportunity to meet Ivan Žužak (@izuzak), who works in technical support at Github. He helped me with using the

Read more »

Introducing MiniLightbox

I've just released an image lightbox library that has a very simple API. Its name is MiniLightbox. It's minimalist and doesn't depend on any library (e.g. jQuery). It only uses JavaScript, but combined with the power of CSS3 transitions, it's everything I expect from a minimalist lightbox.

Demo

Read more »

"Le Table" - Create ASCII tables with Node.JS

Last week I published an article about cli-box - a library that creates ASCII rectangles. A pull request was made (thanks @wesolyromek), adding the feature to fill such rectangles with text. A great improvement!

Putting together the overlap module and cli-box, I created le-table - a library for creating ASCII tables in Node.JS.

Let's take a look at the example:

// Dependencies
            
Read more »

Generate ASCII boxes with NodeJS

Creating ASCII rectangles just became easier. I created cli-box - a NodeJS module that can be used to generate ASCII boxes.

You can install it via NPM by running npm install cli-box or via git. For documentation, check out the GitHub repository and the NPM project page.


The library exports a function that can be used as constructor. You just need to pass it a string (e.g.: "20x10") or an object. The function returns an object containing a settings field (which can be modified after the Box call) and a toString() method that will convert the box into a string.

Read more »

Tweak your terminal with flat colors

It's time to bring the flat colors into your terminal! I've released a theme for Gnome Terminal that is published on GitHub.

My Terminal

To install it, simply do:

Read more »