System Administration

Latest

Cloud Computing

Latest

Rails, Ruby

Latest

Ruby Classes, Modules, Mixins, and Inheritance

Classes Classes are one of the building blocks of object-oriented programming. Think of them as blueprints for creating objects. When we just throw variables and methods inside a Ruby file, it’s very loosely associated....

MySQL / Percona

Latest

How to Write Your Own Iterators in Ruby

Generally if your class has an array/hash, sometimes you don’t want to expose the implementation of those collections outside of the object. Creating your own iterator will make your object easier to use. class Headphone...

Read More

How to Revert/Undo Changes in Git

Generally there are three ways of reverting changes: checkout revert reset Checkout If you just need to revert specific files, you could run git checkout to retrieve an exact version. In the below example, I wanted to revert the...

Read More
Loading