Wednesday, September 14, 2011

python email dates

When using Python to send email, you may find that you need to set the Date: field. This task is made trivial with the standard module email.utils. The following will likely be what you want:

email.utils.formatdate(localtime=True)

Tuesday, June 28, 2011

setting a Windows 7 service as Automatic (Delayed Start) from the command line

I wanted to set my condor service to start automatically, but (hopefully) after network was available to get around the problem discussed on the Condor Users mailing list.

Here's the command:
sc config condor start= delayed-auto

Monday, May 23, 2011

clozure common lisp windows 7 64 bit dlls for opengl

Hello,

I am learning OpenGL and Common Lisp at the same time...

If you need 64-bit DLLs to use lispbuilder-sdl or cl-opengl with Clozure Common Lisp on Windows 7 64-bit version, I compiled some from source using Microsoft Visual Studio 2008. I certainly can't guarantee that they will work for you, but hopefully they do.

http://pages.cs.wisc.edu/~mick/downloads/lisp/clozure/windows-7_64bit_dlls/