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.
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.
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: