cssmatic.com

CSSmatic lets you play around with four rather complex CSS stylings and gives you CSS or SASS code to use...

Do not pass times to date attributes. Always convert times to dates when your application uses time zones. Background

makandra dev

JavaScripts and CSS should be minified for production use. In Rails 3.1+ the asset pipeline will take care of this...

If others on a call (Skype, SIP, ...) can not hear you loud enough, your volume levels are probably too low...

So you're using multiple remotes that offer the same branch? $ git branch -a | grep my-branch remotes/something/my-branch remotes/origin/my-branch

makandra dev
github.com

Stringex is a gem that offers some extensions to Ruby's String class. Ruby 1.9 compatible, and knows its way...

makandra dev
github.com

UnicodeUtils implements Unicode algorithms for case conversion, normalization, text segmentation and more in pure Ruby code.

RVM needs to be updated regularly to know of Ruby versions released since installation (or last update).

There is a bug in ActiveRecord 2.3.x that leads to changes in nested forms getting lost. class Project < ActiveRecord...

makandra dev
aws.amazon.com

Amazon Elastic Transcoder is video transcoding in the cloud. It is designed to be a highly scalable, easy to use...

prismjs.com

Prism is a new lightweight, extensible syntax highlighter, built with modern web standards in mind. It’s a spin-off...

When you are using git rebase and are currently editing a commit (due to a conflict, for example), you may...

makandra dev

The bash offers control over the behavior of autocompletion. The most primitive example is this (just run it in your...

makandra dev
httpd.apache.org

Debugging .htaccess is hell, and RewriteRules in particular if they are not working as expected. But fear not! RewriteLog will...

You know that you can force absolute URLs throughout a response. Now you want to modify URLs similarly, but only...

ActiveRecord has a feature called counter caching where the containing record in a has_many relationship caches the...

ebobby.org

A technique to vastly reduce the number of join model records that need to be stored in the database.

Under certain (unknown) circumstances, Rails will give localized files an invalid content-type in the Response header. For me, after...

Around will not happen until after a feature's Background has been processed. Use Before and After to avoid that...

blog.codeclimate.com

“Fat models” cause maintenance issues in large apps. Only incrementally better than cluttering controllers with domain logic, they usually represent...

There is no reason to leave trailing whitespace characters in your project's files, so don't add any.

If you have an html_safe string, you won't be able to call gsub with a block and match...

Every now and then, Java is subject to security issues where code can break out of Java's sandbox and...

In a nutshell: Use git rebase --onto target-branch source-commit target-branch means "branch you want to be based...