paulirish.com

Cached fonts WILL caused an unstyled flash of text.

wmd-editor.com

WMD is a simple, lightweight HTML editor for blog comments, forum posts, and basic content management. You can add WMD...

When submitting textareas, browsers sometimes include carriage returns (\r) instead of just line feeds (\n) at the end of each...

makandra dev

This is an awesome gadget in your toolbox, even if your test coverage is great. gem install ruby-debug (Ruby...

This raises "Could not find first Keyword": describe Keyword do it { should validate_uniqueness_of(:text) } end Do this instead...

When deploying Rails applications you might have noticed that JS and CSS are not cached by all browsers.

regular-expressions.info

You can write regular expressions some different ways, e.g. /regex/ and %r{regex}. For examples, look here. Remember that it...

makandra dev

The following counts all the lines in all *.rb files in the app directory. Run several of these commands to...

businesswire.com

DENVER--(BUSINESS WIRE)--MPEG LA announced today that its AVC Patent Portfolio License will continue not to charge royalties for...

prototypejs.org

For example, to send a form and populate a preview div with the response. $('content_form').request({ parameters: { 'preview': "1...

In Webkit you can use the HTML5-attribute autofocus: = form.text_field :title, :autofocus => 'autofocus' Here is a jQuery fallback for...

makandra dev

This may be awkward to set up, but will work once you're done. Fun facts:

Most of these will not work in newer projects because these use the Capybara/Rack::Test combo in lieu of Webrat...

sudo gem install gettext --no-ri --no-rdoc sudo gem install fast_gettext --no-ri --no-rdoc script/plugin install git://...

makandra dev

tmp/* storage/* db/*.sqlite3 db/schema.rb db/structure.sql public/system .project .idea/ public/javascripts/all* public/stylesheets/all* public/stylesheets/*.css config/database.yml *~ *#* .#* .DS_Store webrat-*.html

Basic configuration Please keep this config simple. It should be a starting point for new developers learning Git. [user]

theexciter.com

The rubyforge gems model may not be perfect, but damnit people, when there’s a gem update I know that...

tagaholic.me

Rails’ script/console makes it easy to fetch, view and edit your database records. But can you edit those records as...

knetfeder.de

Wir sprachen mit Steffen S., Jenny R., Kamil G. und Andreas R., die blind oder mit Sehbehinderung das Internet nutzen...

alistapart.com

An example of the conundrum of transferring print documents to the web, one that has become legendary in some circles...

ignorethecode.net

Not all icons in the Finder are created equal. There are the normal file and folder icons. Then there are...

github.com

Write declarative tests using nested contexts without performance penalties. Contest is less than 100 lines of code and gets the...

github.com

Background allows you to add some context to the scenarios in a single feature. A Background is much like a...

m.onkey.org

decided to go fixtureless with Shoulda + Factory Girl. All good, except one problem. Slow as fuck tests. So here’s...