Skip to main content

Posts

Showing posts with the label hacks

Optimize Wordpress for tiny free tier VMs

In which I show how to optimize Wordpress on Apache to handle a reasonable continuous load on a tiny free tier virtual machines, with only standard Ubuntu packages. [6 minutes]

How to log client IP from Apache behind Elastic Load Balancer

This is my solution to make Apache HTTP Server log the actual remote client IP address from behind the Amazon Elastic Load Balancer (ELB), with a little help from SetEnvIf. [2 minutes]

Show Git / Mercurial / SVN / Bazaar branch in the Bash prompt

This is my solution for modifying the Bash prompt (PS1) to show the branch name. It works for any working directory in a Git, Mercurial, Subversion or Bazaar branch. [2 minutes]

How to save mobile data when tethering

These are my tips for minimizing the data usage of your PC. It's handy in cases where you have to tether your mobile phone but mobile data is expensive. [3 minutes]

How to use cwRsync and rsnapshot to sync from Windows to Linux

Here is how to sync files from Windows to Linux with rsync. Specifically, using cwRsync server (a Cygwin + rsync package) on the Windows server, and rsnapshot on the Linux backup server. [3 minutes]

How to optimize Quake 3 autoexec.cfg

Here I share my optimized autoexec.cfg configuration for Quake 3. Compared to the defaults it offers several clear advantages for LAN gaming. [2 minutes]