github.com

the best damn presentation software a developer could ever love

github.com

jamesgolick / resource_controller at Github module ResourceController module Actions def index load_collection before :index response_for :index end

popthis is awesome when used with inaction_mailer. Setup inaction_mailer Install the gem: sudo gem install popthis

The Git stash does not work like a one-slot clipboard and you might shoot yourself in the foot if...

makandra dev

To pause and send a task to the background ctrl+z to reactivate the task fg to run task in...

wiki.github.com

The following example is from the Cucumber wiki: Given a blog post named "Random" with Markdown body """ Some Title, Eh...

Use the attached initializer to do stuff like this str = "abc" str.imbue(:foo => 'foo value', :bar => 'bar value')

Capybara does not play nice with sites that have some actions protected by SSL, some not. A popular way to...

makandra dev
github.com

Our awesome collection of rspec helpers (formerly known as "spec_candy.rb") is now available as a gem. It works, it is...

makandra dev

Show all sockets (Unix & TCP/UDP), both listening and established ones: netstat -anp To limit the output e.g. to listening TCP...

traitsjs.org

traits.js is a minimal, standards-compliant trait composition library for Javascript.

This is called "cherry-picking". git cherry-pick commit-sha1 Note that since branches are nothing but commit pointers, cherry...

To delete a local branch git branch -d the_local_branch To remove a remote branch (if you know what...

gnuu.org

YARD 0.6 adds the ability to serve documentation for gems as well as the current project with yard server. Just...

The following Sass will do it: hr color: #ddd background-color: #ddd border: none height: 1px

makandra dev
ruportbook.com

Ruport’s acts_as_reportable module provides support for using ActiveRecord for data collection. You can use it to get...

When doing a query like this: SELECT id FROM users WHERE (users.id IN (899,1084,1095,100,2424,2429,2420...

github.com

Try our Apify gem which solves many problems you will be having.

github.com

An alternative to this technique is using VCR. VCR allows you to record and replay real HTTP responses, saving you...

github.com

PaintbrushJS is a lightweight, browser-based image processing library that can apply various visual filters to images within a web...

businesswire.com

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

bitbucket.org

String manipulation extensions for the Underscore.js javascript library.

This method is defined automatically and only given for boolean attributes create_table "users", :force => true do |t| t.boolean "email...

validates_attachment_content_type :image, :content_type => /^image\/(jpg|jpeg|pjpeg|png|x-png|gif)$/, :message => 'file type is not...