There are cases when you need to select DOM elements without jQuery, such as: when jQuery is not available

makandra dev
github.com

Remove some old binaries (commands still exist in geordi) and mark others as deprecated Rewrite deploy command to support...

If you have many connections to your MySQL or MariaDB (as we have) you might want to filter the list...

The nokogiri gem provides different packages for several platforms. Each platform-specific variant ships pre-built binaries of libxml2, e.g...

github.com

We will use this for new Angular code. Consider the guide in "beta". Things will still refine, but the general...

github.com

When using Sidekiq in your application, you must write thread-safe code. This wiki page also lists gems that are...

I recommend to go straight to 2.1.5+ without intermediate steps. Otherwhise you burden yourself with unnecessary work of encoding problems...

Ruby has the class Proc which encapsulates a "block of code". There are 2 "flavors" of Procs: Those with "block...

makandra dev
stackoverflow.com

When there's a Gemfile.lock in your working directory that you cannot remove by either checkout, reset [--hard], stash, probably...

makandra dev
addyosmani.com

MutationObserver provides developers a way to react to changes in a DOM. Any: insertion, deletion, attribute change – anything. Quickstart: https://...

With "attaching an event handler once" you possibly mean one of these two things: Register a function for an event...

makandra dev
stackoverflow.com

git rebase -i -> mark your commit with edit git reset HEAD~ (remove the marked commit, but keep its...

When you make a simple TCP connection to a remote server (like telnet), your client won't normally notice when...

If you have jQuery code like this: if (condition) { $element.show(); } else { $element.hide(); } ... you can shorten this to: $element.toggle(condition);

makandra dev

Redactor is yet another WYSIWYG editor. It definitely has its weak points, but I want to point out that it...

Rails 4 introduced raising an error on pending migrations. This is most annoying when you are crafting a migration but...

Our applications not only need to be functional, they need to be fast. But, to quote Donald Knuth, premature optimization...

This is a guide on how to effectively use Git when working on a feature branch. It is designed to...

makandra dev

Starting with Ruby 1.9, most #each methods can be called without a block, and will return an enumerator. This is...

postgresonline.com

When working with PostgreSQL, you can use pgAdmin as a GUI. While you can do most things just like on...

ma.ttias.be

Article shows how to make a script that fakes one kind of content when printed with cat, but uses different...

As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...

makandra dev
developer.chrome.com

In the DevTools settings, there's a "Shortcuts" section. Found these keyboard shortcuts there: General ESC Toggle drawer

stackoverflow.com

With ngAnimate, you can easily animate certain events (see directive support). We'll make use of ngClass animations to style...