Adding ruby code for tech blog