February 7th
first of all, I don't know why Google doesn't offer picasa linux version download anymore! it's really annoying.  Good that I kept a .deb file downloaded somewhere from the past.  With picasa installed on Ubuntu 11.10, I had problems sending o…
February 3rd
to record: ./IBMIM -record was8-install.xml to install: ./IBMIM --launcher.ini silent-install.ini -input ./was8-install.xml -acceptLicense
December 24th
wanted to have VNC server installed on SUSE10 and openSUSE12 but it looks like both vino and Xvnc doesn't support copy & paste between local and remote... found x11vnc works out of the box with copy & paste, to have to up running by default …
December 20th
create a file under: /etc/rc.d/rclocal --- USE the following header in the file content --- #! /bin/sh # Copyright (c) 1995-2000 SuSE GmbH Nuernberg, Germany. # # Author: Felix Wu # # /etc/init.d/rclocal # ### BEGIN INIT INFO # Provides: rc…
December 8th
How to check number of threads in a process under Linux? top doesn't show it, but option "m" in ps will. I put a space in front and after PID so it doesn't grep longer PID that contains the shorter PID in same sequence. ps -elm | grep " $PID " | grep -v…
December 7th
This is only tested undre an eclipse based Notes under Linux. I changed the following, adjust the memory size to fit your system: /opt/ibm/lotus/notes/framework/rcp/deploy/jvm.properties vmarg.Xmx=-Xmx768m vmarg.Xms=-Xms512m I see the following…
December 1st
installed meego-netbook-ia32-chrome-1.2.0 on my very first AspireOne A110L it randomly hangs when boot up, quite annoying that I need to power on and off several times to get pass by this... the screen would show a SYSLINUX message then everything j…
November 30th
Not sure if this is just an openSUSE default gnome setting or a new gnome setting, but after you installed openSUSE12 with gnome desktop, the desktop is locked! cannot right click, cannot see any files/directories under your desktop, it is just weird. &n…
November 29th
So MS decided to disable software emulation of CTRL-ALT-DEL in Windows Server 2008R2, guess it propose some more vulnerability to Windows.. it caused some grief when using VNC viewer.. 1. run -> gpedit.msc 2. Computer Configuration > Adminis…
November 24th
this script assumes the login website first return a page with session ID, second page would present the login and password field associated with the session ID. on redhat, make sure you have python installed and also install mechanize: yum install pyt…
November 17th
to see the default stack, heap sizes in IBM JRE/JDK, run this command: java -verbose:sizes -version
November 8th
what's the command line service config tool in ubuntu for different runlevel? apt-get install sysv-rc-conf
July 27th
Empathy logs your conversation by default and it seems to store its log in different locations between different releases? on ubuntuforum thread people found it under: ~/.gnome2/Empathy/logs ~/.local/share/Empathy/logs ~/.local/share/empathy On my Ubun…
July 8th
quite a few issues with Ubuntu 10.10 on AOD522 Problem #1 - it keeps hanging after login: disable the atl1c driver and update the initramfs image: add in /etc/modprobe.d/blacklist.conf this line blacklist atl1cupdate-initramfs -u Problem #2 - ge…
July 5th
to make USVN's LDAP working with Active Directory was tricky, use the following in config.ini alwaysUseDatabaseForLogin = "admin"authAdapterMethod = "ldap"ldap.options.host = "domain.com"ldap.options.port = "389"ldap.options.username = "CN=username,CN=us…
April 7th
Just a simple script I use to watch for JIRA process, in case if it dies the script would restart it automatically.  This can be used for whatever process.  Note: it's using ps awwx under Solaris. #!/bin/sh jira=$1 pid=`/usr/ucb/ps awwx | gre…
April 1st
concrete5.org provides lots cool add-ons that can be installed by GUI in your concrete5 site.  The add-on is a archive zip file where it needs to be unzipped to your concrete5 web directory on the server.  If you try to install it by GUI with o…
March 22nd
Trying to keep brain from getting rusty... coded some simple functions in C that takes a decimal and spits out binary and hex.  Thought I might share it, enjoy! #include #include void dec2bin(int dec);void dec2hex(int dec); int main(char *argv[])…
March 7th
I've been using gtkpod with my ipod shuffle.  A while ago, not sure what I have done when loading new songs into it, seems everything is corrupted, in gtkpod and hipo both shows the old songs, but when I play it there were only a few new songs avail…
December 10th
Recently I got a new netbook Acer AspireOne D255 Installed Ubuntu 10.10, unfortunately the new clutter windows manager - mutter was a big disappointment, it has an obvious performance issue when comparing without mutter even on a slower atom p…
July 19th
this script would use ffmpeg to split a video into series of images on the second provided. #!/bin/bash for i in `seq -w 1 1 100` do    ffmpeg -itsoffset -00:02:03.$i -i video.avi -vcodec png -vframes 1 -an -f rawvideo pix-$i.png done
May 31st
When running the most obvious command db2setup, it shows the following then nothing happens: DBI1190I db2setup is preparing the DB2 Setup wizard which will guide you through the program setup process. Please wait.   Perhaps it is because…
February 6th
Subversion's user authentication is case sensitive for both userid and password.  While this is the standard in the *nix world, unfortunately Windows users tend to put their userid in whatever case they feel like.  I couldn't find a configurati…
January 18th
compiling tesseract for Linux 32-bit under a 64-bit Linux environment wasn't the most straight forward thing... even with -m32 flag set for gcc flags,it failed during linking: ld -r -o libtesseract_full.o tesseractfull.o \     libtessera…
October 26th
I've been integrating Hudson into our build process, interesting enough that I couldn't find where to set the subversion credentials from Hudson's config menus.  Found the solution from web, simply go to URL to config: http://${HUDSON_HOST:PORT}/scm…