makandra dev

This is an awesome gadget in your toolbox, even if your test coverage is great. gem install ruby-debug (Ruby...

def task_with_hoptoad_notification(options) task(options) do begin yield rescue Exception => e Airbrake.notify(e) raise e

makandra dev

Update RubyGems and Passenger Bundler requires Rubygems >= 1.3.6. Run gem update --system if you have an older version.

Sometimes files attain executable-flags that they do not need, e.g. when your Windows VM copies them over a Samba...

You may omit the /path/to/link_name to have a link with the same filename appear in the current directory

When deploying Rails applications you might have noticed that JS and CSS are not cached by all browsers.

When working with times and dates in Rails applications, you need to deal with the following problem: In Rails, Time...

ubuntuforums.org

Keyboard layout reverting to US on (every) reboot Cause: I found the same problem, but only on my wife...

To pause and send a task to the background ctrl+z to reactivate the task fg to run task in...

So you screwed up and copied Paperclip secrets from one project to another. Here is a semi-automatic, painful way...

This will tunnel HTTP requests to one given domain and port through an intermediary SSH server: ssh -L 8080:targethost...

Open the configuration file: gksudo gedit /usr/share/vte/termcap/xterm Find a line like this: :co#80:it#8:li#24:\

makandra dev

Ubuntu lets you mount an SSH shell into Nautilus from Places -> Connect to server (select "SSH" as server type).

Screen is great for long running tasks, where you want to log in every few hours and days and keep...

In a nutshell: to avoid your shell character set from messing with imports, use -r to export and SOURCE when...

makandra dev

From the shell: ls -l | wc -l

makandra dev

This may be awkward to set up, but will work once you're done. Fun facts:

morris-photographics.com

Some browsers render PNG images with color profiles and other shenanigans, some do not. The cleanest way to have consistent...

Until May 2011 our gems have been created with Jeweler, which is a helper library to package code into a...

With defaults, RCov doesn't work the way you how you would like it to. To create a nice test...

makandra dev

rspec_spinner is a progress bar for RSpec which outputs failing examples as they happen (instead of all at the...

Install gem and plugin sudo gem install parallel script/plugin install git://github.com/grosser/parallel_tests.git Adapt config/database.yml test: database: xxx_test<%= ENV...

sudo gem install gettext --no-ri --no-rdoc sudo gem install fast_gettext --no-ri --no-rdoc script/plugin install git://...

If your shell seems frozen You probably pressed Ctrl-S which stops the buffer. Try Ctrl-Q to resume.