AWStats Multi-Site Setup
Here's how to install and configure AWStats to compile separate statistics about multiple Apache sites or virtual hosts running on a single server. This can be done when you configure each Apache site or virtual host to use a different access log file.
The following instructions have been tested on …
Hunajapurkki: A honeypot link widget for WordPress
As a first excercise in creating WordPress plugins, I decided to write an extremely simple widget which can be used to lure spammers' address harvester bots to honeypots, for example ones set up using the Project Honey Pot web site. If you want to help fight spam, just sign up …
ADT requires org.eclipse.wst.sse.core 0.0.0 but it could not be found
In Eclipse 3.8, installing the Android Development tools may fail with the following error:
Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 0.9.9.v201009221407-60953 (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953 …
ACPI Shutdown on Virtual Ubuntu
If your virtual machine does not shut down when asked by the hypervisor, install the package acpi-support.
sudo apt-get install acpi-support
Works at least with KVM, but I see no reason why it would not work as well in other virtualization platforms, if they just send the ACPI shutdown signal …
Pronounceable Password Generator
This page will generate nice, pronounceable and thus more memorable passwords using JavaScript:
Thanks to Tom Van Vleck
Wordpress Logins and Administration over SSL
To force SSL logins and the administration interface, edit wp-config.php and add these before the "/* That's all, stop editing! Happy blogging. */" line:
define('FORCE_SSL_LOGIN', true);
define('FORCE_SSL_ADMIN', true);
/* That's all, stop editing! Happy blogging. */
You must set up Apache to use SSL of course.
A lot more info can …
Embed SWF: Easily embed Flash files in a web page.
Here's a nice code generator to easily embed flash files:
Embed SWF: Easily embed Flash files in a web page.
Thanks, Florian!
How to get your Samsung Galaxy IMEI code
Get Internet Explorer 7 to work under Crossover Office in Ubuntu 12.10
If IE7 just keeps opening the runonce3.aspx, you can use this to make it forget about it:
Disable ptrace security (please don't do this on a multi-user machine - see the codeweavers support wiki instructions regarding security):
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
To make it permanent …