The default behavior of Calc is that when you paste cells from the clipboard, it overwrites whatever cells occupy the...

An = is represented by =3D in the log file. I got confused by the leading 3D which is not part...

Geordi, our collection of command line tools, has been extended by another command deploy-to-production. This script encapsulates the...

You can define what will be printed by checking View -> Preview Page Breaks and then moving around the blue borders...

After installing Bundler 1.1 you will get the following warning when running tests: WARNING: Cucumber-rails required outside of env.rb...

weblog.jamisbuck.org

How to get a backtrace from a running Ruby process: Ruby 2.6 # First, find out the PID of your Ruby...

When talking to your MySQL server via a mysql shell, you can terminate queries by ; or \G -- the latter gives...

The following two hints are taken from Github's Ruby style guide: If your regular expression mentions a lot of...

teddevito.com

This is a demo of the "Tabby" Javascript jQuery plugin to use tabs in regular textareas to make them suitable...

stackoverflow.com

Usually you don't need to, but when you want to see which queries your MySQL server currently needs to...

Capybara has a global option (Capybara.ignore_hidden_elements) that determines whether Capybara sees or ignores hidden elements.

stackoverflow.com

In some older Capybara versions (e.g. 0.3.9), we're getting lots of deprecations warnings: Selenium::WebDriver::Element#select is deprecated...

When you regularly make use of Cucumber's "show me the page" step (or let pages pop up as errors...

I followed this nice guide Connecting to MSSQL with Ruby on Ubuntu - lambie.org until I ran in the following errors...

This is one possibility to do this. There are other and maybe even better ways to do this.

makandra dev

When you do a script/dbconsole -p, your MySQL shell will already be using UTF-8. When you call it yourself...

icelab.com.au

We love Markdown. We use it wherever we can for text formatting. In a web app, the obvious place for...

slate.com

Nice article to educate your non-geek girlfriend/boyfriend about the joys of programming.

github.com

Pour color on your Rails console with awesome_print. Turn confusing long strings into formatted output. Have objects and classes...

Install libreadline: sudo apt-get install libreadline-dev Reinstall the ruby and tell rvm where to find readline

intridea.com

This article shows how to create a Sass mixin for a colored button. The button's foreground color is dynamically...

If you want to know your public key's fingerprint, do this: ssh-keygen -lf ~/.ssh/my.key.pub This may be necessary...

Your current ruby must be Ruby Enterprise. gem install passenger passenger-install-apache2-module Edit your httpd.conf according to the...

Let's say you have two XML strings that are ordered differently but you don't care about the order...