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 »

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