Since we are using LoDash instead of UnderscoreJS in recent/current projects, you should keep in mind that their syntax is...

Modern browsers natively suppport file pickers that allow the user to choose multiple files at once. To activate this feature...

ruby.about.com

The flip-flop operator is a hotly contested feature of Ruby. It's still struggling to find an idiomatic use...

# config/initializers/sidekiq.rb # Perform Sidekiq jobs immediately in development, # so you don't have to run a separate process.

Though nowhere to be found in the official docs, this works just fine. describe Facebook::Post do it_behaves_like...

Yesterday, Rails fixed a security issue (CVE-2014-3514) in Rails 4+. It was possible to use .where...

Microsoft Exchange service administrators can enable Exchange Web Services (EWS) which is a rather accessible XML API for interacting with...

support.skype.com

Unfortunately, the hidden emoticons are some of the most expressive and useful ones. Hidden codes (skype) (ss) (call) (talk)

Due to network or hardware failures, it can happen that one of your cronjobs will not run at the time...

makandra dev
input.fontbureau.com

Customizable font for programming.

When you don't only have a favicon.ico in your project but also PNGs of different sizes and backgrounds, you...

Code snippet tested with Rails 2.3 def index # ... if request.xhr? html = render_to_string(:partial => "list", :layout => false) respond_to...

If your requests blow up in Ruby or CURL, the server you're connecting to might only support requests with...

In whenever you can schedule Ruby code directly like so: every 1.day, :at => '4:30 am' do runner "MyModel.task_to...

RSpec 3.0 deprecates the :should way of writing specs for expecting things to happen. However, if you have tests you...

When you have a string containing umlauts which don't behave as expected (are not matched with a regexp, can...

So you want your Ruby script to install missing gems instead of dying? Take this method: def installing_missing_gems...

makandra dev

When you want the table headers to always stay around (e.g. because that table is huuuge), use the code below...

If you come across an (older) application that is using Prototype instead of jQuery, you may often see events bound...

medium.com

Article about implementing authentication (current_user) and authorization (access rights) in AngularJS. Has an surprising amount of practical and understandable...

Development environment setup Rails Composer Basically a comprehensive Rails Template. Prepares your development environment and lets you select web server...

makandra dev

rake stats # => LOC per controllers, models, helpers; code ratios, and more rake notes # => collects TODO, FIXME and...

css-tricks.com

Crazy hack. Might be useful one day. The code required has since been extracted into a library.

extensions.libreoffice.org

Colorizes code in LibreOffice Writer. Note that you need to create a paragraph style _code for this to work.