Check if Folder Exists in Ruby (Case-Sensitive)

Ruby’s Dir.exist? is tied to your OS, which may or may not be case sensitive when it comes to directories. That means that it is possible for a directory named ‘Derp’ to exist, but Dir.exist?(‘derp’) would return true. Here’s a convoluted piece of code to get past that. It adds another method to the Dir […]

WordPress Was Hijacked!

So, I opened up endlick.com and hoped to see some new content – ignoring the fact that I’m the only one who posts here and I sure as hell haven’t been vigilant about it – and saw some ad for insurance. endlick.com is a site where I post shitty content about computer issues and baudy […]

Bughunting

“OK, so which levels does this occur on?” “1,2, and 4.” “Not 3?” “Not 3.” “And this only happens on mobile?” “Yes, but only some mobile devices” Well shit. Every level of the maze uses the same logic. They are all checking collisions based on whether or not the player’s “pawn” came in contact with […]