Pavan's blog

By Pavan Prakash
TwitterGithubLinkedIn

Important Ruby Memory Management Concepts

July 22, 2019

How does Garbage Collection work in Ruby? At its most basic, when you create a Ruby object, memory is allocated for it. The object lives for…

Simple lazy loader

July 15, 2019

Simple lazy loader to lazy load images, videos, iframes and background images. This is without any dependencies. Doesn’t work on browsers…

Things I care about at work

July 14, 2019

Things I care less about compared to fresh graduate - Free beer in the office. I’d rather have the money. Free snacks in the office. I’d…

Simple template transformer

June 11, 2019

A simple template transformer demonstrating the concept being used in many template engines like , , etc. Even though this gist doesn’t…