Mac OSX

Nmap and Wget for OS X

I get pretty mad at things like darwin ports / fink - I just don’t like having three versions of perl… things like that .. So I compile packages for myself.. Hopefully you can find them useful as well.  Here are my version of wget and nmap for OS X:

wget-1101

nmap-460

Cheers,

Aaron

Wednesday, April 23rd, 2008 Mac OSX No Comments

SynergyKM for 10.5

I have rebuilt the SynergyKM package created by Lorenz Schori - Upgraded it for 10.5 xcode compatibility and modified the installer.  Next I will attempt to bring it to synergy 1.3.1  Here is the link : SynergyKM 1.0

Cheers!

Saturday, March 22nd, 2008 Mac OSX 3 Comments

Backups using rsync and ssh

Managing multiple *nix machines can often be a pain in the arse.  Backups are a must.  I have written a basic backup script to meet my basic needs.  It uses ssh and rsync, is capable of using ssh-agent - allowing for passphrase / phrase-less key usage ( handy for making it run out of cron ), runs pre/post operations - good for db backups.  It is not supported, and will only chaged when I need changes :D!

The entire setup, including example pre/post scripts can be found here. If you find it useful, feel free to send me a comment or suggestion ;).

Cheers › Continue reading

Wednesday, February 20th, 2008 Debian, Linux, Mac OSX, Scripts, Unix No Comments

I want my iPhone to run Android

Android is awesome, simple and elegant..  Perfect for the iPhone ( at least the hardware )!  Maybe, someday, the iPhone will have a dandy SDK that will allow for awesome integration, more simplistic interfaces and better __insertsomethingthatshouldbebetterhere__.

Bastards.

Monday, November 12th, 2007 Linux, Mac OSX 2 Comments

Convert AVI to PS3 Compatable mp4

I recently purchased a PlayStation 3! When I booted it up I noticed the “Find Media Server” option. This got my juices flowing. I always have to connect my laptop to the TV when I want to watch movies from my network share ( I use samba to distribute them to the many computers at my house ). This gets very annoying, especially when using WiFi.

Enter Media Tomb, a UPnP ( Universal Plug and Play ) media server! MT is pretty easy to configure so I won’t go into that here.

So now I have a functional media server, presenting all my media to the PS3! GREAT! EFF! Wait… None of the movies play… SIGH.. I quickly pulled out the PS3 owners manual and checked for compatible video formats. Alas one of my ~70 movies where in the correct format.

Enter mplayer faac ffmpeg bc MP4Box x264 and Jarkko’s nifty script! On Debian, installation of the of the needed apps couldn’t be simpler apt-get install XXXXX and wham you are done and ready to transcode!

Mac OSX, however, is a different story.

First you need to have Mac Ports along with the following ports: wxWidgets libtheora spidermonkey freetype openjpeg faad2 XviD ffmpeg faac x264 . Once you have all the listed applications installed, you can start building GPAC ( this is where you get MP4Box ).

Building GPAC:

First off we need to set some variables so everything knows about the headers and libraries for the ports we have installed.

export CFLAGS="$CFLAGS -I/opt/local/include"
export CPPFLAGS="$CFLAGS"
export LDFLAGS="-L/local/lib -L/usr/local/lib -L/opt/local/lib"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/opt/local/lib/pkgconfig"
export ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I /opt/local/share/aclocal"

Now build GPAC with ./configure --prefix=/opt/local && make && make install. As long as you have your $PATH setup correctly everything should be in place for you to convert your movies!

Sunday, October 14th, 2007 Debian, Linux, Mac OSX, Scripts 2 Comments