If you are using PDFKit / wkhtmltopdf, you might as well want to use custom fonts in your stylesheets. Usually this...
While the hardware mute button of my Lenovo x230 worked on Ubuntu 14.04 out of the box, it does not...
The linked documentation explains how to get a JSON list of the latest 100 events of a given issue. Simply...
There are several gems that make it easy to read and process xlsx files. Parsing the entire file at once...
You need to disable "Bluetooth low energy", then follow these core steps: Make sure the headphones are in pairing mode...
Here is some JavaScript code that allows you to click the screen and get the clicked element's text contents...
Use return to return from a method. return accepts a value that will be the return value of the...
I frequently find myself needing a combination of group_by, count and sort for quick statistics. Here's a method...
You can use local copies of gems in your Gemfile like this: gem 'spreewald', path: '~/gems/spreewald' As soon as you...
rack-cargo gives your API a new /batch route that lets clients perform multiple API calls with a single request...
Use Traim to build a RESTful API for your ActiveRecord models with very little code. Traim assumes your API resources...
Sometimes you add Paperclip image styles, sometimes you remove some. In order to only keep the files you actually need...
Capybara clears cookies before each scenario, but not other client-side data stores. If your app is using localStorage or...
You can configure a Ubuntu system as a gateway in order to share it's internet connection (maybe via WLAN...
Webpack is the future. We're using it in our latest Rails applications. For tests, we want to compile assets...
Rails default config uses the ActiveSupport::Cache::NullStore and disables controller caching for all environments except production: config.action_controller.perform_caching = false...
Nowadays it is fairly easy to intercept and modify mails globally before they are sent. All you have to do...
These tools help you in checking websites globally: DNS Checker This tool allows for global DNS propagation checking. GeoScreenshot
This is useful if, for example, you want to use a background-image that has to scale with the width...
Typhoeus has a different way of representing array params in a get request than RestClient. Typhoeus: http://example.com/?foo[0]=1&foo[1]=2&foo[2]=3
By default Middleman generates files with a .html extension. Because of this all your URLs end in /foo.html instead of...
Middleman is a static page generator that brings many of the goodies that Rails developers are used to.
Sometimes, through some firewall or proxy misconfiguration, you might have to deploy to a server that cannot access the git...
Assuming you're wanting to undo the effects of git rm or rm followed by git add -A or something...