Sometimes files attain executable-flags that they do not need, e.g. when your Windows VM copies them over a Samba...
When you create e.g. a sidebar box that contains headlines and paragraphs, the final paragraph's margin in that box...
When deploying Rails applications you might have noticed that JS and CSS are not cached by all browsers.
You can write regular expressions some different ways, e.g. /regex/ and %r{regex}. For examples, look here. Remember that it...
jamesgolick / resource_controller at Github module ResourceController module Actions def index load_collection before :index response_for :index end
traits.js is a minimal, standards-compliant trait composition library for Javascript.
The following Sass will do it: hr color: #ddd background-color: #ddd border: none height: 1px
String manipulation extensions for the Underscore.js javascript library.
tinyMCE.activeEditor.getContent()
In Webkit you can use the HTML5-attribute autofocus: = form.text_field :title, :autofocus => 'autofocus' Here is a jQuery fallback for...
Create a branch: svn copy https://dev.makandra.de/svn/filepanic/trunk https://dev.makandra.de/svn/filepanic/branches/$ticketnumber_shortdesc Don't just copy the folder into your working...
Some browsers render PNG images with color profiles and other shenanigans, some don't. The cleanest way to have consistent...
Most of these will not work in newer projects because these use the Capybara/Rack::Test combo in lieu of Webrat...
With defaults, RCov doesn't work the way you how you would like it to. To create a nice test...
To parse XML-documents, I recommend the gem nokogiri. A few hints: xml = Nokogiri::XML(" foo bar ") parses an xml...
See the lemonade descriptions. Unfortunately, the gem has a few problems: it does not work with Sass2...
This is about converting Haml to ERB and not the other way round which you probably want! This process can...
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
You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...
When you include a non-existing Javascript file, you probably won't notice it during development. But with caching active...
Given a list of acceptable elements and attributes, Sanitize will remove all unacceptable HTML from a string.
Web performance expert Nicole Sullivan discusses a set of best practices in the creation of supremely fast, visually impactful web...