Modern browsers natively suppport file pickers that allow the user to choose multiple files at once. To activate this feature...
Create beautiful Javascript charts with one line of Ruby. Promising chart library for easily rendering charts with Google Charts.
There are different ways to run rake: On Rails 4.1+ projects, you have Spring and its binstubs which dramatically improve...
When your system is not running on English, you may sometimes want to run some applications and not use your...
In Rails, you can very easily send emails with HTML and plaintext bodies. However, if you're trying to debug...
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...
PDFKit converts a web page to a PDF document. It uses a Webkit engine under the hood...
curl http://ipecho.net/plain; echo
Microsoft Exchange service administrators can enable Exchange Web Services (EWS) which is a rather accessible XML API for interacting with...
See attached link. The gist is: .element { position: relative; top: 50%; transform: translateY(-50%); } Works in all web browsers and...
Directly from the MySql docs: There are three likely causes for this error message. Usually it indicates network connectivity trouble...
So you have placed a breakpoint somewhere and now want to dig around, but not even inspecting variables is working...
Open a MySQL root shell and use this command: PURGE BINARY LOGS BEFORE DATE(NOW() - INTERVAL 3 DAY) + INTERVAL 0...
Run this command to list the authors of the most recent commit of each branch: git for-each-ref --format...
When making cross-domain AJAX requests with jQuery (using CORS or xdomain or similar), you will run into issues with...
Safari on iOS accepts an apple-touch-icon favicon that is used for stuff like desktop bookmarks. Always define a...
Like Railscasts or Ruby Tapas, but for Linux.
Skype has been updated to 4.3 on Linux. This fixes group chat issues with non-linux clients.
When connecting to multiple (i.e. > 4) servers to dive into logfiles or do security updates, terminator is what you want...
If your requests blow up in Ruby or CURL, the server you're connecting to might only support requests with...
In whenever you can schedule Ruby code directly like so: every 1.day, :at => '4:30 am' do runner "MyModel.task_to...
If you have some file or directory that should trigger a Spring reboot, tell Spring e.g. in config/spring.rb: Spring.watch 'file.rb...