It's like a GUI for the famous git add [-p]. Select files with the up/down-keys and hit
TL;DR Block formatting contexts establish an isolating container. float and clear only apply to elements within such a container...
The CSS property z-index is not as global as you might think. Actually, it is scoped to a so...
If your angular app is not served on /, but on a different url (say /admin), links generated with ui-router...
Preview what your markdown would look like on Github. Helpful e.g. when writing or extending a Readme for your gem...
If you're getting this strange error message when setting debugging breakpoints, probably HAML is the culprit. Cause
SVG files are often much larger than necessary, containing comments, metadata, hidden elements etc. Optimize them with this tool.
Using uncountable resources is not recommended as it breaks Rails' magic, e.g. when using form_for. You'll always be...
Add gem 'database_cleaner' to your Gemfile. Then: Cucumber & Rails 3+ # features/support/database_cleaner.rb DatabaseCleaner.clean_with(:deletion) # clean once, now DatabaseCleaner.strategy = :transaction...
Some insight into how browser rendering engines work. The article shows how the way you manipulate styles (and the DOM...
Sequel is an awesome ORM such as ActiveRecord. The linked article describes how easily you can implement and use materialized...
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...
When testing code that uses pushState / replaceState, your browser will appear to navigate away from http://localhost:3000/specs (or wherever...
This jasmine plugin helps with testing DOM manipulation in two ways: It gives you DOM-related matchers like toBeVisible() or...
The condition for an if statement has to resolve to a boolean true/false value. However, all facts are strings, and...
Angular 1.3+ has an alternative getter/setter pattern: You can bind ng-model to an accessor function. This is a function...
JavaScript objects can have getter and setter functions that are called when a property is read from or written to...
This is a problem when using Selenium with Firefox. We recommend using ChromeDriver for your Selenium tests. This setup allows...
Capybara-screenshot can automatically save screenshots and the HTML for failed Capybara tests in Cucumber, RSpec or Minitest. Requires Capybara...
Rails includes a way to see what an e-mail will look like. Integration to RSpec All you need to...
When you have an ngRepeat directive that uses track by, be sure to move the track by instructions to the...
Interesting approach to caching responses directly in the HTTP server, based on the value of an individual cookie.
A set of javascript tools for working with files. It offers different kinds of things: A cross-browser JS API...