docopt.org

docopt helps you define interface for your command-line app, and automatically generate parser for it. docopt is based on...

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...

If you regularly get ActionView::MissingTemplate exceptions, maybe some bot visits your site requesting silly formats like: http://www.rails-app.com/makandra.html-username-2000...

github.com

better_errors is an awesome gem for enhanced error pages in development, featuring a live-REPL for some light debugging...

getbootstrap.com

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

If you are using Angular and want something like Rails' simple_format which HTML-formats a plain-text input into...

linux.die.net

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

If you want to do JavaScript-style camelization, ActiveSupport's String#camelize method can actually help you out. Simply pass...

github.com

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

makandra dev
stackoverflow.com

rake -W [substring_of_task]

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

Use the following command to test if a server (in this example: makandra.com on port 443) uses Perfect Forward Secrecy...

makandra dev
filippo.io

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

makandra dev
heartbleed.com

The Heartbleed Bug is a serious vulnerability in the popular OpenSSL cryptographic software library. This weakness allows stealing the information...

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...

makandra dev
sitepoint.com

A look at Prawn, PDFKit, and Wicked PDF

robots.thoughtbot.com

Declare an enum attribute where the values map to integers in the database, but can be queried by name.

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...

everydayrails.com

I recently had a need to demonstrate a data-heavy application to potential customers. Demonstrating the application with bogus numbers...