WebSVN is an open source subversion repository browser written in PHP, offering a compelling alternative to the more obtuse ViewVC and the commercial Atlassian Fisheye. By default, WebSVN does not display line numbers when looking at the contents of a single file (i.e. URL’s containing filedetails.php). Fortunately, this is easily corrected if you enable Geshi [...]
Read MoreIt’s dangerous to go alone
Take one of these! Print, hang outside your office or cubicle. Your goblin-slaying co-workers will thank you.
Read MoreCreate Self-Signed Wildcard SSL Certificate
Here’s the command list to quickly create a self-signed SSL certificate from the Linux command line. You can copy/paste each line to the shell to generate the key. It assumes you will place each set of SSL files under a directory assigned per domain; at the end you will have a directory that contains the [...]
Read MoreWhat comes after the yottabyte?
I was reviewing the data storage requirements for a project recently which had me talking in terabytes, and thinking long-term in petabytes. For those of you who don’t know, tera- and peta- are the binary prefixes for measuring units of digital information that come after giga- (as in “gigabyte”). The list of prefixes, which most [...]
Read MoreWrite code like they do in Hollywood
Want to look like a badass hacker in front of your friends? Head over hackertyper.com and just start pushing buttons. As long as you avoid mashing your palms against the keyboard, your non-techie friends will look at you like this.
Read MoreBrian Rolle machine gun celebration
I’m not much of a sports guy, but this sack celebration by Eagles’ Linebacker Brian Rolle in last night’s game against the Giants has to be one of the best defensive celebrations I’ve ever seen. Equal parts hilarious and badass! (Apologies for the gif format, the NFL gestapo makes it hard to find real video [...]
Read MoreFix WordPress “Fatal error: Allowed memory size” messages
You may (or may not) have noticed this site was down for the past few days, displaying a blank page no matter what URL was entered. After recalling that I had turned off PHP error onscreen outputting, I was presented with this lovely message: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to [...]
Read MoreRecover hijacked default keyword search engine in Firefox
Earlier today I installed what I thought was an update to the Xvid codec in order to watch a video. I should have been more careful with the source, as their installer proceeded to modify my Firefox installation, adding some junk toolbar called “Start Now” and changing my default search engine to Bing. (Sidebar: they [...]
Read MoreUsing hashmarks for URL anchors in Apache rewrites
Today I had to make an Apache rewrite that redirected a custom URL not only to a different page, but also to a specific anchor link on the destination page. In other words, /foobar had to actually load /some/other/url#foobar. However, by default Apache rewrites will escape the hash (#) symbol, converting to its hexcode equivalent [...]
Read MoreRemove parent directories from tar archives
You run a Linux web server, and have painstakingly crafted custom backup processes for all your important data. Undoubtedly, the backup copies end up being stored in the form of a tar archive. Everything works great — copies are made, compressed, and sent off-site. There’s just one naggy little issue: whenever you open one of [...]
Read More