Use the ‘wait’ command. some command &some other command & waitcommand that needs the results of the previous two
The following code will crash. Commenting out the wx import (note that wx is never used) will work as expected. import multiprocessing as mpimport wxdef run():import pygletw = pyglet.window.Window(resizable=True)while not w.has_exit:w.dispatch_events()w.close()p = mp.Process(target=run)p.start()p.join() This may be related to the shadow window bug, but setting shadow window to False does not help.
Perian MPEG streamclip Don’t bother with ffmpeg or ffmpegX.
From here: “Subversion’s revision numbers apply to entire trees, not individual files. Each revision number selects an entire tree, a particular state of the repository after some committed change. Another way to think about it is that revision N represents the state of the repository filesystem after the Nth commit. When a Subversion user talks… Read More Svn revision numbers
Problem: Someone has checked in code into svn that needs to be reverted back to an older version Solution: svn revert * #To remove all local edits to your working directorysvn merge -r HEAD:XX svn://path/to/repository/trunk/modulename #add the clean revision’s code to your working directory as changes. XX is the clean revision.svn -ci -m”Reverted back to… Read More Reverting code checked into svn
osascript -e “set Volume 4″ #Sets volume on machinesay -v Whisper “That was fun\!” #Uses text to speech converter
diskutil rename /Volumes/Volume NewVolName Some others:Set Bonjour Namesudo scutil –set LocalHostName NewNameSet Sharing Namesudo scutil –set ComputerName NewName
MacTex Tex Live utility. Update/install the beamer package The beamer.layout file (referred to in the documentation) is NOT part of the beamer distribution but part of the LyX distribution. A recent LyX distribution should have it installed already You should now have a ‘beamer’ document class: use that and follow the beamer guide.
Task Coach : a really good, open source to-do list software that lets you make categories and sub categories and tasks and sub-tasks. Incidentally, written in Python.
ax = pylab.gca() labels = ax.get_xticklabels()pylab.setp(labels, rotation=30, fontsize=10)