How to replace default fonts in MIUI rom

MIUI (1.7.22) uses Arial as the default font. If you hate it as I do, here is how to change it. I assume you have adb working. We are going to replace only 2 fonts - Arial.ttf and Arial-Bold.ttf. First, let’s back up the old fonts just in case thing didn’t go well as we want to. (I learned this the hard way, and keen to avoid it at all cost) ...

July 24, 2011 · 1 min · 142 words · kenno

PHP extension "mcrypt" must be loaded.

On Ubuntu or Debian: $ sudo apt-cache search php|egrep ^php5- $ sudo apt-get install php5-mcrypt Ref: Install php extensions on ubuntu

May 22, 2011 · 1 min · 21 words · kenno

[FIXED] bind9 is running bind9 status reports failed!

bind9 runs in a chroot environment on lenny. The service can be started as usual: # /etc/init.d/bind9 start Starting domain name service...: bind9. Let’s check bind9 status: ` /etc/init.d/bind9 status bind9 is not running failed! ` Well, the first thing I did was to check the log file, in which I found no error related to named. So I tried another way to check the status: # rndc status version: 9.6-ESV-R3 CPUs found: 1 worker threads: 1 number of zones: 17 debug level: 0 xfers running: 0 xfers deferred: 0 soa queries in progress: 0 query logging is OFF recursive clients: 0/0/1000 tcp clients: 0/100 server is up and running I was convinced that the DNS service was running. So what went wrong? It must be something in the /etc/init.d/bind9 script that incorrectly reports bind9 status. Opened up this file, I found: ...

December 19, 2010 · 1 min · 195 words · kenno

What the heck: three.net.au redirecting to www.policywording.com.au

3 is my mobile carrier. It offers an online service which allows its customers to check the current usage from their phones by accessing this URL: three.net.au/my3/gethome.do. Usually it works quite well, but not today (and probably some more days to come), it gave me a HTTP ERROR 404. I thought I should just visit http://three.net.au and find out w-t-h is wrong. Unexpectedly it took me to another site — “callenden group policy wording”. It’s very weird so with some spare time, I decided to do a little investigation. ...

December 9, 2010 · 4 min · 644 words · kenno

Banshee freezes when opened

This is a self-note. $ banshee --disable-dbus

November 28, 2010 · 1 min · 7 words · kenno