Here is a symbol of an eight note: ♪ Its two-byte hex representation is 0x266A. This card describes how to...
By convention, common protocols use a defined port, like 80 for HTTP or 443 for HTTPS. You can use nmap...
When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...
This service gives you a kind-of standard color name for any hex code. This is useful if you want...
The default Google Analytics might not work as expected with your Unpoly app. This is because your app only has...
You can define methods using def or define_method. In the real world, there is no performance difference.
Apparently you can pash a second scope to a hash-condition and the whole thing will be evaluated as a...
The Codeless Code is a charming series of stories about monks and nuns at a programming monastery. Some stories to...
This is quite an edge case, and appears like a bug in Rails (4.2.6) to me. Update: This is now...
Note: This applies to plain Ruby scripts, Rails does not have this issue. When you work with Ruby strings, those...
If you have made any changes to a libvirt xml config file you have to reload is. One way is...
Reading user input in console applications is usually done using Kernel#gets. Stubbing that can be a bit hairy.
When testing Ruby code that prints something to the terminal, you can test that output. Since RSpec 3.0 there is...
to create a Gallery that has a name and has_many :images, which in turn have a...
Sometimes you want to preload images that you will be using later. E.g. if hovering over a an area changes...
Edit /etc/default/bind9 and change OPTIONS="-u bind" to OPTIONS="-u bind -d 50 -g" Restart BIND and you'll see...
Many of our developers love to use the "awesome" window manager on Linux. However, RubyMine dialogs occasionally defocus while typing...
Since jQuery 3 saw it's first release candidate today, the links has a list of (breaking) changes.
brandcolors.net provides you with the colors of the world's biggest brands, easily searchable.
When you run rake db:rollback and nothing happens, you are probably missing the latest migration file (or have not...
When you paste copied code with CTRL+V, RubyMine will change the indentation of the pasted code. You can prevent...
ActiveRecord offers an explain method similar to using EXPLAIN SQL statements on the database. However, this approach will explain all...
Helix allows you to implement performance-critical code of your Ruby app in Rust, without requiring glue code to bridge...
When building a form with a file select field, you may want to offer your users a live preview before...