Programatically invoke Rails generators Require the generator, instantiate it and invoke it (because generators are Thor::Groups, you need...

Rubygems can produce lots of deprecation warnings, but sometimes, you cannot fix them. To have a tidy terminal with output...

makandra dev

When you want the table headers to always stay around (e.g. because that table is huuuge), use the code below...

If you want to label things with a color but don't actually care which cholor, you can use the...

So you have a restangular collection and you want to remove an element from it, after you've successfully deleted...

With this command you can initiate an application restart without touching restart.txt. Unlike touching restart.txt, this tool initiates the restart...

getbootstrap.com

List of variables used in Bootstrap. Overwrite to customize your bootstrap application. When you are using bootstrap-sass, simply replace...

linux.die.net

Sometimes you may want to print files from the command line, especially when you have lots of them.

github.com

All the hidden and not hidden features of Git and GitHub.

If you come across an (older) application that is using Prototype instead of jQuery, you may often see events bound...

makandra dev
filippo.io

Enter the hostname of a server to test it for CVE-2014-0160.

wiki.macromates.com

When using TextMate2 with the cucumber bundle, it does not recognize step definitions (e.g. custom_steps.rb) as such but believes they...

blog.mariadb.org

MariaDB 10 includes numerous innovations developed with and for web-scale players like Google, Fusion-IO and Taobao such as...

blog.codeclimate.com

Splitting a long method into sub methods is easier in instances since it is in classes. Since...

lucaguidi.com

Ruby’s model for concurrency is based on threads. It was typical approach for object oriented languages, designed in the...

makandra dev
github.com

Directory of popular Github projects.

medium.com

When you, as a developer, look at the choices used to build a particular application, you’re blown away at...

Your development machine is usually on a very good network connection. To test how your application behaves on a slow...

If you need to quickly find out the number of weekdays (Monday to Friday) between to given dates, try this...

makandra dev

When you call a method on an object, Ruby looks for the implementation of that method. It looks in the...

medium.com

Article about implementing authentication (current_user) and authorization (access rights) in AngularJS. Has an surprising amount of practical and understandable...

Development environment setup Rails Composer Basically a comprehensive Rails Template. Prepares your development environment and lets you select web server...

Browsers usually cache favicons. If you update the favicon of your web site and want all visitors to see the...

faviconit.com

Eduardo Russo was tired of complex favicon creation and created his own favicon generator. It's really easy and allows...