Sass lets you easily specify multiple selectors at once like this: .some-block &.has-hover, &:hover outline: 1px solid red...
For the initial setup or changes in the sentry reporting it might be useful to enabled reporting of sentry in...
ImageMagick has a command line tool called identify which can read image metadata: >identify -verbose DSC00136.JPG Image: DSC00136.JPG Format: JPEG...
Note: The behaviour of Spreewald's within step is as described below for version < 1.9.0; For Spreewald >= 1.9.0 it is...
Barby is a great Ruby gem to generate barcodes of all different sorts. It includes support for QR codes via...
git command line options for automating common rebasing tasks, like adding a fix to a commit that was already rebased...
The maximum version of Internet Explorer you can have depends on your version of Windows. E.g. Windows 7 users can...
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.
Looks like ActiveState is trying to market a new Ruby distribution for Enterprises: ActiveRuby Enterprise Edition is designed for businesses...
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...
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...
As web developers, we know how easy it is to end up with web page bloat. But loading a webpage...
You can easily have a JavaScript hash/object that returns a default value for unset keys/properties -- as long as you need...
A collection of code snippets which return a boolean value for a regex comparison. regexp.match?(string) # Recommended for Ruby >= 2.4...
There seems to be a nasty bug in Chrome 56 when testing with Selenium and Capybara: Slashes are not written...
To create a 10 GB file: fallocate -l 10G huge_file.dat
Adding a gem means you take over the liability towards the external code. Checklist Based on "To gem, or not...