Say you want to allow users to emphasize some string, but the whole markdown thing would be far too much...
Spreewald's patiently repeats the given block again and again until it either passes or times out.
When a controller action redirects to an external URL (like http://somehost.com/some/path) you will find that this is hard...
Rails understands a :limit options when you create columns in a migration. Its meaning depends on the column type, and...
If you need to capture signatures on an IPad or similar device, you can use Thomas J Bradley's excellent...
UnicodeUtils implements Unicode algorithms for case conversion, normalization, text segmentation and more in pure Ruby code.
Ruby has two different ways to match the start and the end of a text: ^ (Start of line) and $ (End...
Behave.js is a lightweight library for adding IDE style behaviors to plain text areas, making it much more enjoyable to...
Awesome color schemes for RubyMine, Sublime Text 2 and other editors. To install the themes into your Rubymine, copy intellij...
The way MySQL's FULLTEXT tokenizer splits text into word tokens might not always be what you need. E.g. it...
Microsoft Office pre-fetches hyperlinks using an internal DLL (which doesn't know about your cookies), follows all redirects and...
Mark window as "demands attention" Install wmctrl through your package manager, i.e. sudo apt-get install wmctrl Download the attached...
When searching for text in a MySQL table, you have two choices: The LIKE operator FULLTEXT indexes (which currently only...
If - for whatever reason - you have to render stylesheets dynamically, the following snippet might be of help. It emulates what...
For two years we've been using SearchableTrait which gives models the ability to process Googlesque queries like this: Contact.search...
Selenium cannot reliably control a browser when its window is not in focus, or when you accidentally interact with the...
When you want to copy/move from a shared folder (on Windows guests, for example) and it fails with absurd error...
Having your site run on SSL is worthless when you include content over an unsafe connection (HTTP).
If you're using the Capybara webdriver, steps sometimes fail because the browser hasn't finished loading the next page...
Haml 3.1.2 displays single quotes in FormBuilder#text_ field html escaped. You may see something like that:
If your application has forms to edit string fields, you probably want to strip the entered values (remove whitespace from...
The linked slidedeck holds many tips, of which I list the most interesting to me below DATA and END
The __END__ keyword tells Ruby where a file ends – but you don't have to stop there. Any text you...
There is no reason to leave trailing whitespace characters in your project's files, so don't add any.