In Rails, you can very easily send emails with HTML and plaintext bodies. However, if you're trying to debug...
The flip-flop operator is a hotly contested feature of Ruby. It's still struggling to find an idiomatic use...
We will be installing rbenv and ruby-build from our own fork, not from the Ubuntu sources. Installing rbenv
# config/initializers/sidekiq.rb # Perform Sidekiq jobs immediately in development, # so you don't have to run a separate process.
For server-to-server requests to the Facebook Graph API you can skip requesting an Oauth token, an...
Getting rid of your old LibreOffice Remove your old LibreOffice: sudo apt-get remove libreoffice* You probably also want to...
By default git diff highlights whole lines as changes. To diff on a word-by-word basis you can say...
List flavors to show the ID and name, the amount of memory, the amount of disk space for the root...
How you can unknowingly screw your client's business when all you think about is closing the next user story...
Let's say you have two screens: Show a given project Show a report for all projects Ideally you want...
Sometimes you need complex expectations on method arguments like this SomeApi.should_receive(:find).with(:query => '*foo*', :sort => 'timestamp ASC', :limit...
PDFKit converts a web page to a PDF document. It uses a Webkit engine under the hood...
If you want to move an element inside an array, neither JavaScript/ES6+ nor libraries like LoDash offet that natively.
When using jQueryUI's Sortable plugin (either directly or via Angular's ui.sortable), you might struggle testing your nice drag...
curl http://ipecho.net/plain; echo
Styling HTML email is painful. Tables, inline CSS, unsupported CSS, desktop clients, web clients, mobile clients, various devices, various providers...
Yesterday, Rails fixed a security issue (CVE-2014-3514) in Rails 4+. It was possible to use .where...
Microsoft Exchange service administrators can enable Exchange Web Services (EWS) which is a rather accessible XML API for interacting with...
Restmod creates objects that you can use from within Angular to interact with your RESTful API.
require 'net/http' module Cheat extend self # the magic ingredient def host @host ||= 'http://cheat.errtheblog.com/' end def http @http ||= Net...
edge_rider is Power tools for ActiveRecord relations (scopes). Please note that some of the functions edge_rider provides have...
Due to network or hardware failures, it can happen that one of your cronjobs will not run at the time...
See the solution on Ask Different (same answer found here).
Customizable font for programming.