A classic calendar made with OpenOffice Calc:
The cells with orange background are Italian holidays, and the background has been added manually (no formula); Easter is missing because its calculation would require a custom formula.
In regular expressions there are some constructs that influence the way a pattern is matched:
- Positive lookahead
- Negative lookahead
- Positive lookbehind
- Negative lookbehind
- Testing regular expressions
- Making a flat surface
- Installing - ouch, it's not compatible with some MSI K9N Platinum
Mounting a second fan on the back of the case (Antec SLK3000B)
With the summer approaching, I am making some experiments trying to cool my pc as much as possible while keeping it quiet. Now, airflow in the case is made by 2 fans: the intake fan, a Papst 4412 F/2GLL, pulls air inside the case from the front, the exhaust fan, a Antec Tricool coming with the SLK3000B, pushes air out to the back; in addition, the psu fan pulls air from the top of the motherboard through the psu to the back.
Since I bought a second Papst 4412 F/2GLL, I tried positioning this fan in different locations to see which one conributes the best to the cooling. One of these is the back of the case, in the bottom, where there would be additional cards: it pushes air out of the case through the back slots.
Hard disk suspension in an Antec SLK3000B
The main problem of the Antec SLK3000B case is it converts hard disk vibrations to noise, and this is the most annoying noise coming from my pc when the fans are set at the lowest speed. In the SLK3000B the hard disks lay in a cage with grommets that are supposed to dampen the vibrations of the 7200 and more rpm hard disks.
The trend spreading amongst silencing modders is to suspend the hard disks in the air to avoid contact between the case and the hard disks.
I'll try to answer these questions:
- What is AMD Cool'n'Quiet?
- Does it really work?
Execute a command at shutdown
To dismount TrueCrypt volumes at shutdown and reboot time, I created a script, put it in
/etc/init.d/ and symlinked it into the needed
/etc/rc?.d/ directories using
Here is the detail:
How to rename multiple files from bash
Rename all *html files to *test:
for x in `ls *html`; do mv $x `echo $x | sed -e "s/html/test/"`; done
for var in some-list ; do command ; done