David O'Trakoun

David O'Trakoun

web developer; super handsome

Latest Posts

  • How I Work

    Creating a website is just not as simple as it used to be. In order to do things right, I need all kinds of tools: compilers, linters, package managers, optimizers and minifiers, etc. Aside from that I need to consider things like portability, organization, and maintainability. I just started a new job so I’ve had […]

    Read this article ⇾
  • Fix CF SerializeJSON number conversion

    In ColdFusion if you use the SerializeJSON function on an object, the values for each key get converted into JSON values. This means that zip codes like “02115” (regardless if they are strings or integers) are converted to 2115.0 and large numbers like cellphone numbers—3132123232 are converted to scientific notation (3132123232E9 or something like that, […]

    Read this article ⇾
  • BASH script to copy files from a git commit

    This is a small BASH script I wrote to create a folder of changed files for web deployment. This is useful for a small project that doesn’t need a complicated deployment system. It should live in a folder within the project. There should be folders called “deploy” and “filelists” in the folder as well. Of […]

    Read this article ⇾
  • First week developing on a Mac

    The following is a whining session about developing on OSX. It’s not all bad. I had been using an old (2004) DELL machine at work with Windows XP. Needless to say, the machine was pagefaulting and had a bunch of problems with its RAM. So they finally got me a new computer to work on […]

    Read this article ⇾
  • Safely installing npm on Ubuntu

    npm is a package manager for node.js. Using this to download libraries that extend node.js will make your life a lot easier. I did this on Ubuntu 10.10, it should work in all versions AFAIK. You can change the paths to your liking. I don’t really use my home (~) since I don’t use Ubuntu […]

    Read this article ⇾
  • Shuttle PC: new harddrive, Clonezilla & Windows 7

    I bought a new harddrive on sale after Cyber Monday to replace the 250 GB harddrive in my Shuttle. It’s a bare drive, which means it doesn’t come with a SATA cable or box. Now I’ve got a total of 2 TB of storage with 1 TB already full. I used my super-difficult-to-open Lacie case […]

    Read this article ⇾
  • My Development Setup

    Although I primarily develop on a Windows PC, I still consider Linux (also Unix and OSX) the most powerful and practical environment for setting up web and database servers, DNS, and version control repositories (as a master on DVCS). A few of the benefits include: Using SSH to connect to a linux commandline is faster […]

    Read this article ⇾
  • LDAP / Active Directory auth in WordPress

    I am going to discuss LDAP / Active Directory authentication in PHP and WordPress using custom directory schemas. If you want to integrate your PHP application or WordPress login with LDAP but aren’t using a typical LDAP setup (with organizational units and such, or requiring the domain prefix: ‘domainusername’), then read on. First, some technical […]

    Read this article ⇾
  • Shuttle PC: Part 2

    I didn’t read the parts compatibility guide online before buying the RAM and graphics cards so the Shuttle wasn’t working up until last week. Since I couldn’t see anything for lack of graphics and I don’t have another DDR3 compatible machine lying around, I couldn’t test the parts. Shuttle PCs don’t beep on POST so […]

    Read this article ⇾
  • Putting together my new Shuttle PC

    Feeling a bit prodigious, I bought a Shuttle PC the other day (SH55). It totally looks like a toaster, but it’s cool. It’s going to be an always-on HTPC for the living room. I am completely out of the consumer PC hardware loop and ended up getting the i7-860 (1156) instead of an i5. The […]

    Read this article ⇾