Grass

Grass (1999)Today I watched the documentary “Grass“. It shows the history of battles for legalization of marijuana in United States of America.

Directed by: Ron Mann
Genres: Documentary
Cast: Woody Harrelson, Harry J. Anslinger, George Bush, Cab Calloway, Jimmy Carter, Tommy Chong, Nancy Davis, Dwight D. Eisenhower, Gerald Ford, Jerry Garcia, Allen Ginsberg, John F. Kennedy, Gene Krupa, Fiorello LaGuardia, Timothy Leary, John Lennon, Cheech Marin, Robert Mitchum, Richard Nixon, Yoko Ono, Eli Perell, Josh Perell, Ronald Reagan, Harry S. Robins, John Sinclair, Douglass Smith, Stephanie Zari
IMDB raintg: 7.2
My rating: 7.5 [rate 7.5]

Continue reading Grass

Pint 1

Of course I could have said that this picture is just a test of night mode photography of Motorola A780. But the truth is that’s a capture of the moment from the last party, where I am quater drunk, holding the price tag for a lager pint.

Pint 1

Thanks, Vladimir.

Sending bulk HTML emails with perl

First of all, I have to warn you that using HTML in emails is almost always inappropriate. Use plain text. If you have to send HTML, than send it as an attachment.

For those cases, where HTML message has to be sent and there is no choice in the matter, here is a small perl script – send_html_mail.pl

Edit a few lines at the beginning of the file to suit your needs. From address and Subject line must be changed. Locactions of two files – list of recepients and the body of the message – can be either specified on the command line or will be taken from default values hardcoded in the script.

Run the script as:

send_html_mail.pl message.html recepients.txt

If you changed the location of data files or if you are using defaults, than you don’t have to pass any arguments to the script.

List of recepients is expected to be a comma separated list of names and emails. An example file could look like this:

You There,you@there.org
Him Somewhere,him@somewhere.net

Message body file should contain all your HTML, CSS, JavaScript and whatever else is that you want to send. Here is an example file for you:

<HTML>
<BODY>
<H1>Hi there!</H1>
<DIV>This is an HTML message.</DIV>
</BODY>
</HTML>

It is easy to change the script to send plain text messages instead of HTML. Just change the line that specifies Content-Type as “text/html” to “text/plain”.

National Treasure

National Treasure (2004)I am a bit slow on catching up big movies lately, but I’m trying my best. Today I finally watched “National Treasure“.

Directed by: Jon Turteltaub
Genres: Adventure, Action
Cast: Nicolas Cage, Diane Kruger, Justin Bartha, Sean Bean, Jon Voight, Harvey Keitel, Christopher Plummer, David Dayan Fisher, Stewart Finlay-McLennan, Oleg Taktarov, Stephen A. Pope, Annie Parisse, Mark Pellegrino, Armando Riesco, Erik King
IMDB raintg: 6.6
My rating: 6.5 [rate 6.5]

Continue reading National Treasure

Fedora Linux Core 4 is out!

I know that everyone is waiting for it, so I’ll break out the good news – Fedora Linux Core 4 is out. I am currently downloading it from one of the mirrors, but the speed is dicreasing. Hopefully I’ll have it before everything stops completely. I will upload all 4 CDs to Thunderworx FTP as soon as I have them. Meanwhile, you can read the Release Notes.

Update: Fedora Linux Core 4 is available via bittorrent.

Update: Official announcement.

Update: Fedora Linux Core 4 ISOs are uploaded to Thunderworx FTP. You can get them from here.