December 2009

How to install the Go programming language on your server or VPS?

Assuming you’ve logged in as root in Debian 5.0, to install the Go programming language by Google, Add these environmental variables for Go in .bash_profile: export GOROOT=$HOME/go export GOARCH=386 # for 32 bit architectures. Use GOARCH=amd64 for 64 bit architectures export GOOS=linux export GOBIN=$HOME/bin PATH=$PATH:$GOBIN Install the Mercurial ‘hg’ command: aptitude install mercurial Fetch the …

How to install the Go programming language on your server or VPS? Read More »

Rackspace Referral Discount

By Rackspace I mean Rackspace.com the managed dedicated hosting service, not RackspaceCloud.com the cloud hosting. I’ve been talking a lot lately about Rackspace Cloud so I thought I’d make it clear. 😉 Check them out, they are pretty much the most expensive host you can find on the web. Their most basic server costs over …

Rackspace Referral Discount Read More »

PHP: Subject String Length Limit of Regular Expression Matching Functions

Here’s a quick tip for those who have encountered this very same problem that all regular expression functions of PHP such as preg_match() and preg_replace() stop working when the input string (subject string to be searched or matched) is too long or large. If you believe your regular expressions should work but didn’t and the …

PHP: Subject String Length Limit of Regular Expression Matching Functions Read More »

Scroll to Top