SVG files are often much larger than necessary, containing comments, metadata, hidden elements etc. Optimize them with this tool.
Geordi 1.0 features a command line application geordi, that holds most of Geordi's previous commands. New features
When a gem author releases a new version to Rubygems, usually a tag with the version number (e.g. v1.2.0) is...
Jonas Nicklas, the author of Carrierwave and Capybara, has released Refile, a gem for handling file uploads in Rails. It...
Want to find that repo you've starred some time ago again? Here's where to search for it.
Just run git show branch:file. Examples: git show HEAD~:bin/command git show origin/master:../lib/version.rb
Here is a Javascript function reloadUsers() that fetches a HTML snippet from the server using AJAX and replaces the current...
JavaScript objects can have getter and setter functions that are called when a property is read from or written to...
Capybara-screenshot can automatically save screenshots and the HTML for failed Capybara tests in Cucumber, RSpec or Minitest. Requires Capybara...
jQuery comes with .animate() that lets you transition some CSS selectors: function floatIn($element) { $element.css({ 'opacity': 0, 'margin-top': 200px...
capybara_element['attribute_name'] allows accessing an element's attributes in Capybara. A few examples: find('#my_element')['class']
RSpec::Matchers.define :be_naturally_sorted do match do |array| array == array.natural_sort end end See RSpec: Where to put custom...
This step will pass if the specified select is sorted. Then /^the "(.*?)" select should be sorted$/ do |label, negate|
A set of javascript tools for working with files. It offers different kinds of things: A cross-browser JS API...
Today in computer: In Coffeescript, on and yes are aliases for true. off and no are aliases for false.
It might happen that your Sidekiq queue gets stuck, hanging at 0% CPU load. When we inspected the process using...
If you have trouble updating something on FreeBSD you should always take a look in the UPDATING file.
The Angular 1.2 way: # By default, angular returns undefined for invalid attributes which removes # the value from the form field...
When using git diff, you might encounter weird characters where umlauts (or any other UTF-8) characters should be. It...
Option 0: Download from the official page (preferred) Open https://googlechromelabs.github.io/chrome-for-testing/ In Section "Stable" > chromedriver / linux64 > Download ZIP from...
An amped-up alternative to Turbolinks that differs in points like this: It's opt-in instead of opt-out...
Using this gem I could get JSON generation from a large, nested Ruby hash down from 200ms to 2ms.
Javascript library for drag'n'drop that seems to have more options than native HTML5 drag'n'drop.
Firefox 5.0.1, which we were using for most Rails 2.3 projects, does not run on Ubuntu 14.04 any more. Here...