Large projects usually have large test suites that can run for a long time. This can be annoying as running...
How can a client blame you for a cab driver’s mistake? How can a conference organizer hold you accountable...
CSS (+ some Javascript) framework, implementing Google's material design for static web pages. Can be used for plain websites without...
In most of our applications, users have their first and last name stored in separate columns. However, specifying them separately...
Disabling auto-complete in login forms is probably a bad idea, since it encourages weak passwords. If you are still...
SmartUnderline is an open-source JavaScript library which uses clever tricks to draw underlines in a more beautiful and readable...
If you need to follow links, click buttons, etc. using Capybara inside an , you can do it like this:
In my RubyMine I have recorded two macros for debugging and linked them to some keyboard shortcuts. Since I believe...
Today I ran into this: Invalid gemspec in [/usr/local/rvm/gems/ruby-1.9.3-p194/specifications/ZenTest-4.9.3.gemspec]: Illformed requirement ["< 2.1, >= 1.8"]. You need a newer Rubygems version. Try...
Insanely detailled guide about controlling copy & paste behavior using web technology in 2015. Note that you can now trigger a...
Small web application where you can upload an image (PNG, JPEG, GIF) and generate a base64-encoded version of it...
Rails comes with grouped_collection_select that appears to be useful, but isn't. As an alternative, consider the flat...
If you're supporting IE9+, you can listen to input to see if a text field changes. Other than change...
When working with ActiveType you will often find it useful to cast an ActiveRecord instance to its extended ActiveType::Record...
Note: ActiveRecord::Base#becomes has a lot of quirks and inconsistent behavior. You probably want to use ActiveType.cast instead.
There is no such thing as a "default order" of rows in database tables. For instance, when you paginate a...
HTTP/2 will make our applications faster, simpler, and more robust—a rare combination—by allowing us to undo many of...
Surprisingly exhaustive new icon set by Google. Available as PNG, SVG and as a icon font. Comment from Henning
Since version 2.6 exception notifier distinguishes between foreground and background sections. The reason is that with background jobs (e.g. methods...
ActiveModel supplies an errors object that behaves similar to a Hash. It can be used to add errors to a...
Note: Making a reverse proxy with nginx is much more straightforward. A reverse proxy is a "man in the middle...
When you register a delegated event using on (or the deprecated delegate / live), it is somewhat hard to manually trigger...
All major browsers (IE8+, FF3.5+, Safari 4+, any Chrome) support sessionStorage, a JavaScript storage object that survives page reloads and...
sslscan is a nice tool to show details about TLS/SSL connections: ~> sslscan some-host-at.makandra.de Testing SSL server some-host-at.makandra.de on port 443...