As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...
This is how you regain disk space from OpenStack instances if you are using kvm and qcow. If your instance...
While debugging an intricate issue with failed HTTP requests I have come to appreciate the more advanced features of the...
If you need to upgrade code that uses the old jQuery methods bind, delegate, live, unbind and die, the attached...
Free Bootstrap theme resembling Material Design. Bootswatch offers Sass and Less files, so the theme can easily be integrated into...
Jasmine comes with two matchers that test for equality. The first is toBe: expect(first).toBe(second) toBe passes when...
The migration DSL now supports adding and removing foreign keys. They are dumped to schema.rb as well. At this time...
Disabling auto-complete in login forms is probably a bad idea, since it encourages weak passwords. If you are still...
Starting from 4.1, Rails automatically detects the inverse of an association, based on heuristics. Unfortunately, it does not seem to...
Datetime picker that offers: simple UI without a specific framework several of customization options allows custom date/time validations Localization happens...
Service that you can integrate for user feedback. Super-simple integration: Add a tag to your layout, done. It will then add a button to the bottom right of your application. When a user clicks it, they can take a screenshot and leave a message. The screenshot then appears in TrackDuck's interface for you to work off. Current pricing is 9 USD per month for the smallest tier (1 project).
There are times when you have a chunk of text that you want to do something with, e.g. replace something...
This guide shows how to create an AngularJS application that consumes more and more memory until, eventually, the browser process...
TL;DR Block formatting contexts establish an isolating container. float and clear only apply to elements within such a container...
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...
Rails guide that covers PostgreSQL-specific column types and usages for Active Record. You should especially keep in mind the...
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.
Angular 1.3 offers $setDirty for your ngModelController. If you are stuck on Angular 1.2, do this: model.$setViewValue(model.$viewValue...
Adobe no longer supports their PDF reader on Linux and the official page does not offer it for download. \
Clamps (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too...
One of the many useful features of TextMate is autocompletion of words. If I were in TextMate right now, I...
Rails migrations allow you to use a change method whose calls are automatically inverted for the down path. However, if...