If you get a message like this: Jan 21 13:42:38 foobar syslogd: /var/log/authlog : no such file or directory...

If you worked with a system Ruby before switching to RVM, this system Ruby will be in your way when...

Geordi now has a script that runs capistrano with all known deploy targets (i.e. staging, production...). Use with geordi capistrano...

Apache HTTP server benchmarking tool (ab) is a nice tool to test performance on sites delivered by HTTP. If the...

So you want to find out how many horizontal pixels you have available on a mobile device. This is super...

kernel.org

If you say git stash, your stashed changes will be identified with an automatically generated message: $ git stash

ruby-doc.org

If you use Tempfile and pass your own filename containing an extension, it will just be consumed by the Tempfile...

Use Socket.gethostname. So for a machine whose hostname is "happycat", it will look like this: >> Socket.gethostname => "happycat" That should work...

When calling a scope like current_power.user?(user), Consul will no longer trigger a query if the users power selects all...

The way MySQL's FULLTEXT tokenizer splits text into word tokens might not always be what you need. E.g. it...

You will get this when you are using the latest version of Rails with a recent version of Rack:

I needed a way to make my apps full screen from bash scripts. There is no super-easy way, but...

josh.github.io

li.active a:link Example output (specificity): | 0 | 2 | 2 | See also: https://www.codecaptain.io/tools/css-specificity-calculator

While you are probably using will_paginate to paginate ActiveRecord scopes, it can actually paginate plain Ruby arrays. The resulting...

rubysource.com

Let’s take a look at what you need to do to get your app ready for Rails 4.

wordoid.com

A cozy place to pick a short and catchy name for your product, company or domain.

blog.remarkablelabs.com

With the impending release of Ruby on Rails 4, it looks like a lot of developers will be updating their...

Every time you call $(...) jQuery will create a new object. Because of this, comparing two jQuery collections with == will never...

blog.teamtreehouse.com

If you wear a lot of hats in a small team, or if you feel like your projects could be...

makandra dev
css-tricks.com

Examples how to create dozens of shapes using pure CSS and a single HTML element.

elmcitycraftworks.org

I’ve worked on huge applications in Ruby and Rails before. I very much want to believe in DCI, but...

When doing a git blame, git will blame the person who added or removed white space in a line (e.g...

Microsoft Office pre-fetches hyperlinks using an internal DLL (which doesn't know about your cookies), follows all redirects and...

makandra dev
github.com

Axlsx is an incredible gem to generate "Office Open XML" spreadsheet files (XLSX). Does not break on large spreadsheets and...