h1

SMPlayer flickers when bottom toolbar is shown? Here’s the fix.

April 28, 2010

First of all, make sure you have install CompizConfig Settings Manager from Software Center.

System->Preferences->CompizConfig Settings Manager->General Options

Uncheck  ”Undirect Fullscreen Windows”!!!

This problem had been with me for some time, and I only got to fix it today after my last paper for this semester. Hell yeah!

h1

Upgraded Karmic Koala to Lucid Lynx

April 21, 2010

Well well, I was kinda bored, and took the plunge last night and turned my Karmic Koala into Lucid Lynx.

update-manager -d

The whole process took.. approximately 2 hours? To be honest I was a little nervous because I vividly remember my earlier attempts at such upgrades over the past few releases were not exactly pleasant.

But it turns out to be an uneventful journey this time! Once rebooted, I am greeted with the now-famous purple desktop.

All things well and dandy, everything seems to just work, and wow, I must say Lucid Lynx is MUCH prettier than I imagined. A long way since I first started my Linux adventure more than 10 years ago.

One thing though, I do not see the point of Plymouth thus far, and it doesnt seems to speed up my boot process compared to the past! And seriously, Plymouth boot screen looks kinda dull.

Anyway, I am in the middle of exam preparation this week, I’ll probably spend more time dissecting the system next weekend.

h1

Human Computer Interaction: Website mockup

April 14, 2010

Today is the last day of class for Semester 2, I am in a good mood.

So here’s the assignment 2 of HCI, of which we did a mockup of a recreation of an existing website, mathsisfun.com, and turn it into something completely different.

I did the graphical design, while my teammates worked on the document. Here’s a sneak peak.

Click here for all the assignment files.

h1

Nexus 1 News & Weather Widget Localized Data

April 9, 2010

I got my Nexus 1 for free for more than a month, and it was only yesterday that I found out I could actually customized the News & Weather Widget to show me localized feeds from Singapore.

Well, Singapore is not listed under the default Locale list under Settings, so the trick is to install this app called “MoreLocale 2” from the market. Using MoreLocale 2, add Singapore as a custom Locale and voila, News & Widget is relevant to me again.

My Nexus 1 is getting more and more useful each day. Seriously. I only wish I have some time to work on creating stuff for it.

h1

IDM Presentation on Regulating New Media

April 7, 2010

This is the slides I made for the 15 minutes presentation done last night. Topic is on the article “Internet and self-regulation in China: the cultural logic of controlled commodificatio” - Media Culture Society 2007; 29; 772.

IDM_Presentation

h1

Reset root password for MySQL

April 5, 2010

Had a field day messing around with MySQL root password because all of a sudden the security team decides they want to make sure third party software follows their rules. I guess they have new goals for this year.

So I tried many methods, using mysqladmin command to reset doesnt work for some weird and unknown reason, and it always end up screwing the root account that I cant login with it anymore. Maybe its just me, but I always have problem with MySQL root account, maybe it just hates me.

The only success comes when I use the steps listed here, and voila, all the steps works like magic, EXCEPT for the last one which I think should be modified.

After you are finished close the first command prompt and type “exit;” in the second command prompt windows to disconnect successfully. You can now start the MySQL service.

You see, if I close the first cmd window that starts the mysqld process, that process refuses to die and I will not be able to start MySQL service normally after that. The correct way to do this would be to manually shutdown the mysqld process from the Task Manager window, and then start the MySQL service.

But anyhow, this is the only method that works for me, and I am thankful.

h1

Disabling login drum roll for Ubuntu 9.10 Karmic Koala

April 3, 2010

Well, I know its a bit late now that Lucid Lynx is coming up in few weeks, but it took me a while to find out how to disable the login sound for Karmic Koala.

If I remember correctly, prior to Karmic I used to be able to disable the sound via the Preferences -> Sound menu, but its no longer there. So to do this now, I have to go Preferences -> Startup Applications, and look for this item called “Gnome Login Sound”. Untick it, and feel free to start Ubuntu in library now.

h1

SPM Assignment 1 – RiskyProject

April 3, 2010

Here’s a video I made for my Software Project Management, a short introduction to RiskyProject, and some of its risk management features.

When I was creating this, had some frustration on producing HD format video, tried a few video producing software but ended up still using the easy and free Windows Movie Maker 2.6 on Windows 7. Although its missing some nice feature like zooming and panning of video, but the ease of use wins all the rest.

h1

Returning %ERRORLEVEL% in For Loop

March 30, 2010

I have had a pretty good experience with writing batch scripts, or thats what I thought.

While working with robocopy on Windows Server 2008, I spent hours just to learn that in order to get %ERRORLEVEL% within a For loop, you need to use the setlocal command followed by the !ERRORLEVEL! variable, like this…

setlocal enabledelayedexpansion
echo off
set EXITCODE=0
FOR %%i IN (file_exists file_not_exists) Do (
dir %%i

REM
if NOT !ERRORLEVEL!==0 set EXITCODE=1
)
endlocal
echo EXIT CODE IS %EXITCODE%

exit %EXITCODE%

h1

Blogging from an android device

March 10, 2010

Oh well, its been a while.

Follow

Get every new post delivered to your Inbox.