Hint This applies only to distributions based on Debian. Requirement You need to setup the PostgreSQL Apt Repository first.
This is a visualization of the files that will be generated by some useful rails generators. Invoke a generator from...
Just dumping this in case somebody might need it. When you need a CSS value (a padding, margin, height etc...
on the bash (issued as postgres user) Start/Stop/Restart PostgreSQL pg_ctl -D $configdir start|stop|restart Start/Stop/Restart the corresponding PostgreSQL...
Crontabs are often unordered, especially when generated for an application where you usually group tasks by their domain/scope.
This is not an issue in newer versions of HAML (starting with 5.0.0), as the ugly-option was removed...
There are various ways to run external commands from within Ruby, but the most powerful ones are Open3.capture3 and Open3.popen3...
Occasionally, you have to talk to APIs via HTTPS that use a custom certificate or a misconfigured certificate chain (like...
Using VCR to record communication with remote APIs is a great way to stub requests in tests. However, you may...
Using the dialog command you can launch ASCII-art dialogs from your shell scripts. Check out man dialog for a...
The pages listed here contain tests and experiments about features, possibilities, browsers’ bugs concerning CSS. That is, over 200 experiments...
Line-height and vertical-align are simple CSS properties. So simple that most of us are convinced to fully understand...
If the application under test makes sound, you probably want to disable this during integration testing. You can use the...
Just like we use gems on the server, we use third party JavaScript libraries in the browser. These typically provide...
We generally use multiple application servers (at least two) and you have to search on all of them if you...
Advanced cucumber features Learn about the following cucumber features: Doc Strings ("multiline strings") Tables Tags Before/after hooks Background Scenario outlines...
If you have a replication error with MySQL and you know the "error" is okay (e.g. you've executed the...
This error message may occur when rspec gets loaded by rake, e.g. when you migrate the test database. NoMethodError: undefined...
Reminder of what you can do with Geordi. Note: If you alias Geordi to something short like g, running commands...
Sometimes huge refactorings or refactoring of core concepts of your application are necessary for being able to meet new requirements...
You may know the double asterisk operator from Ruby snippets like Dir['spec/**/*_spec.rb'] where it expands to an arbitrary...
Ruby's regular expressions can be represented differently. When serializing them, you probably want to use inspect instead of to...
In general, you should not put a block element inside an inline element. So don't do this: text
If you get an error like this for a puppet mount: $ > puppet agent --test Info: Retrieving pluginfacts Info: Retrieving plugin...