Show all sockets (Unix & TCP/UDP), both listening and established ones: netstat -anp To limit the output e.g. to listening TCP...
This is called "cherry-picking". git cherry-pick commit-sha1 Note that since branches are nothing but commit pointers, cherry...
YARD 0.6 adds the ability to serve documentation for gems as well as the current project with yard server. Just...
An alternative to this technique is using VCR. VCR allows you to record and replay real HTTP responses, saving you...
This will tunnel HTTP requests to one given domain and port through an intermediary SSH server: ssh -L 8080:targethost...
Ubuntu lets you mount an SSH shell into Nautilus from Places -> Connect to server (select "SSH" as server type).
In a nutshell: to avoid your shell character set from messing with imports, use -r to export and SOURCE when...
Currently not possible as the linked .htc file contains JavaScript which is not explicitly called. The developers are working on...
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...
Until May 2011 our gems have been created with Jeweler, which is a helper library to package code into a...
See the lemonade descriptions. Unfortunately, the gem has a few problems: it does not work with Sass2...
install apache sudo apt-get install ruby1.8-dev sudo gem install passenger sudo passenger-install-apache2-module follow the instructions
When you need to patch an existing gem, one way is to "vendor" the gem by copying it into the...
This is for people recovering from Subversion. Get an existing from the server for the first time git clone git@example.com...
You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...
When you include a non-existing Javascript file, you probably won't notice it during development. But with caching active...
Learn everything you need to know about Scaling your Rails app through 13 informative Screencasts produced by Gregg Pollack with...
Web 2.0 sites have lots of tiny javascript/css files, which causes one extra round trip per file to the server...
The rubyforge gems model may not be perfect, but damnit people, when there’s a gem update I know that...
Heroku's architecture enables deployment with nothing but Git. Deployment is fast, simple, and just works – all you do is...
I’m working on a problem for a client which involves connecting to a Microsoft SQL Server 2005 database from...
MMM (MySQL Master-Master Replication Manager) is a set of flexible scripts to perform monitoring/failover and management of MySQL Master...