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:\
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...
ALTER DATABASE database_name CHARACTER SET "utf8"; ALTER DATABASE database_name COLLATE "utf8_unicode_ci"; After that, for...
When you get this while installing the raspell gem: ERROR: Error installing raspell: ERROR: Failed to build gem native extension...
For example, to send a form and populate a preview div with the response. $('content_form').request({ parameters: { 'preview': "1...
Increasingly web application developers and entrepreneurs are turning to the “Software As A Service” (SaaS) model to monetize their products...
A fake filesystem. Use it in your tests.
Ancestry is a gem/plugin that allows the records of a Ruby on Rails ActiveRecord model to be organised as a...
In Webkit you can use the HTML5-attribute autofocus: = form.text_field :title, :autofocus => 'autofocus' Here is a jQuery fallback for...
This may be awkward to set up, but will work once you're done. Fun facts:
Unless all MySQL server defaults are set to UTF-8, mysqldump encodes UTF-8 characters incorrectly and only outputs correct...
To retain all branches you can try the svn2git tool. However, this tool has some bugs. To only import the...
Create a branch: svn copy https://dev.makandra.de/svn/filepanic/trunk https://dev.makandra.de/svn/filepanic/branches/$ticketnumber_shortdesc Don't just copy the folder into your working...
Some browsers render PNG images with color profiles and other shenanigans, some don't. The cleanest way to have consistent...
Notebook: 1280x800 (many consumer notebooks) Netbook: 1024x600 Desktop: 1440x900 / 1680x1050 (19"- und 22"-Widescreen-TFTs) iPad: 768x1024
Most of these will not work in newer projects because these use the Capybara/Rack::Test combo in lieu of Webrat...
When a paperclip attachment gains a new style and you have many attachments, reprocessing can take ages. This is because...
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...
We built cucumber_spinner to have a progress bar for Cucumber features, which also outputs failing scenarios as soon as...
To test concurrent code, you will need to run multiple threads. Unfortunately, when you use blocking system calls (e.g. locks...