In case you want to require a gem, that is not in the Gemfile of you bundle and therefore not...
RubyMine allows bookmarking lines of code. This is super-helpful when working on a complex problem. I've been using...
When filling out forms in Selenium tests, Chrome shows the (usual) bubble, asking to store those credentials. While the bubble...
Sass lets you easily specify multiple selectors at once like this: .some-block &.has-hover, &:hover outline: 1px solid red...
ImageMagick has a command line tool called identify which can read image metadata: >identify -verbose DSC00136.JPG Image: DSC00136.JPG Format: JPEG...
git command line options for automating common rebasing tasks, like adding a fix to a commit that was already rebased...
This card is just about creating simple PostgreSQL dumps. This is no instruction for a backup strategy nor a guide...
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...
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...
Website that offers lots of different kinds of HTTPS configurations, bad or good or complicated. They also offer a dashboard...
Occasionally, you have to talk to APIs via HTTPS that use a custom certificate or a misconfigured certificate chain (like...
run-one is a wrapper script that won't run the given command while another instance of it is running...
Using the dialog command you can launch ASCII-art dialogs from your shell scripts. Check out man dialog for a...
Add the following to /etc/rc.local: (sleep 3 && echo disable > /proc/acpi/ibm/bluetooth)& Bluetooth icon will be active for a few seconds, then...
Line-height and vertical-align are simple CSS properties. So simple that most of us are convinced to fully understand...
Below is a list of some VIM settings I find useful. You can add them to your .vimrc. source $VIMRUNTIME/mswin.vim...
Sometimes your code has long lines: describe 'foo' do describe 'bar' do really_long_line_really_long_line_really_long...
To create a 10 GB file: fallocate -l 10G huge_file.dat
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...