To list the name and version of your Linux distribution, type the following: cat /etc/*-release
When you use the send_file method to send a local file to the browser, you can save resources on...
You know Firebug as a Firefox extension but there is also a "Lite" version which runs purely off JavaScript.
The idea is this: you take a job that you'd rather not do manually, and describe it to babushka...
This might be due to AppArmor denying the MySQL server access to most of the filesystem. You can instead use...
This card describes a Cucumber step that lets you say: When I perform basic authentication as "username/password" and I visit...
In case https://www.rubydoc.info/ is to slow or offline, you can also read a gem documentation offline. Start a server...
Find-as-you-type boxes are usually built by observing changes in a text field, and querying the server via...
From time to time we're convinced that an error must be very close to the network card, OS IP...
It's that simple to allow one of your Linux users to run a single command as UID 0:
This is for those who already own an SSL certificate (e.g. using it in the Apache HTTP Server) and need...
Call geordi clean from a project root to remove unused and unnecessary files inside it. This script is part of...
When your site is mapped into the URL-space of another server using mod_proxy, ProxyPass and ProxyPassReverse, all requests...
These steps are now part of Spreewald. The step definitions below allow you to test the filename suggested by the...
If you need to find out which of your local commits are not on the remote server do this:
In RSpec 2 shared_examples_for can have parameters. You can simply hand over arguments from it_behaves...
To clear the query cache in your MySQL database manually, e.g. for database profiling, execute the following command in your...
So you added a new callback to your model that (e.g.) caches some data when it is saved. Now you...
Ruby's net/http is setup to never verify SSL certificates by default. Most ruby libraries do the same. That means...
You can use these step definitions: Then /^I should not see an error$/ do (200 .. 399).should include(page.status_code...
When a has_many association basically serves to store a list of associated strings (tags, categories, ...), it can be convenient...
Because Nokogiri needs to be compiled and dynamically linked against both libxml2 and libxslt, it has gained a reputation for...
When you just went through a long debug-fest and infested your code with dozens of debug messages, it can...
Have you guys ever done the math on that? You asked or allowed for 24000 interruptions from literally every human...