Spreadsheet calendar
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.
Posted by: Z24 | Sat, Apr 04 2009 |
Category: /programming |
Permanent link |
home
Tagged as: programming, spreadsheet
Regular expressions pattern options
In regular expressions there are some constructs that influence the way a pattern is matched:
- Non-greedy
? - Non-capturing
(?:pattern) - Positive lookahead
(?=pattern) - Negative lookahead
(?!pattern) - Positive lookbehind
(?<=pattern) - Negative lookbehind
(?<!pattern) - Testing regular expressions
Posted by: Z24 | Sat, Dec 22 2007 |
Category: /programming |
Permanent link |
home
Tagged as: perl, programming, regex, visual basic
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 update-rc.d.
Here is the detail:
Posted by: Z24 | Sun, Aug 27 2006 |
Category: /linux |
Permanent link |
home
Tagged as: command-line, linux, programming, script, shell
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
Bash for:
for var in some-list ; do command ; done
Posted by: Z24 | Sun, Aug 27 2006 |
Category: /linux |
Permanent link |
home
Tagged as: command-line, linux, programming, script, shell
http://www.mycomputingart.com/
To contact the webmaster and author write to: info<at>mycomputingart<dot>com
© mycomputingart.com, year(today()).


