Skip to content

Instantly share code, notes, and snippets.

View myhd's full-sized avatar

Jakob Lehr myhd

  • http://myhd.org
  • Berlin, Germany
  • X @myhd
View GitHub Profile
@myhd
myhd / mount_afp_when_itunes_running.sh
Created September 7, 2012 11:46
Script to connect to an AFP server when iTunes is running
#!/bin/sh
# This script will connect to an AFP server when iTunes is running
# 2012-09-07
HOST="hostname" # AFP server, e.g. server.local or 192.168.1.94 or…
USER="your_user_name" # for connection to AFP server
PASS="your_password" # for connection to AFP server
VOLUMENAME="your_volume_name" # name of volume to be mounted, typically username on AFP server.
@myhd
myhd / gist:3618163
Created September 4, 2012 07:51
error installing graphicsmagick
computer:~ user$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install graphicsmagick
==> Downloading http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.15/GraphicsMagick-1.3.15.tar.bz2
Already downloaded: /Library/Caches/Homebrew/graphicsmagick-1.3.15.tar.bz2
/usr/bin/tar xf /Library/Caches/Homebrew/graphicsmagick-1.3.15.tar.bz2
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/graphicsmagick/1.3.15 --enable-shared --disable-static --disable-openmp --with-gs-font-dir=/usr/local/share/ghostscript/fonts
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/graphicsmagick/1.3.15 --enable-shared --disable-static --disable-openmp --with-gs-font-dir=/usr/local/share/ghostscript/fonts
configuring GraphicsMagick 1.3.15
checking build system type... x86_64-apple-darwin11.4.0
checking host system type... x86_64-apple-darwin11.4.0
checking whether build environment is sane... yes
@myhd
myhd / gist:3527391
Created August 30, 2012 12:15
error installing ffmpegthumbnailer
computer:~ user$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install ffmpegthumbnailer
==> Downloading http://ffmpegthumbnailer.googlecode.com/files/ffmpegthumbnailer-2.0.7.tar.gz
Already downloaded: /Library/Caches/Homebrew/ffmpegthumbnailer-2.0.7.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/ffmpegthumbnailer-2.0.7.tar.gz
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/ffmpegthumbnailer/2.0.7
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/ffmpegthumbnailer/2.0.7
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no