Blog

Having Fun While Converting ext2 to ext3 and Vice Versa

23.07.2005 at 12:50

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

read more comments

PHP and PCRE: Greedy or Not?

18.07.2005 at 12:36

After a while I once again came in touch with Regular Expressions. I needed to convert some BBCode into HTML but didn't want to use a prepacked library mostly because they're just too bloated for my purpose. However, I struggled over a few problems, first of all it took me some time to realize that . (the dot) doesn't match new line characters (n). Maybe I should have read the documentation before starting to code.

read more comments

MySQL v4.1 and Timestamp Updates

17.07.2005 at 00:00

While developing this page I struggled over a (at least for me) strange behavior from MySQL. Every time a row is updated the first timestamp field gets updated too. This even happens when the timestamp field doesn't occur in the query.

read more comments

<< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22