« September 2008 | Main | November 2008 »

October 2008 Archives

October 1, 2008

TinyDNS on OSX

Tinydns (djbdns) on Mac OS X with Launchd [ShWiki]

October 9, 2008

Thunderbird IMAP check all

Thunderbird Help: Tips & Tricks

Check all IMAP folders for new mail

Thunderbird can download mail from all accounts when you start the program. Just open the Config Editor, search for the preference mail.check_all_imap_folders_for_new, and change its value to true

October 11, 2008

FI Mailshot

Future Internet Mailshot

Raw SMTP in Perl

Using Perl to Send Mail

Handy Perl Scripts - Incudes

Perl Scripts

Here are some Perl scripts that I coded years ago, when I was just starting with Perl. They just work, even if the code is not so pretty.

* mail-lib.pl - If you submit a lot of email thru the scripts you will want to use this library, since it uses SMTP to talk directly to the mailhost and you don't get the overhead of loading a client mail program like sendmail each time you send email.
Check if you have SMTP running by 'telnet mailhost 25' on Unices, replace mailhost with your mailhost server, in many cases it would be the name of your server.
* cgidie-lib.pl - This little lib assigns a subroutine to SIG{__DIE__} so when something wrong happens during the run of your script, you will not get the ugly "Error Occured" message but a nice html with complete information: what was the error, where the script was called from and other parameters, and the most important with email link so user can easily report to you about it and include all the info you will ever need to locate the error.
Also you will not need that custom Cgierror() subroutine people use everywhere. just use die() and it'll produce the same thing as you did with Cgierror() but with no extra coding.
It also knows to handle the shell vs browser mode. so if you debug the script from shell you will never see the html around the error but the sole error message
* ls2html.pl- script to create index.html recursively in all subdirectories to include all images so you can view all of them at once. You can modify the maching patten to collect any type of the files. This is also a good example of making recursive scripts just write your own subroutine to do something for each dir/file and you can run it recursively now.
* replace.pl- script to replace pieces of code in sequence of files (options: -case insensitive/sensitive, -global ,-backup the original file
* condense.pl - Script to remove the redundant empty lines (generally when you turn html file to text file)
* hex2bin.pl - Converts hex number to binary representation and prints each hex symbol as XXXX binary
* parg2html.pl - Converts input file with paragraphs of text separated by newlines into set of files named pattern.DD.html one paragraph per file packed in standard html headers. where DD is the number of the paragraph
* setrights.pl - Runs recursilvely on one of your dirs and sets regular files access modes and directories access modes. You can change the modes by modifying the patterns.
* tagstrip.pl - Strips HTML s from html files. It's not 100% works yet, but it's better than doing it by hand. (It makes troubles when you have recursive )
* imgextract.pl - This program extracts image path/filename from your html source and prints it out the sorted and unique results As well supposed that your system has "uniq" and "sort" utilities. (was written when starting using perl so no internal function has been used) Now program supports following patterns: and
* findpat.pl - Script that browses recursively all the dirs down the one you have called from Finds all the pattern occurencies you need, Prints the name of the file with relative path, lines where is has found and the lines themselves
* fixhtml.pl - Breaks lines with \n after each ">" closing tag (except ">\n") So you can read the source of the html file if someone produced it with cgi which spit all in one line.
* recurs.pl - This script executes recursively on subdirs the command you supply as a parameter

Scripts by Other Authors.

* rename.pl- (by Larry Wall) Does mv *.c *.cc by rename.pl s/\.c/\.cc/ *.c
* traceroute.pl - (by Marc Spitzler) Does Ping and Traceroute thru CGI (you will need CGI.pm)

Perl SMTP Script

smtp-client.pl

October 14, 2008

THUNDERBIRD TRICKS

Thunderbird Help: Tips & Tricks

Ubuntu remix - Netbook - Many Links

Ubuntu on MSI Wind Installation Instructions

Canonical Announcement

Kubuntu HARDY HERON DVD Download

Download the Stuff

Excited for Ubuntu Netbook Remix: A Conservative Techie

Ubuntu Netbook Remix: Future isn't around the corner, it's here!

http://ubuntuforums.org/showthread.php?t=857110

October 15, 2008

Ubuntu Guide - Looks Good

Ubuntu Linux Resources

Continue reading "Ubuntu Guide - Looks Good" »

October 21, 2008

open access journal

Case Study: Open Access Yields Solid Growth for Hindawi

October 22, 2008

Make Use Of Cheat Sheets

MakeUseOf Downloads | MakeUseOf.com

October 28, 2008

locale on OSX

Dangerously Opinionated / Unicode is tricky in Java and might be impossible in C

About October 2008

This page contains all entries posted to MSOF Private in October 2008. They are listed from oldest to newest.

September 2008 is the previous archive.

November 2008 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.34