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

makandra dev
github.com

edge_rider is Power tools for ActiveRecord relations (scopes). Please note that some of the functions edge_rider provides have...

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

zerosixthree.se

See attached link. The gist is: .element { position: relative; top: 50%; transform: translateY(-50%); } Works in all web browsers and...

dev.mysql.com

Directly from the MySql docs: There are three likely causes for this error message. Usually it indicates network connectivity trouble...

makandra dev
feedjira.com

Great gem to consume RSS feeds. I was missing some features on Ruby's RSS::Parser that I found in...

In Cucumber, scenario outlines help avoiding tests that are basically the same, except for a few variables (such as different...

blog.arkency.com

Amazing guide how to divide a ball of Javascript spaghetti distinct separate layers (model, view, controller, backend adapter).

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...

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...

material.angularjs.org

The material design project for Angular is a complementary effort to the Polymer project's paper elements collection. Our goal...

The adjust-hue function of Sass allows you to change a color's hue, but only relative to its current...

makandra dev
linux.die.net

When connecting to multiple (i.e. > 4) servers to dive into logfiles or do security updates, terminator is what you want...

plugins.jquery.com

SudoSlider is a simple yet powerful content slider that makes no (or very few) assumptions about your markup and is...

So you're getting an error message like the following, although your Gemfile lists shoulda-matchers and it has always...

When you cannot make Selenium trigger events you rely on (e.g. a "change" event when filling in a form field...

You need this awkward command: page.driver.browser.action.move_to(page.find(selector).native).perform Note that there are better ways for newer Capybaras...

github.com

Using this gem, whenever a Capybara test in Cucumber, Rspec or Minitest fails, the HTML for the failed page and...

Travis CI is a free continuous integration testing service. However, it is really fragile and will break more than it...

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

ActiveRecord caches results of SQL queries. If you want to discard the cached results for one model, you can call...

SimpleForm is a great approach to simplifying your forms, and it comes with lots of well-defined input types. However...