MooTools 1.2 Beginner's Guide - Review

MooTools 1.2 Beginner's Guide, authored by Jacob Gube and Garrick Cheung is an outstanding book. It aims to provide a solid foundation for MooTools new comers, and assumes a limited knowledge of Javascript, HTML, and CSS. This book aims at not just at providing a laundry list of MooTool function definitions, but at providing a complete coverage of how MooTools geared towards a beginner. I highly recommend it.
Posted on Nov. 8, 2010, 1:19 p.m. | Read More >

Removing ^M characters on ubuntu in VIM

Remove ^M characters in VIM by replacing \r with nothing. ^M is really \r. Use :%s/\r//g
Posted on Nov. 6, 2010, 1:16 p.m. | Read More >

Javascript Browser Based Tower Defense Game: Elemental TD

My latest project is an Browser Based Tower Defense (Elemental TD) game written in Javascript using the MooTools framework on the client end. The thing that sort of sets it apart from other browser games is that it is a true browser based tower defense: it does not use flash or other third party plugins; it’s all Javascript.
Posted on Nov. 6, 2010, 1:14 p.m. | Read More >

Replace a String in Multiple Files in Linux Using Grep and Sed

This is the quickest way I've found to search for and replace every occurrence of a string in multiple files in linux.
grep -rl matchstring somedir/ | xargs sed -i 's/string1/string2/g'
example:
grep -rl 'windows' ./ | xargs sed -i 's/windows/linux/g'
Posted on April 25, 2010, 10:27 p.m. | Read More >

OpenLayers Tutorial - Part 2 - Layers

OpenLayers Tutorial Part 2 - Tutorial covering OpenLayers Layers, including how it works on the backend, WMS, Vector layers, Google Maps and OpenLayer mashup instructions, and other Layer object related concepts.
Posted on Feb. 2, 2010, 2:27 p.m. | Read More >

Support Me