Tutorials


Exploring Linux File Locking Mechanisms in Ruby | λ Lambda Papers
An exploration of File Locking mechanisms and their pitfalls on Linux in Ruby.On a recent automation spree I produced a couple of hundred lines of ruby that needed persistence. The built-in PStore is a natural choice for a project that size. I’ve ...

How to Make Colors With Ruby and Bitwise Operations
Leverage softPwn on the Raspberry Pi to control a mutli-colored LED with Ruby hexadecimal primitives, and some bitwise operations.The RGB LED I'm working with has four pins. Three of these pins take input that control the brightness level for (R)...


Getting Started with AWS S3 IAM Policies Security Config for Rails Apps
Storing files on S3 is for many developers, the first contact with AWS cloud. Unfortunately, the “quick and easy” configuration can be insecure. If you are uploading files to an S3 bucket but never configured a custom AWS IAM policy it’s possible ...





Three Awesome Libraries to Assess Code Quality in Ruby
As part of our Rails upgrade business we get to evaluate a lot of codebases every month. We usually need a quick way to assess the quality of the code we get. For this we like to use CodeClimate and SimpleCov.CodeClimate is free for open source pr...