Building a jQuery DataTables Plugin

I like datatables and use it a lot at work. I’ve used datatables so much that I’ve written a CakePHP plugin for it, creatively named CakePHP-Datatables. Documentation on creating plugins is a little rough though. It took me quite some time to write my first one, so I decided to give a little back, and take you through creating a very simple plugin called, My Button. This plugin will add a button to your datatables instance.

Accessing Files Outside of a Chroot Directory

Just recently I needed to provide access to my home system for a remote designer. To prevent the designer from accessing anything else on my server I found this nifty trick. I setup the designer with a user account that has FTP access. I set the home directory as a chroot, and then to get around not being able to add a symbolic link with the home directory I mounted the path to the files. Here’s how I did it using VSFTP.

DOM optimizations with jQuery

I really do enjoy optimizing applications. Up until this project most of my experience was in MySQL and PHP optimizations so optimizing a client side application written in JavaScript is a new challenge for me. The product I am blogging about contains a custom work order entry screen which utilizes the JQuery library extensively. It does heavy DOM manipulations and event bindings to speed up the entry process for the user.  We began noticing some slowness on large work orders with over 50 lines. No big deal though until you hit 200 and then it becomes very noticeable.

Why I’m a Tor Relay Operator

It’s over 3 weeks into 2014 and most of you have failed at your new years resolutions. It’s okay so have I. My resolution was to make and accomplish at least 1 goal a week, thats 52 resolutions! My first goal was to setup a tor relay. Which seems easy enough. I use Linux exclusively and documentation is readily available. Still here I am, 3 weeks into the new year and no Tor Relay. Why?

I sold my first business and here’s what I learned

I remember when I first learned how to ride a bike. I was eager to ditch the training wheels and hit the road (okay sidewalk). So one day we removed the training wheels and my Mom held onto my bicycle seat as I got my balance right. I slowly moved forward, picking up speed, and then she let go and I was off. There I was riding around our apartment complex in Parsippany, New Jersey. It was probably one of the first times I actually felt free.