If you are using Angular and want something like Rails' simple_format which HTML-formats a plain-text input into...
Sometimes you may want to print files from the command line, especially when you have lots of them.
Use the following command to test if a server (in this example: makandra.com on port 443) uses Perfect Forward Secrecy...
Enter the hostname of a server to test it for CVE-2014-0160.
When using TextMate2 with the cucumber bundle, it does not recognize step definitions (e.g. custom_steps.rb) as such but believes they...
Local testing allows you to test your private and internal servers using the BrowserStack cloud, which has support for firewalls...
Your development machine is usually on a very good network connection. To test how your application behaves on a slow...
If you are trying to inspect timings in JavaScript, you can use console.time and console.timeEnd which will write to your...
Development environment setup Rails Composer Basically a comprehensive Rails Template. Prepares your development environment and lets you select web server...
To print a colored full-width bar on the bash, use this bash script expression: echo -e '\033[37;44m...
Using git checkout - you can switch back to the branch you previously worked on. (master) $ git checkout foobar
This is just a quick note, mostly for my own reference, of a few ways to easily delete the dot...
If you want to switch to another ruby versions, you have several options, depending on what you want: Do you...
I had a huge MySQL dump that took forever (as in: days) to import, while I actually just wanted to...
pngquant is a command-line utility and a library for converting 24/32-bit PNG images to paletted (8-bit) PNGs.
In /etc/rc.local add: service bluetooth stop
Icons Sizes for Windows, MacOS X, iOS, Android and Linux. It's a mess!
TLDR: This card explains which threads and processes interact with each other when you run a Selenium test with Capybara...
On recent/fresh installations of Ruby 1.8.7 you may encounter this error why calling any bundled binary (or just bundle exec...
If you have multiple monitors and want to share a given screen with your call partner, drag the caller window...
In Ruby, classes and modules are called constants. This card explains how Ruby resolves the meaning of a constant.
"CronMaker is a utility which helps you to build cron expressions." Check it out at http://www.cronmaker.com/.
Modern IRB has time measurement built in. measure # Enable measure :off # Disable Custom Should your version of IRB not offer...
Assert rmagick provision ... Gemfile gem 'rmagick', '2.13.2' # at this moment the latest stable version config/initializer/carrierwave.rb require 'carrierwave/processing/rmagick' ... and define a...