Working with NodeJS modules I was doing the following repetitive boring tasks:
- Create the
README.md
,LICENSE
,.gitignore
files. - Bump
package.json
versions. - Add documentation.
Working with NodeJS modules I was doing the following repetitive boring tasks:
README.md
, LICENSE
, .gitignore
files.package.json
versions.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.
The following things were made in the new version:
readFile
method (using file streams)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.
bootstrap-sass
After running the command below, you will not need root access when installing gems.
sudo chown -R $USER:$USER /var/lib/gems/
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
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
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.
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
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.
It's time to bring the flat colors into your terminal! I've released a theme for Gnome Terminal that is published on GitHub.
To install it, simply do: