Johntron

Python, PHP, Zend, Django, Mobile, and Linux web development guru


Javascript classes using Object Notation (JSON) with constructor

May 2nd, 2011

If you’re like me, you get really tired of looking at ugly JavaScript. Sure, JavaScript sourcecode can be very clean and concise, but why is there so much ugliness? JSON is our saving grace, but only if you know how to wield it. If you want a history lesson on JSON, var animal = function( [...]

Managing users on OS X 10.5+

October 28th, 2010

From time to time, I have to add a new user to an OS X server. This can be done from the desktop using the Accounts preference pane under System Preferences; however, many times I do not have access to the desktop (through VNC), so I am forced to use SSH. OS X is very [...]

The Elusive Expert Web Developer

October 26th, 2010

Expert web developers are hard to find and hard to keep. They operate in an industry in constant flux, survive by constantly reinventing themselves, and thrive on their ability to generalize insight gained through deep understanding and experience. To them, writing code is no longer about solving a problem so much as doing it in [...]

SSH-FTP & Subversion without shell access

October 18th, 2010

Granting shell access to third-parties can be a security nightmare if done improperly. Even with the best intentions, clients can accidentally delete mission-critical files or shut down crucial services, and clients are the least of your concerns. Servers across the world are constantly attacked by zombie computers. One of the more common forms of attacks [...]

Pirate Bay workaround

September 20th, 2009

The primary tracker over at The Pirate Bay doesn’t seem to be working. As a workaround, I’ve create a simple script to replace torrent files downloaded form TPB to work with one of their secondary trackers (tracker.openbittorrent.com). Pirate Bay torrent fixer