If you have problems installing a gem and get a error collect2: error: ld returned 1 exit status it's...

You can make both mobile Chrome and mobile Safari display a native app install banner. The banner suggests that the...

makandra Curriculum

How do HTTP requests and responses look like? What are HTTP headers? What are they used for?

A common task in web applications is to add client-side JavaScript behavior to existing HTML elements.

Get an idea of the varying support for HTML/CSS/JavaScript features in different browsers like Chrome, Firefox, Internet Explorer, Edge...

When you register a delegated event using on (or the deprecated delegate / live), it is somewhat hard to manually trigger...

jQuery doesn't store information about event listeners and data values with the element itself. This information is instead stored...

github.com

Preview what your markdown would look like on Github. Helpful e.g. when writing or extending a Readme for your gem...

makandra dev
draggabilly.desandro.com

Javascript library for drag'n'drop that seems to have more options than native HTML5 drag'n'drop.

youtube.com

Great introduction to React.js and the ideas behind it.

When using jQueryUI's Sortable plugin (either directly or via Angular's ui.sortable), you might struggle testing your nice drag...

makandra dev
github.com

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

So you have placed a breakpoint somewhere and now want to dig around, but not even inspecting variables is working...

material.angularjs.org

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

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

makandra dev

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

code-experience.com

React.js is a relatively new Javascript templating engine that has two-way-bindings like AngularJS or Batman. The interesting idea...

coderwall.com

There seems to be no way to use therubyracer -v '0.11.4' and libv8 -v '3.11.8.17' on OS X Mavericks.

stackoverflow.com

You're better off using debugger-ruby_core_source: gem install debugger-ruby_core_source If you can't do...

Working with lists in Javascript is painful because the native Array class is so poorly designed. One way to reduce...

After running bundler / gem install I could not load nokogiri lately. It died with cannot load such file -- nokogiri/nokogiri.

This card shows how to upgrade a Rails 2 application from Rails 2.3.8 through every single patch level up to...

stackoverflow.com

Access the Method object Dead simple: Get the method object and ask for its owner: "foo".method(:upcase) # => #

Every time you call $(...) jQuery will create a new object. Because of this, comparing two jQuery collections with == will never...