Pairwise Sequence Alignment In JavaScript

computer 22 February 2014 | 0 Comments

I just implemented a sample pairwise sequence aligner in JavaScript for a course. You can demo it at http://alignment.prestonlee.com, and grab the source code under an Apache 2 license at https://github.com/preston/alignment.

Tagged in , , ,

“My Videotag” Linkbucks WordPress Hack

computer 16 August 2013 | 4 Comments

FYI to all the WordPress fans.. If you recently noticed that your links are getting hijacked by URLs pointing to “linkbucks.com”, try deleting your my-videotag plugin. I found this nastiness somehow embedded in the source code: $ find . -name ‘*.php’ |xargs grep -e linkbuck ./wp-content/plugins/my-videotag/my-videotag.php: return ‘<a href=”http://77aafbe6.linkbucks.com/url/’ . $matches[2] . ‘//’ . $matches[3] […]

Tagged in ,

Prolog for Ruby (ruby-prolog) Updated, Hits v1.0.1

computer 30 July 2013 | 0 Comments

After a long period of inactivity I’ve updated the F/OSS ruby-prolog gem! It’s been updated for ruby 2.0.0, bundler, and minitest, and released as v1.0.1! ruby-prolog allows you to solve complex logic problems on the fly using a dynamic, Prolog-like DSL. Basic use is encompassed by stating basic facts using your data, defining rules, and […]

Tagged in , , , , , , ,

Don’t Upgrade vCenter Server Appliance From 5.0 to 5.1

computer 12 July 2013 | 4 Comments

Thinking of upgrading your vCenter Server Appliance from a 5.0 image to the 5.1 image using the official VMware upgrade process covered in the documentation? Don’t do it. It fails somehow. Every time.   Unexpected error during the upgrade process. To attempt to upgrade again, restore the old vCenter Server Appliance and external database from backup/snapshot, […]

Tagged in , , , , ,

Vudu Disc-To-Digital Review

computer,personal 5 June 2013 | 1 Comment

For those of you that just received this promo email… I decided to give it a try with stack of old DVDs. The promo pricing is totally reasonable, but I doubt it’ll last. (50% off when you “convert” 10+ discs, then $2 off your total.) Your existing DVD/BD titles are $2 to convert, or $5 […]

Tagged in , , , , , , , , ,

Capistrano Hanging During .tgz Upload

computer 30 May 2013 | 0 Comments

I just spent an annoying amount of time troubleshooting a new cap-based deploy.rb for a Rails app to a new CentOS 6.4 server. The deploy.rb worked perfectly on other systems, but something about the configuration was causing `cap deploy’ to hang during the following: servers: ["myapp.example.com"] ** sftp upload /var/folders/0j/vmvt2by53m901wtmfv8xfjw40000gn/T/20130530225953.tar.gz -> /tmp/20130530225953.tar.gz Long story short, […]

Tagged in , , , , , ,

Keeping Multiple Development Machines Synchronized with Homeboy

computer 14 May 2013 | 0 Comments

Most of us developer types have at least two machines we use routinely, and managing that can be a chore. Specifically, I usually want to do the following every time I sit down at a machine to hack on something: Keep config files like .bash_profile and .gitconfig  synchronized. (This requires scripting since Dropbox ignores hidden […]

Tagged in , , , , , , , , , , ,

Ubuntu 12.10 to 13.04 Server Upgrade Error

computer 26 April 2013 | 8 Comments

Are you Googl’ing around trying to figure out why you’re getting this error when trying to `do-release-upgrade’ your Ubuntu 12.10 system, even though you’re pretty much up to date? root@mia:~# do-release-upgrade Checking for a new Ubuntu release Traceback (most recent call last): File “/usr/bin/do-release-upgrade”, line 145, in <module> fetcher.run_options += [“–mode=%s” % options.mode, AttributeError: type […]

Tagged in , , ,

Proxy Authentication Against Devise-Based Ruby Applications

computer 30 October 2012 | 0 Comments

(Quick GitHub link!) My team at TGen has a Rails application using a typical devise + cancan installation for authentication and authorization, respectively, and a related Apache HTTPD proxy server we needed to authenticate against active accounts in the webapp before passing traffic to their destination, which is a single host. We tried mod_authn_dbd for a […]

Tagged in , , , , , , , ,

How To Custom Brand The OpenStack “Horizon” Dashboard

computer,Uncategorized 9 May 2012 | 3 Comments

I’m deploying OpenStack “Essex” on Ubuntu Server 12.04, and have the openstack-dashboard package installed to provide the web-based “Horizon” GUI component newly added for the Essex release. Canonical also provides an openstack-dashboard-ubuntu-theme package that brands the Python-based Django GUI. Despite that the last major Canonical-maintained packages based on the OpenStack “Diablo” release in Ubuntu 11.10 […]

Tagged in , , , , , , , , , ,