Chromium nightly updater (Java)

After spending almost 6 months on Firefox nightlies, I am back on the chromium nightlies. I just love how it syncs settings/extensions as well (although not extension’s data currently). It’s also looking much better in all those benchmarks. Anyways, firefox nightlies seem to update themselves regularly. On *ubuntu we have a nightly PPA for Chromium. However sadly on windows, you have to manually update chromium.

To help you guys (and myself) I quickly put together an executable jar (source included) which should update chromium to latest nightly build. Its compiled with java 5, so use any JVM >= 5.

Run it at command line as : java -jar ChromiumUpdater.jar or simply double click if you have associated jar files to open with java binary (No console or window in this case. Just a log file in same directory)

You shouldn’t need to pass any parameters (but if those URLs change, you can pass new URLs as well. There are some optional arguments, you’ll see what arguments it support when you run it (will dump on console and log.txt).

Feel free to modify source (included in jar) or create a BAT of it to schedule it or do whatever you want with it.

Warning: It will download installer and install automatically (if local version lags). It will also kill chromium if running, without asking any questions). Only works on Windows.

Download from: download page

Direct download from here.

Change default remote desktop port from 3389 to something else.

You can easily change the default remote desktop port from 3389 to something else by browsing to following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber

Double click this key, chose decimal and enter the new value. Restart terminal service port.

Why do this? Well if you expose your machine over internet for RDP, then its better to use a non-standard port. The moment I see a 3389 port open, my hands itch to try a few passwords.

Heap41a / USB viruses – “Orkut is banned” !! LOL! (w32.USBworm / Heap41a)

So someone just read “How to write VB scripts in 24 hours” and thought of having some practice and wrote this kiddish thing (OK!! worm if you say so .. ) intended to be distributed mainly through USB drives autoplay.

The other day, one of experienced friend got infected. Yesterday I was browsing my sis PC, even she was infected. Too much for a kid’s experiment.Anyways, here’s what to do after getting infected.
Read the rest of this entry »

Ubuntu, Windows – Limit CPU usage. Control that bully. + Ipod tip.

I do a lot of video and audio conversion for my Ipod. And almost aways, my conversion program (ffmpeg), hogs up my CPU for the entire time with 100%CPU and manages to heat it upto 80 degrees (C). I have seen as high as 85.

Finally, thought there must be some ways of handling it apart from just nicing it or renicing it. Here are the tools I found out.

Read the rest of this entry »