|
|
|
CLI rip for AppleTV and video iPod |
|
|
|
|
Written by Gordon Tillman
|
|
Thursday, 04 December 2008 18:18 |
I wanted to automate the process of using the CLI version of HandBrake to rip one or more titles in a format that looked good both on the Apple TV and on video iPods.
Here is a Python script front-end to the HandBrakeCLI program. I just call it rip. You will need to change the command setting to match where you have HandBrakeCLI installed. If you are not running Ubuntu you may also need to change input_src.
|
|
Last Updated on Thursday, 04 December 2008 19:46 |
|
Read more...
|
|
Creating a CVS Repository |
|
|
|
|
Written by Gordon Tillman
|
|
Sunday, 30 November 2008 17:40 |
Creating a Repository
Take the following steps to setup a location for your cvs repository. For
internal use you do not have to be terribly concerned about security. If you
are going to have multiple people accessing the repository with read/write
access, I recommend that you set the group of the main repository directory to
be that of a group that all users that need access belong to. Then be sure and
set that directory's SGID bit to ensure that any new files or directories
created in the directory are created with the same group ID. In the example
below I'm going to assume you have created a group called cvs.
|
|
Last Updated on Thursday, 04 December 2008 19:46 |
|
Read more...
|
|
|
Don't use len() on QuerySets |
|
|
|
|
Written by Gordon Tillman
|
|
Thursday, 04 December 2008 17:43 |
|
From the Django docs:
Note: Don't use len() on QuerySets if all you want to do is determine the number of records in the set. It's much more efficient to handle a count at the database level, using SQL's SELECT COUNT(*), and Django provides a count() method for precisely this reason.
|
|
Last Updated on Thursday, 04 December 2008 18:37 |
|
Do an initial check-in of your module |
|
|
|
|
Written by Gordon Tillman
|
|
Sunday, 30 November 2008 17:58 |
|
Do an initial check-in of your module
Let's assume you have project files stored in the folder ~/Projects/MyProject
that you want to place under CVS control. In the following commands, be sure
and replace any reference to this location to the one that is appropriate for
your project.
|
|
Last Updated on Thursday, 04 December 2008 19:46 |
|
Read more...
|
|
|
|
|
|
|
Page 1 of 2 |