Posts with the category Mac OS X 10.7 Lion

Installing Pulseaudio on Mac OS X 10.7 Lion via Homebrew

The following steps didn't work for me (I could compile pulseaudio but it crashed when loading Apple's Coreaudio support or it wouldn't contain CoreAudio support). So I decided to use the Solution via Soundflower and esound described below the pulseaudio section.

As long as this pull request is not part...

Read on

Find Out Why Your Mac OS X based Computer Doesn't Sleep

Running this command will show you if there is something preventing your computer to go to go to standby automatically:

pmset -g assertions

Resources

...

Read on

Install DNSmasq locally on Mac OS X via Homebrew

This post describes hot to use dnsmasq as a local DNS server for faster caching and to resolve domain names in your private address space.

Installing dnsmasq

Installing dnsmasq is easy when you have Homebrew installed on your Mac:

brew update && brew install dnsmasq

And follow Homebrew's hints on...

Read on

Installing iRoot from TATA Institute on Mac OS X

iRoot is a product of the India-based Neutrino Observatory collaboration lead by Prof.Naba Mondal at the Tata Institute of Fundamental Research.
It is a simple plotting and analysis tool based on the popular ROOT from CERN and is primarily intended for analysis using the TTree structures in ROOT. iRoot is supported...

Read on

IPv6 Tools on the Command Line

Linux

neighbour discovery:

# trigger the discovery
ping6 -c2 -I eth0 ff02::1
# print the results:
ip -6 neigh

Or with the network interface specified in a shell variable and the commands put in a single command line:

IFACE=eth0
ping6 -c2 -I $IFACE ff02::1 && echo -e...

Read on

VPN with tinc and IPv6 (Using OpenWrt Routers)

The vpn software tinc has full support for IPv6 according to its projects' web site.

Here are the features in short:

  • Encryption, authentication and compression
  • Automatic full mesh routing
  • Easily expand your VPN
  • Ability to bridge ethernet segments (check this)
  • Runs on many operating systems and supports IPv6

Installing tinc

On OpenWrt Routers:

opkg update
opkg...

Read on

Installing the newer libccid v1.4.4 on Mac OS X 10.7

I tried libccid v1.4.5 before but couldn't get it to compile. Here are all the needed steps again as Terminal commands to get 1.4.4. to work:

cd ~/Downloads
curl -k -O https://alioth.debian.org/frs/download.php/3579/ccid-1.4.4.tar.bz2
tar -xf ccid-1.4.4.tar.bz2
cd ccid-1.4.4
sed -i '.bak' 's/-arch i386 -arch x86_64/-arch x86_64/g' ./MacOSX/configure
./MacOSX/configure 
make
sudo make install</code>

If anyone is interested,...

Read on

[fix] "Write failed" and "Write to restore size failed"

When trying to install a large software package (haskell-platform and / or ghc) Homebrew didn't want to continue with the installation because of some strage error. To my surprise, Google didn't reveal any hints to other users who had this problem too!
Here are the symptoms:

philipp@lion:$ brew install ghc --devel...

Read on

Transparently Encrypt Folders with encfs

EncFS (on Wikipedia) – a FUSE filesystem – can help encrypt cloud synced folders (using business proof AES or Blowfish algorithms). It operates on smaller blocks (not a single big file) and thus works well with Dropbox, because when only one decrypted file is changed, it won't...

Read on

Automized Extraction of Transactions on the ING-DiBa Online Banking Website

This is an iMacros script to extract transaction details on the online banking website of the German branch of the bank ING-DiBa. As this is mostly interesting to Germans, the following blog post is in German. If you want to read it in English, consider translating it using Google...

Read on

rsync for Mac OS X

You can upgrade Lion's version of rsync (2.6.9) to 3.x (currently 3.0.9) via Homebrew:

brew install https://raw.github.com/Homebrew/homebrew-dupes/master/rsync.rb

Backing up a remote folder to a local one works like this then:

rsync -avz -e ssh www-data@example.com:/var/www/ /var/www/

Resources

Read on

Install ROOT CERN on Mac OS X 10.7 Lion

Prerequisites

First, you need to install XCode 4 which can be found in the Mac App Store. You need it because it's providing the compiler and the git binary. Then install Homebrew using ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)".

ROOT Installation

Installing ROOT using configure and make is fairly easy. I recommend the...

Read on

Colourful SVN Diff on Mac OS X

I do not particulary like SVN but sometimes I have to use it. The diff output on the Mac OS X command line usually is not colored which is annoying. The solution is to tell SVN it should use colordiff instead. You can easily install colordiff using homebrew:

brew...

Read on

Downloading Picasa Web Albums

Picasa-Downloader – A simple Python script to get the normal size images

https://github.com/anoopjt/Picasa-Downloader

pip install BeautifulSoup
cd ~/Downloads
wget https://raw.github.com/anoopjt/Picasa-Downloader/master/picasa_downloader.py

Pycasa – capable of downloading full size images

http://code.google.com/p/pycasa-download/

This open source software includes a GUI. It relies on PyGTK and it is therefore difficult to get it to work with Mac OS...

Read on

FUSE Filesystems

With FUSE - The Filesystem in Userspace you can mount all different kinds of remote / local filesystems on you Linux/Unix/Mac computer. Here are some implementations of interesting FUSE filesystems:

Read on

Get a CLEAN installation of OS X Lion

There had been some concern that users can’t perform a clean install of Mac OS X 10.7 (Lion) as the upgrade comes without any physical media. You can, however, install Lion as an upgrade of your existing system first. The OS X Installer automatically creates a "Recovery HD" partition on your...

Read on

Use Synergy on Mac

http://synergy-foss.org/pm/projects/synergy/wiki/UsingSynergy

Install:

cd ~/Downloads
curl -C - -O http://synergy.googlecode.com/files/synergy-1.4.5-MacOSX107-x86_64.dmg
open synergy-1.4.5-MacOSX107-x86_64.dmg
cd /Volumes/Synergy/
cp -r Synergy.app /Applications/

Start the server:

synergys -f --config ~/synergy.conf

where synergy.conf is:

# sample synergy configuration file
#
# comments begin with the # character and continue to the end of line.
# comments may appear anywhere the syntax...

Read on

Apple Remote / Advanced Configuration

Update 2011-12-20: As there is no update of iRedLite for OS X 10.7 Lion so far. You can still use it but the bindings for Preview.app are broken. A workaround is to set the buttons to actions such as Current App → Cursors Movement → Right to go one slide...

Read on

Mount T-Online Mediencenter via WebDAV

This blog post describes how to mount the T-Online Mediencenter via WebDAV on Ubuntu Linux and on Windows 7 (64bit).

Resources

How To for Mac OS X

  1. Open Finder.
  2. Press [⌘]-[k].
  3. Connect to https://webdav.mediencenter.t-online.de
  4. Enter email address and password.

How To for Ubuntu Linux

First, install the required package davfs2:

sudo...

Read on

Install the Collaboration Tool Gobby and its Server infinoted

sudo apt-get install gobby

Open gobby and create a session, tell your collaborators your IP, port and password and start working on documents together.

install newer version using launchpad PPD

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com CFB6301E
echo "deb http://ppa.launchpad.net/infinote/ppa/ubuntu jaunty main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update 
sudo...

Read on