Blog posts index page 26

File section on emcken.dk

I have been planing to put a file section on my website for some time now. Earlier I just posted files in my weblog, but evntually they dissapear into the archives of the weblog and therefore not easily accessable. From now on I will put files in my new file section, if their relevance is beyond a single post in my blog.

Read more...

chmod (distinguish between files and directories)

I hate having execute bit set on files not supposed to be executable. But I have always found it a lot easier to set it to keep directories browseable when chmod’ing a directory recursive. Now I thrown a little bash line together to easily only chmod files or directories.

Read more...

Convert txt-list to HTML-list

The following PHP code converts a txt list to at html list. Look at example below. Nothing new in this… alot of Wiki pages can do that, I just thought it was cool. After using alot of time to figure out how (new to regular expressions) it makes you wanna show it to the world:

Read more...

Finally my server is up and running again

The reason for the break down was not big (at least not in gigabyte). It was an old IDE 1.8GB Maxtor harddisk which contained my server OS, homepages and databases. Thank god I have recovered all my data. It is impossible to boot from the harddisk and data transfers are very slow sometimes unstable. It has now been replaced by two 200GB Seagate disks. They are supposed to run RAID1 but so far only a data drive with the websites and the databases is a RAID partition.

Read more...