geordi delete_dumps [directory] Recursively search for files ending in *.dump and offer to delete those. When no...
MySQL and MariaDB have an SQL mode setting which changes how MySQL behaves. The SQL mode value is comprised of...
On your local system that only hosts non-critical development data and only you have access to, you can store...
Running rails server will start a local server that you can access via http://localhost:3000. When you are working...
With passenger-status --show=requests you can get a huge JSON showing current information about the running passenger processes.
Note netstat has mostly been superseeded by its more modern rewrite ss which nowadays comes pre-installed rather than netstat...
Say you want to move a git repository from one remote (perhaps Github) to another (perhaps Gitlab).
By default, browsers will not wrap text at syllable boundaries. Text is wrapped at word boundaries only. This card explains...
HTTPie consists of a single http command designed for painless debugging and interaction with HTTP servers, RESTful APIs, and web...
Git has two kind of tags: annotated lightweight Annotated tags are stored as full objects in the Git database. They...
In most projects I know, Cucumber test suite speed is not an issue. Of course, running 350 features takes its...
If you are using PDFKit / wkhtmltopdf, you might as well want to use custom fonts in your stylesheets. Usually this...
RSpec allows defining methods inside describe/context blocks which will only exist inside them. However, classes (or any constants, for that...
Let's say you have a form that you render a few times but you would like to customize your...
You can use local copies of gems in your Gemfile like this: gem 'spreewald', path: '~/gems/spreewald' As soon as you...
Rails supports time zones, but there are several pitfalls. Most importantly because Time.now and Time.current are completely different things and...
Middleman is a static page generator that brings many of the goodies that Rails developers are used to.
RubyMine provides a visual tool for resolving merge conflicts locally. Follow Git > Resolve Conflicts in the context menu to open...
The parallel-gem is quite easy to use and can speed up rendering time if you want to render the...
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.
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...
Below is a list of some VIM settings I find useful. You can add them to your .vimrc. source $VIMRUNTIME/mswin.vim...
So you're getting this failure when running bundle install on an older project: Your Gemfile.lock is corrupt. The following...