Blog
Getting the week number of a given date in lotus notes @formulas
Ok first of all i am one of those unlucky guys who has to develop things with Lotus Domino. Especially the formula language is kind of crap (my personal opinion).
But anyway i had to program a calendar and therefore i needed to get the week number of a given date. Thanks to the notesweb where i found an almost working version, i just needed to patch it a bit.
Pausing a batchscript for a given time
Yesterday i have posted a batch script which i have found on my box, so here is another piece of code which i found today.
As you all know Windows sucks when it comes to shell/batchscripting (well not yust there, but that's another story) and so even basic things become difficult.
For example in bachscripting there is no easy way to pause a script for a given time (sleep in bash), but with the help of the ping command this can be achieved.
VMWare wrapper script for fullscreen startup (Windows)
I found a batch script on my pc at work which i had written last year. It might be useful for someone who wants to start a VMware-Virtual-Machine directly in fullscreen mode with a simple shortcut. It is tested on WinXP with VMWare 4.5 but should also work with Win2000.
Debian/Sid and Apt: keep track of the changes.
Since Debian/Sid, which i am using on my primary box, is now switching over to X.org and GCC 4.0 there are a few broken dependencies right now which could cause troubles. I do not always have the time to read the Debian mailinglist (which you actually should if you are using unstable) and therefor i find apt-listbugs and apt-listchanges quite useful.
Having fun while converting ext2 to ext3 and vice versa.
Ok this time i was playing around with different filesystem types. I found this page quite useful by doing so, here is a short summary of the most important commands:
// make a normal ext2 filesystem
mke2fs /dev/hda1
// add a journal and therefore make it to an ext3 fs
tune2fs -j /dev/hda1
// ok now lets remove the journal
tune2fs -O ^has_journal /dev/hda1
// check if still everything is ok
e2fsck -f /dev/hda1
