Using random number generators to solve problems| vaneyckt.io
Ruby concurrency: building a timeout queue| vaneyckt.io
Ruby concurrency: in praise of condition variables| vaneyckt.io
Using DTrace to measure mutex contention in Ruby| vaneyckt.io
Ruby concurrency: in praise of the mutex| vaneyckt.io
How to write your own rspec retry mechanism| vaneyckt.io
The disaster that is Ruby's timeout method| vaneyckt.io
A javascript closures recap| vaneyckt.io
Understanding iostat| vaneyckt.io
An introduction to javascript promises| vaneyckt.io
Unwanted spot instance termination in multi-AZ ASG| vaneyckt.io
Creating an EC2 Instance in a VPC with the AWS CLI| vaneyckt.io
Finding and deleting old tags in a Github repository| vaneyckt.io
Adding a post-execution hook to the db:migrate task| vaneyckt.io
Installing chromedriver| vaneyckt.io
Programmatically rotating the Android screen| vaneyckt.io
Programmatically creating Android touch events| vaneyckt.io
Some lesser known Github API functionality| vaneyckt.io
The amazing bitwise XOR operator| vaneyckt.io
I admit that I find myself going to this article every time I need to write some joins. Hopefully putting it here will save me from always having to google it.| vaneyckt.io
Check the order of your rescue_from handlers!| vaneyckt.io
The javascript event loop| vaneyckt.io
Bug hunting with git bisect| vaneyckt.io
Why is MySQL converting my NULLs to blanks?| vaneyckt.io
Using environment variables in migrations| vaneyckt.io
Getting connection information with lsof| vaneyckt.io
Carefully converting your MySQL database to utf8| vaneyckt.io
Character set vs collation| vaneyckt.io
MySQL write locks also prevent reads| vaneyckt.io
Rails migrations and the dangers of implicit commits| vaneyckt.io
Iterating over a hash containing arrays| vaneyckt.io
Our new approach has us embed any necessary urls in hidden input fields on the web page in question. Rather than hardcoding these urls, we use the named route functionality offered by rails as this provides more flexibility. When the page gets rendered, these named routes are converted to actual urls through ERB templating. The embedded urls can then be fetched by javascript code and manipulated with URI.js.| vaneyckt.io
As it turned out, the javascript snippets used for embedding gists were adding an additional css stylesheet to the page. Since this stylesheet was getting added after my own stylesheet, its rules had priority over my own. The solution was to add !important to my own rules.| vaneyckt.io
Finding models from strings with rails| vaneyckt.io
Retrieving data in a time range with rails| vaneyckt.io
GET vs POST| vaneyckt.io
$ dig www.google.com| vaneyckt.io
Profiling rails assets precompilation| vaneyckt.io
Regarding if statement scope in Ruby| vaneyckt.io
EC2 instance cost comparison| vaneyckt.io
Safer bash scripts with 'set -euxo pipefail'| vaneyckt.io