When you have an Angular directive that transcludes content, you might want to do something in case there is no...
Directly from the MySql docs: There are three likely causes for this error message. Usually it indicates network connectivity trouble...
Great gem to consume RSS feeds. I was missing some features on Ruby's RSS::Parser that I found in...
You know each_with_index from arrays: ['hello', 'universe'].each_with_index do |value, index| puts "#{index}: #{value}" end
So you erased a whole day's work? There is hope! The linked article tells how to recover from an...
In Cucumber, scenario outlines help avoiding tests that are basically the same, except for a few variables (such as different...
So you have placed a breakpoint somewhere and now want to dig around, but not even inspecting variables is working...
Open a MySQL root shell and use this command: PURGE BINARY LOGS BEFORE DATE(NOW() - INTERVAL 3 DAY) + INTERVAL 0...
Amazing guide how to divide a ball of Javascript spaghetti distinct separate layers (model, view, controller, backend adapter).
Previously the assets group existed to avoid unintended compilation-on-demand in production. As Rails 4 doesn't behave like...
While RSpec 1 and 2 decided that specs inside spec/model are model specs, and those inside spec/features are feature specs...
Run this command to list the authors of the most recent commit of each branch: git for-each-ref --format...
When you don't only have a favicon.ico in your project but also PNGs of different sizes and backgrounds, you...
Spreewald 1.1.0 drops the be_true and be_false matchers in order to be RSpec 3 and Ruby 2 compatible...
When making cross-domain AJAX requests with jQuery (using CORS or xdomain or similar), you will run into issues with...
Safari on iOS accepts an apple-touch-icon favicon that is used for stuff like desktop bookmarks. Always define a...
Code snippet tested with Rails 2.3 def index # ... if request.xhr? html = render_to_string(:partial => "list", :layout => false) respond_to...
Automagically makes XHR requests work cross-domain by tunneling all communications through an IFRAME on your page.
Spreewald now has a spreewald binary that lists all available steps, optionally filtering them. Example: $> spreewald # All Spreewald steps
The debugger gem does not seem to be properly working on Ruby 2. Use byebug instead! Byebug is a simple...
Be careful to name any file @imported by SASS with a leading underscore. SASS files not beginning with an underscore...
The attached RSpec matcher allows for comfortably testing delegation. Examples describe Post do it { should delegate(:name).to(:author).with...
The material design project for Angular is a complementary effort to the Polymer project's paper elements collection. Our goal...
Skype has been updated to 4.3 on Linux. This fixes group chat issues with non-linux clients.