20
Jul 09

Opensolaris default username/password

I just spent a silly amount of time trying to find the default logins for Opensolaris 2009.06. The website lists the defaults as jack/opensolaris, but when the screensaver kicked in those credentials didn’t unlock it. After a bunch of trial and error, jack/jack worked. Also- if you boot directly to the console, a username and password of jack/jack log you in, while the supposed default of jack/opensolaris doesn’t.

Just in case it helps anyone!

Kris


23
Mar 09

Python Timecode Class

It’s a work in progress, but I had to throw this together for a Combined Continuity Spotting List compiler script I’m working on.

Basically it’s just a Python Timecode class. You can initialise it with a string, another Timecode class, or hours/mins/secs/frames as ints. e.g. Timecode( AnotherTimecode ) … Timecode( “01:00:00:00″ ) … Timecode( 1,0,0,0 )

Once initialised you can do what you’d expect … add, multiply, etc. to Timecodes .. you can do maths with Timecodes and ints and floats, and the result will be a Timecode. It converts the Timecode to Frames, does the math, then converts back and returns as a Timecode object.

So … Timecode( “01:00:00:00″ ) * (25/24) will return a timecode corrected for a PAL (25fps) -> NTSC (24fps) time scale, as you would want if doing a timescaled 25fps->24fps->[pulldown]->29.97fps conversion.

Moth_Timecode.py