If your application has forms to edit string fields, you probably want to strip the entered values (remove whitespace from beginning and end). The reason is that your users will...
...one will usually notice this until you get the weirdest bug reports (e.g. two seemingly equal records are not, or multiple records for "unique" values). Use the attached trait in...
...don't do JavaScript rendering on the client, it's best practice to put script tags at the bottom of the HTML. This way, the page can start to render...
...before scripts have been loaded and run. The caveat is that you also have to move all other script tags from your views to the bottom of the page. This...
First, go to the webinterface of your phone. Choose Software Update in the navigation on the left. Next, you have to find the current firmware version for your model in...
...the snom wiki. To do this, you have to follow the ? next to the Firmware text field to this page and then follow the link of the current firmware below...
...embedded web fonts in the past years (e.g. by copying CSS from a Font Squirrel @font-face kit), that CSS won't work in Internet Explorer 9.
...it by turning these styles... @font-face font-family: 'MyFont' src: url('myfont.eot') src: local("☺"), ('myfont.ttf') format("truetype") font-weight: normal font-style: normal ... into these: @font-face
When creating an ActiveRecord with .new, .create or create!, you cannot set the ID attribute (note: When using Machinist's .make you can). This is because even when you are...
...are always protected. These attributes are #id and #type. If you want to allow setting #id on .new, .create or create! you can include the attached module in order to...
...iconv -f UTF-16 -t UTF-8 de_neu.dic -o ~/Documents/dic/de_neu_utf8.dic In RubyMine: Go to Settings (CTRL + ALT + S) > Editor > Spelling > Dictionaries and add the folder ~/Documents/dic
top: 0; bottom: 0; /* Aligns Vertically */ left: 0; right: 0; /* Aligns Horizontally */ } /* Make sure the centered element fits into its container. If you know that's the case, you...
When you install Type 1 fonts (like makandra's corporate typeface), they won't show up in OpenOffice. OpenOffice requires some additional files to process them. Stefan Gründel found out...
There is a tool that can produce the missing files: sudo apt-get install t1lib-bin Now you can create .afm files: cd ~/.fonts type1afm *.pfb
As it's quite hard to use a screen reader when you have never done so before, I added a guide on how to visually review the spoken text instead...
...Debugging Orca's Output We can visually review everything the screen reader says by hacking together a real-time transcript of Orca's speech. To do so, run orca in...