A client recently gave me a call saying his website was throwing a malware warning when visited using Google Chrome. A bit of research indicated that somehow the attacker gained access to the site, installed a Web Shell script in *.js.php files and injected JS code into existing JS files. Google’s Webmaster Tools showed the injected code in the JS…
Category: General
Enabling IPv6 in Google Chrome
Alright, this will be a quick post but I wanted to take 5 and write this out for prosperity and maybe somebody else will have a similar issue. I currently develop in RoR and PHP amongst other languages. For Rails I use Pow to quickly setup a development environment. For PHP I just set manually using the following instruction: How…
Top 11 Ruby on Rails Learning Tools
About a year ago I decided it was time to start learning RoR (Ruby on Rails) with the ultimate goal being that it’d replace PHP in most of my projects. While I’m still not at that point, here’s a top 11 list of Ruby and Ruby on Rails tutorials, tools and resources that really helped me out! One thing I…
Connect to MySQL using localhost instead of 127.0.0.1 on a MAC
For a long while now I’ve been connecting to MySQL on my development platform with 127.0.0.1 because for some reason localhost didn’t work. Turns out it’s because 127.0.0.1 uses TCP/IP and localhost uses sockets. The php.ini file points to the wrong place for the mysql.sock so all you have to do is change it, restart apache and voila! Open php.ini:…
Back up! Time Machine saved my life!
Just a quick note about how important it is to backup your data! The hard drive in my MacBook Pro decided to stop working this morning and in my case, my laptop is my life. All my work, photos, music, contacts are stored on this one laptop. Luckily, a few months ago, after staring at that inactive Time Machine icon…