Tutorials





Active Merchant is a simple payment abstraction library extracted from Shopify.
Active Merchant is an extraction from the ecommerce system Shopify. Shopify's requirements for a simple and unified API to access dozens of different payment gateways with very different internal APIs was the chief principle in designing the libra...


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