stackoverflow.blog

A rough guide how to implement a REST API. The discussion here includes some interesting points as well: Timestamps: ISO8601...

You can group contacts using a mailing list in Thunderbird for easier access and less trouble when trying to find...

If a model inherits from others or uses many concerns / traits, it might be hard to see in the code...

web.archive.org

This step tests whether a given select option comes preselected in the HTML. There is another step to test that...

There are several gems that make it easy to read and process xlsx files. Parsing the entire file at once...

RSpec supports a one-liner syntax for setting an expectation on the subject: describe Array do describe "when first created...

Simplecov is a code coverage tool. This helps you to find out which parts of your application are not tested...

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

Sometimes it might be helpful to have a version history for a gem, e.g. when you want to see if...

blog.plataformatec.com.br

A while ago we were working on an application that had an entire version specially created for mobiles, such as...

makandra dev
developer.mozilla.org

Basic box shadow support is available in all browsers today, but you need to check to which extend they are...

When you render a nested form for a Movie which has_many :actors, you want to render the right number...

makandra dev

When you do a script/dbconsole -p, your MySQL shell will already be using UTF-8. When you call it yourself...

news.ycombinator.com

...and compare it to the decrypted hash to see if there is a match. Benefits of this are If an attacker steals your database, they can't decrypt any of...

...easier to see if you have anomalous calls to KMS. There is a huge benefit here in that it is impossible to do bulk decryption without a giant audit trail...

Given the problem you have a new column postion and that column should be updated for all existing rows with...

github.com

Ancestry is a gem/plugin that allows the records of a Ruby on Rails ActiveRecord model to be organised as a...

tl;dr: Ruby's Bundler environment is passed on to system calls, which may not be what you may want...

I highly recommend that you make use of RubyMine's feature to pin tabs. When you pin all "important" files...

docs.angularjs.org

In addition to the {{ myValue }} two-way binding syntax, since Angular 1.3 there's a one-time binding syntax, prefixing...

cirw.in

If you ever wondered why a constant wasn't defined or wasn't available where you expected it to be...

My front audio output would not work even though the front mic input did fine. The Pulse Audio mixer (= Ubuntu...

makandra dev

while true; do i8kfan - 2; sleep 0.2; done There should be a better solution and it will be posted as soon as it's found...

businesswire.com

...announcement makes clear that royalties will continue not to be charged for such video beyond that time. Products and services other than Internet Broadcast AVC Video continue to be royalty...

...bearing...

MySQL and MariaDB have an SQL mode setting which changes how MySQL behaves. The SQL mode value is comprised of multiple flags like "STRICT_TRANS_TABLES, NO_ZERO_IN_DATE...

...Each flag activates or disables a particular behavior. The default SQL mode varies widly between versions of MySQL and MariaDB. In general, more recent versions of MySQL and MariaDB have...