Welcome 👋

I am a hard dance enthusiast, DJ, tech nerd, and software engineer.

Rediscovering Old Music: C89.5 in 2010 and 2011

I used to listen to C89.5 quite a bit in 2010 and 2011. I even attended C89.5’s Listener Appreciation Party 5 back on August 14, 2010. I discovered a ton of music, to the point where it was difficult keeping track of all it. I remember trying to memorize names of songs that came on while I was driving so I could note them later, only to have trouble recalling it afterward....

May 24, 2017

Deploying to S3 upon Git Push

With a simple post-receive hook and using s3cmd, you can have Git deploy to S3 after a pushing to your remote repository. If you’re simply interested in the hook code, I have provided it at the bottom of this post. Setting up s3cmd To get started, you’ll want to configure s3cmd on the user account that is holding the bare repository with your either security credentials of your AWS account or security credentials of an IAM user....

October 23, 2013

Converting DateTime.Ticks into a Unix timestamp in PHP

I needed a way to convert the number of ticks from the DateTime.Ticks property in .NET into a Unix timestamp in PHP. So I wrote up this solution that makes this possible. The solution works by taking the number of ticks that I want to convert into a Unix timestamp and subtracting it with the number of ticks of the Unix epoch. To figure out the number of ticks of the Unix epoch, I used C# (it is possible to do this in a different ....

November 30, 2010

How to Revert Your SVN Repository on Assembla

There is no simple way to revert your repository to a previous revision on Assembla. However, a reversion is possible by following these steps. First, export the SVN repository in your space. This can be done under the Import/Export section of your repository. It’ll take a minute for the dump to be created. Once that has completed, download the repository dump. Then, extract the contents of the ZIP file to a temporary directory, then run the following commands in the temporary directory:...

July 25, 2010