Upgade to LibreOffice 3.5.3+ or disable hardware accelleration in Tools → Options → LibreOffice → View → Graphic output.
To have your text input field pre-filled in with some text that disappears as soon as the user selects...
Consider this HTML: Click me! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe!
If you're suffering from a huge de.yml or similiar file, cry no more. Rails lets you freely organize your...
If you have a file that looks like a precompilation fingerprint, the Rails asset pipeline will not see it. So...
When using the asset pipeline your assets (images, javascripts, stylesheets, fonts) live in folders inside app: app/assets/fonts app/assets/images...
Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...
Embedding bitmap images within PDF sometimes results in large files because the bitmaps are not compressed. If you don't...
%p #{link_to "label", "url"}! Haml is a great engine for writing shorter, readable HTML. However, there is...
When requests arrive at the application servers simultaneously, weird things can happen. Sometimes, this can also happen if a user...
Say you want to vertically align a div box inside a div container. This is how you do it:
DTAUS & DTAZV are formats for German bank transfers and is short for "Datenträgeraustausch". The format itself totally sucks because it...
The result is a .ico file with multiple versions of your logo at different resolutions. Now, depending on the context...
Spreewald gives you steps like these: When I enter "text" into the browser dialog Also see Accept or deny JavaScript...
You can use this code: function scrollToLine($textarea, lineNumber) { var lineHeight = parseInt($textarea.css('line-height')); $textarea.scrollTop(lineNumber * lineHeight); }
By default, Google Analytics tracks the current URL for every request. Sometimes you will want to track another URL instead...
In your ~/.gitconfig: [core] editor=nano
xterm by default uses black text on white background. To change that to something like "light gray on black", do...
You can define what will be printed by checking View -> Preview Page Breaks and then moving around the blue borders...
How to get a backtrace from a running Ruby process: Ruby 2.6 # First, find out the PID of your Ruby...
Solution to share a todo.txt file over Dropbox and make it editable on Android und iOS devices. Also comes with...
TL;DR {} binds stronger than do … end (as always in Ruby, special characters bind stronger than words) Demo
The following two hints are taken from Github's Ruby style guide: If your regular expression mentions a lot of...
This is a demo of the "Tabby" Javascript jQuery plugin to use tabs in regular textareas to make them suitable...