David O'Trakoun

David O'Trakoun

web developer; super handsome

Latest Posts

  • git-my

    Git doesn’t track who created branches. This makes it difficult to keep track of your branches. To remedy this, I wrote a shell script that gets all the remote git branches and filters them out based on the last committer. It then lists the ones where you were the last committer. You can find the […]

    Read this article ⇾
  • Developing Online Ad Platforms

    Ads are a major part of the web. As a developer, the only way to avoid them is to work on a single project that will never serve ads, such as a company website or a well-funded X-as-a-service (SaaS, PaaS, etc.) project (e.g. GitHub probably won’t embed ads, … although I can see native advertising […]

    Read this article ⇾
  • Linux on the Lenovo Thinkpad W510 – Part 3

    The NVidia drivers after 343.22 no longer support the NVidia Quadro FX 880M GPU on this laptop so I had to switch to legacy drivers. To get everything working again, I make some changes to my kernel mode settings and my xorg.conf. In /boot/syslinux/syslinux.cfg and /etc/xorg.conf.d/20-nvidia.conf I am now using this: And in the syslinux.cfg […]

    Read this article ⇾
  • 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 ⇾