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 is a visualization of the files that will be generated by some useful rails generators. Invoke a generator from...
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...
We generally use multiple application servers (at least two) and you have to search on all of them if you...
If you have a replication error with MySQL and you know the "error" is okay (e.g. you've executed the...
On application servers, gems are usually bundled into the project directory, at a location shared across deployments. This is usually...
There are some inconvenient Gem dependencies. Resolve them by adding/modifying these lines in your Gemfile: gem 'guard-livereload', '>= 2.5.2', require...
Reminder of what you can do with Geordi. Note: If you alias Geordi to something short like g, running commands...
First find the reference for the entry you want through looking at the stash: $ git stash list stash@{0}: WIP...