Windows 7 Boot Error with MpFilter.sys corrupted

After doing patch-Tuesday update yesterday, my Windows 7 no longer booted. This is the second time it happened. Last time I fixed it, didn’t get to document and it took me a while to figure out how I did it. This version of Windows is Windows 7 Professional 32-bit. After some digging, MpFilter.sys is Microsoft Malware Protection Minifilter, which is a part of Microsoft Security Essentials (MSE). MSE is installed on my Windows 7 machine....

September 11, 2014 · 1 min · 119 words · kenno

Set Timezone in Fedora 20

While looking at the log file on my Raspberry Pi (running Fedora 20 Remix), I noticed that the date/time didn’t look right. EDT is a North American Eastern Daylight Time, which is 4 hours behind UTC. You can read more about it here. In my case, I prefer the time zone set to AEST (Australian Eastern Standard Time), which is 10 hour ahead of UTC. Here’s how it can be done....

July 21, 2014 · 1 min · 93 words · kenno

MongoDB warning: Failed to connect

After upgrading MongoDB from version 2.4 to 2.6, I am not able to connect to it from another machine. The firewall has been checked to ensure that port 27017 is opened for the machine that I want to connect from. So what else could go wrong? Well, I was impatient and turned to you know what… Google search. According to this link: https://groups.google.com/forum/#!msg/mongodb-user/yhf05AW-hK8/YqES0cVIXlUJ, the problem is due to the database is bound to only local IP....

May 22, 2014 · 1 min · 130 words · kenno

How to test cron

So you drop a script in /etc/cron.daily. How to check if that script does what it is expected to do without having to wait, in this case, a day? Here is how: # run-parts -v /etc/cron.daily Reference: http://stackoverflow.com/questions/4984725/how-to-test-cron-job

February 18, 2014 · 1 min · 38 words · kenno

Install Google Chrome on Fedora 19

Add the following to /etc/yum.repos.d/google-chrome.repo: Pick a version, stable, beta or unstable and install with the following command: Ref: http://www.if-not-true-then-false.com/2010/install-google-chrome-with-yum-on-fedora-red-hat-rhel/

November 15, 2013 · 1 min · 20 words · kenno

How to fix PuppetDB SSL error

If you don’t know what PuppetDB is, this post probably will not be any useful to you. But if you wanna find out or learn about it, here is the link: http://docs.puppetlabs.com/puppetdb/latest/index.html. For PuppetDB to work, we need to generate SSL certificates from a Puppet master’s SSL certificate. In my case, I need to re-configure this PuppetDB to a new Puppet mater which sits on the same server. Here’s how it was done:...

August 22, 2013 · 1 min · 133 words · kenno

Playing .ass subtitles with mplayer

$ mplayer -ass -sub subtitle.ass file.avi

August 29, 2010 · 1 min · 6 words · kenno

Change default editor in Debian

` update-alternatives –config editor` There are 7 alternatives which provide `editor’. Selection Alternative ———————————————– 1 /bin/ed 2 /bin/nano 3 /usr/bin/vim.tiny 4 /usr/bin/vim.basic 5 /usr/bin/nedit 6 /usr/bin/emacs21 7 /usr/bin/xemacs21 Press enter to keep the default[*], or type selection number: 6

April 19, 2010 · 1 min · 39 words · kenno

Enable sudo insults

Look for line begins with Defaults, and append insults to the end. Save it, and clear the sudo session (sudo -K), and try sudo with a wrong password. 🙂 Source: Enable sudo insults for some laughs

April 15, 2010 · 1 min · 36 words · kenno

Enable Japanese input on Debian/Ubuntu

Normally, I would install Scim and Anthy for Japanese input method on Debian. Recently, I found an easier way to achieve the same thing, which is to use IBus instead of Scim. Install ibus: sudo apt-get install ibus ibus-anthy ibus-gtk From the menu, System -> Preferences -> IBus Preference IBus Preference should detects that you have run IBus daemon yet, click “Yes” to run it. You’ll be asked to edit your ....

March 14, 2010 · 1 min · 150 words · kenno