HOWTO: Add reCAPTCHA support to Discuz! registration form
To prepare for this, you'll need:
- Basic understanding to PHP programming language.
- A reCAPTCHA API public-private key pair valid to your site. If you don't, please go to the below site to sign up for one: https://www.google.com/recaptcha/admin/create
- Some understanding to your own site's template settings.
OK. Let's start.
HOWTO: Decompress RAR file in Ubuntu, the GUI way
I couldn't find an article like this. So I made up one.
If you right-click an WinRAR file in Nautilus (Ubuntu's file manager) and open it with File Roller, it would tell you that it cannot decompress such kind of file. Ubuntu has no prompt for any steps to fix this.
File Roller, however, is capable to decompress WinRAR files. You just have to install WinRAR for Linux first.
This is actually very simple:
HOWTO: Use Notepad++ to Compile a Java Class
HOWTO: Install Gearman (with PHP extension) on Fedora 11
This is brief instruction for you to install gearmand and gearman's PHP extension on a Fedora 11 server.
HOWTO: Install Thrift on Fedora 11
These are the steps to install Thrift on Fedora 11.
HOWTO: Install Android Development Tools on Ubuntu 9.10
This is the simple steps to install an Android app development platform on Ubuntu 9.10. It's definitely not a clever method, but it works.
Packages to be installed before compile Apache 2.2.11 on Fedora 11
You need to install these packages with YUM first:
- yum install gcc gcc-c++
- yum install openssl openssl-devel
- yum install expat expat-devel
Hong Kong made Ubuntu Netbook for USD$319.9
I kicked around Golden Computer Center, one of the most famous local computer shopping centre. and found an Atom-based netbook priced at HK$2,480. (about US$319.9)!
Experiment: Pass by Reference in PHP, part 3
Code:
<?php
class Label {
var $text;
function Label($text) {
$this->text = $text;
}
}
$foo = new Label("foo");
$bar["foo"] = &$foo;
unset($foo);
var_dump($foo); print "<br/>\n";
var_dump($bar);
?>