Windows Time Issues Revisted

Well had yet another time related issue. This time I needed something that Windows just does not give me right out of the box – simple control of time updates. Yes you can fiddle with the w32tm command (check out my previous rambling on 32tm) and do all sort of fancy things and detailed settings.

Read More →

Uploading multiple files via ASP.Net 4.5

I often in my developer need come across someone who needs/wants to upload multiple files. In the past I had to resort to commercial solutions such aspuploader. But in version 4.5 of .Net Microsoft finally supports multiple file uploads right out of the box. If you couple that with a generic handler you can upload

Read More →

Clean up Ubuntu boot partition

If you find that /boot in your Ubuntu is full of you can clean up all old versions with following command:   sudo apt-get remove --purge $(dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d')   Another command may work for others:   dpkg -l linux-{image,headers}-"[0-9]*" | awk '/^ii/{

Read More →

1 2 3 4 5 8