Articles

A written collection of knowledge on a particular topic, not covering the bredth or depth of a topic. Just particular aspects therein.

Ubuntu 11

This last week I have been horribly sick. The kind of sick you just want to curl up and wake up when they find the cure.  But since I still haven't perfected my krojenic chamber, I curled up with the newest version of Virtualbox and let the Ubuntu juices flow.... While Ubuntu did not cure my cold I did come up with some interesting observations. A bit of perspective In the last month I have been "forced" to Mac by my employer.  I am not complaining, but having been a...

Read More

Connecting Ubuntu 10 LTS with a Cisco VPN

Connecting Ubuntu 10.04 LTS to a Cisco VPN (UDP) I recently had to VPN into a network running Cisco VPN using the Cisco UDP protocol.  I thought to my self "Great Ubuntu already has support for Cisco/IPSec VPN, I'll just plugin in the settings and run." Very rarely do thoughts like this work when you are running any distro of linux. I did my homework and discovered "vpnc" the Client that connects to the VPN, and I discovered it had a front end to connect to the...

Read More

Working with Squid and Privoxy

So you want a web proxy for your home/office? I have an old computer lying around (I think it is a 233 mhz? with 256 mb ram? and a 15 gig drive? stats are fuzzy sorry...) and decided to see if I could build a nice proxy for my hand held game console. (a nintendo dsi) the browser works (kinda) but it has limited memory and functionality. So I was hoping to cut a lot of the crap out of my browsing AND provide some caching to help speed it up some... (Basically it takes about 2 minutes to log into...

Read More

Sanitation Class for PHP

Sanitation Everyone loves to loves a clean environment... but no one loves to clean.  I am no exception. But I understand the need.  After working on PHP for years, and discovering no really good libraries out there for data sanitation... I have written my own.  (I tried to use OWASP's ESAPI... but gave up...) Definition: According to google Sanitation is "Conditions relating to public health, esp. the provision of clean drinking water and adequate sewage disposal"...

Read More

Validation Class for PHP

Validation Class for PHP Remix As a Web developer, I have seen my share of crappy and insecure code out there.  (Especially working on other people's code.)  One of the biggest problems and security breaches I see is the failure to properly validate data before using it.  Earlier this year I started to build a validation library and posted it up on this site.  In my programing "evolution" I have learned a few techniques that (in my opinion) are superior to the...

Read More