How to install a missing telnet client on Windows Vista?

Did you notice that Windows Vista fresh install do not have telnet client by default? How to install it? Easy… From Windows Vista desktop:[*] Click “Start” menu[*] Then “Control Panel”[*] Then “Programs and Features”[*] Click the “Turn Windows feature on or off” link on the left sidebar[*] If UAC enabled,, click “Continue”[*] Scroll down, place a check mark on “Telnet…

Read More »

How to: disable wvdial Auto DNS — use static DNS settings

Sometimes you wanted to get rid of your crappy ISP DNS servers for good. I’m using wvdial to dial up, here’s what I do. Steps: [*] Disable usepeerdns. Edit “/etc/ppp/peers/wvdial” file. Commented the usepeerdns line. Here’s what is should look: #usepeerdns [*] Disable Auto DNS in wvdial. Edit “/etc/wvdial.conf” file. Set Auto DNS Off. Auto DNS = Off [*] Add…

Read More »

How to fix: Google Earth crash on Ubuntu 10.04 Lucid Lynx

I got the following error after executing Google Earth application on Ubunto 10.04 Lucid Lynx ubuntu@ubuntu:/opt/google-earth$ /usr/local/bin/googleearth Fatal error in __driConfigOptions line 1, column 0: unknown encoding. Google Earth has caught signal 6. We apologize for the inconvenience, but Google Earth has crashed. This is a bug in the program, and should never happen under normal circumstances. A bug report…

Read More »

How to: dynamically add input field in form, using Javascript

Recently I ran across this issue on a project. Whereas I need to employ a html textarea when needed (dynamic), plus the delete link. These is the Javascript part: function addElement(fieldType, fieldName, className, ctrl1, ctrl2) { var ni = document.getElementById(ctrl1); var numi = document.getElementById(ctrl2); var num = (document.getElementById(ctrl2).value -1)+ 2; numi.value = num; var divIdName = ctrl1+num; var newdiv =…

Read More »