Browsing Posts tagged Snow Leopard

Alright, so after trying to use my first solution: I decided terminal is faster. I will probably right some sort of plugin for the finder in the future, if someone doesn’t beat me to it.

Anyway, here is how I currently do SVN

Open Terminal

type cd then drag your SVN folder to the terminal and hit enter.

Most common svn commands:

svn status | grep “^\?” | sed -e ‘s/? *//’ | sed -e ‘s/ /\\ /g’ | xargs svn add

• recursively adds all files..

Adding Files: svn add –force ./* adds all new files in a directory.
Committing: svn commit -m”message” Commit Message is needed, or commit won’t always work
Deleting Files: svn delete file.name
Updating: svn up
File list: svn ls
Latest stats: svn info

For everything else, svn help will bring up more commands

svn help <command> will bring up help for that command. ^_^

So, this is a script that will automate the installation required for converting mkv dts to ac3 for use on the tv.

original article with full installation and use instructions

when finished, you can run

$>mkvdts2ac3 path/to/file.mkv

or

$>mkvdts2ac3 -n path/to/file.mkv to remove the original dts track.

enjoy!

mkdir /ConverterTemp


This installs CMake

cd /ConverterTemp/

curl -O http://www.cmake.org/files/v2.6/” && cmake_install && tar xvzf  && cmake_install

./configure

make

sudo make install

This installs Aften

cd /ConverterTemp

svn co http://aften.svn.sourceforge.net/svnroot/aften Aften

cd Aften

mkdir default

cd default

cmake /ConverterTemp/Aften/

make

sudo make install

This installs MKVInfo

cd /ConverterTemp

curl -O http://iamthekiller.net/downloads/mkvinfo.zip

unzip mkvinfo.zip

sudo chmod 755 mkvinfo

sudo cp mkvinfo /usr/local/bin

This installs libdca

cd /ConverterTemp

svn co svn://svn.videolan.org/libdca/trunk libdca

cd libdca

sudo ./bootstrap

sudo ./configure

sudo make

sudo make install

This installs MKVDTS2AC3

cd ConverterTemp

curl -O http://iamthekiller.net/downloads/mkvdts2ac3.zip

unzip mkvdts2ac3.zip

cd mkvdts2ac3

sudo chmod 755 mkvdts2ac3.sh

cp /ConverterTemp/mkvdts2ac3/mkvdts2ac3.sh /ConverterTemp/mkvdts2ac3/mkvdts2ac3

sudo cp /ConverterTemp/mkvdts2ac3/mkvdts2ac3 /usr/local/bin/

This installs MKVMerge

cd /ConverterTemp

curl -O http://iamthekiller.net/downloads/mkvmerge

sudo chmod 755 mkvmerge

cp mkvmerge /usr/local/bin/

This installs MKVExtract

cd /ConverterTemp

curl -O http://iamthekiller.net/downloads/mkvextract

sudo chmod 755 mkvextract

If you want to make this into a .sh file, simply add semi-colons after each command for every  section.


Expose:

Almost 3 weeks into using Snow Leopard, and I haven’t found too many new things, but here is a list of things I’ve found that are neat.

Being able to select a different application while in Expose, even if that app isn’t
Minimized windows have their own little section so that we don’t forget about them (This happened to me a lot back in leopard: I’d go file->open, and the file would just un-minimize.). Total time saver ^_^

System Preferences

One of my biggest complaints in leopard was that the folders for desktop backgrounds would all say ‘Aperture’ (only if you had aperture installed). So, my temporary fix was to close System Preferences, move my Aperture library, and re-open System Preferences before OS X found out where I moved the Aperture library to.

Keyboard shortcuts are finally organized and not terribly chaotic!


What I’d like to see:

Multiple monitor support is terrible in OS X. I mean, It works flawlessly. But If i have multiple screens, I don’t want my spaces to get bigger. I want Space 1 on my main screen. and Space 2 on my secondary screen. I am a Software Engineer in training and I just can’t believe Apple’s engineers haven’t fixed this problem yet.

Back in Leopard, and maybe even Tiger (that was a long time ago), whenever I wanted to show someone the multi-tasking power, that is the mac, (or when I got really bored) I would open about 50 Finder windows, hold shift, and minimize all of them one at a time – starting a new window when the last was about a third of the way to it’s destination.  ’Twas pretty entertaining–watching a whole bunch of windows get sucked into the Dock in slow motion.  But in Snow Leopard, only one window can be minimized at a time within an application. Have Apple computers lost their ability to excessively multi-task?!?!?!?

When I upgraded from Leopard to Snow Leopard, my contextual menu for using SVN within the Finder died. So here is the first working solution I found. I’m not a fan of using apple script for SVN, but it was quick and easy. Tortoise SVN is a great solution for Windows, but only for Windows… They should make a mac version.

http://svn-finder.sourceforge.net/

Enabling the Apple Script Menu

1. Open AppleScript Editor (Located in /Applications/Utilities/

2. Hit Command + , to bring up the Preferences

3. Make sure “Show Script menu in menu bar” is checked

Installing the scripts

1. Download the scripts from the link above

2. From the Scripts menu in the menu bar, select “Open Scripts Folder” then “Open User Scripts Folder”

3. Make your way to ~/Library/Scripts/Applications/Finder if step 2 didn’t bring you there

4. Drag the downloaded scripts to the folder in step 3 and your done installing!

or, Alternatively, You can install the scripts to /Library/Scripts/SVN if you want all the SVN stuff to be in a sub menu.

Using SVN

The URL for your SVN account is http://USERNAME@SVN_ADDRESS

Terminal will then open and you will be prompted to type your SVN password.

Congratulations! you now have a GUI shortcut for using SVN in Snow Leopard!

Powered by WordPress Web Design by SRS Solutions © 2012 L. Preston Sego III Design by SRS Solutions