github.com

Adds missing native PostgreSQL data types to ActiveRecord and convenient querying extensions for ActiveRecord and Arel for Rails 4.x...

When you paste copied code with CTRL+V, RubyMine will change the indentation of the pasted code. You can prevent...

makandra dev

If you're trying to searching or installing packages via pkg the your repository data might be broken. If pkg...

blog.skylight.io

Helix allows you to implement performance-critical code of your Ruby app in Rust, without requiring glue code to bridge...

When dealing with time zones in Rails, there is one key fact to keep in mind: Rails has configurable time...

Expecting a primitive value as an argument to a method invocation is easy: expect(object).to receive(:foo).with('arg1...

developer.mozilla.org

When building a form with a file select field, you may want to offer your users a live preview before...

workaround.org

You will need to look here and find your own device. Look for the "bootable CD" download, which will give...

When your application crawls twitter profiles for tweets, it might throw HTTP 401 (Unauthorized) errors. Those can happen for a...

Cucumber's docstrings let you add long strings to a step like this: # foo.feature Given this text: """ First line

Instead of using this hack you might want to use MariaDB 10.x which can work with both old and...

ombulabs.com

Tool to show you which gems are slow to load: ➜ git:(master) ✗ bundle exec bumbler [################################################# ] (49/65) travis-lint...

jakearchibald.com

Showing various caching patterns. Includes WhatsApp screenshots.

OAuth requires a set of params to be carried along requests, among which a nonce. Some libraries pass these along...

Awesome is a very good tiling window manager that provides neat features like automatic layouting of windows, good multi-display...

If you want to access top-level constants inside a BasicObject class, you need to prefix them with ::.

makandra dev
robots.thoughtbot.com

When creating an index using CREATE INDEX, Postgres will create a B-Tree type index by default. The B-Tree...

makandra dev
github.com

Git commands tend to come in groups. Avoid typing git over and over and over by running them in a...

jQuery's deferred objects behave somewhat like standard promises, but not really. One of many subtle differences is that there...

kyusuf.com

Flexbox is great, but you don't get reliable support in Internet Explorer. The attached article shows how to accomplish...

This card existed before, but was outdated due to browser implementation changes. The information below is validated for the current...

Current webkit browsers like Chrome and Safari have a special variable in their consoles that refers to the selected DOM...

makandra Operations

To see all jails: fail2ban status Our $JAIL is usually ssh. To see which IPs are banned currently: fail2ban-client...