Mar 122012
 

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 of Homebrew I tried this way to install Pulseaudio on Mac OS X 10.7 and it works for me:

brew update
brew install https://raw.github.com/gist/1633642/pulseaudio.rb

Problems:

http://pastebin.com/wLnzsWug

Alternative: The other formula (https://github.com/mxcl/homebrew/pull/9226) can be installed as follows (but doesn’t support Apple’s CoreAudio):

Mar 022012
 

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

pmset -g assertions

Resources

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Feb 052012
 

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 how to activate dnsmasq:

# copy example configuration file:
cp /usr/local/Cellar/dnsmasq/2.57/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
# To load dnsmasq automatically on startup:
sudo cp /usr/local/Cellar/dnsmasq/2.57/uk.org.thekelleys.dnsmasq.plist /Library/LaunchDaemons
sudo launchctl load -w /Library/LaunchDaemons/uk.org.thekelleys.dnsmasq.plist

Configuring dnsmasq

OK, let’s edit the dnsmasq configuration file /usr/local/etc/dnsmasq.conf now.

Jan 202012
 

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 by a user-friendly GUI designed using Qt.
If your data is stored in TTree stuctures and you want to perform simple analysis with your data without writing any piece of code, iRoot is for you. It has GUI interfaces for most of the jobs that one is most likely to perform with TTree data. Fitting, analysis with PROOF, converting TTree data to ASCII, uploading plots to the cloud etc., are some attractive features to mention.

Jan 172012
 

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 "\nIPv6 Neighbours:\n" && ip -6 neigh

Mac OS X

Neighbour discovery (command for IPv4 was arp -a -n):

ndp -a -n  # the -n prevents ndp from reverse looking up the IPs

Windows

Most of the standard network utilities of Windows will also work for IPv6 related matters. Standard utiilties are:

Jan 152012
 

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 install tinc

On Ubuntu / Debian:

sudo apt-get update && sudo apt-get install tinc

On Mac OS X using Homebrew (you also need TunTap for OS X):

Jan 042012
 

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, I posted the terminal output of ./MacOSX/configure, make and sudo make install.

Also note that you need the Developer SDK for Mac OS X 10.6 (/Developer/SDKs/MacOSX10.6.sdk – I think I still had it as I was updating from Snow Leopard 10.6) and the headers for libusb (I installed mine via Homebrew: brew install libusb).

Dec 202011
 

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 –verbose
==> Downloading http://www.haskell.org/ghc/dist/7.2.2/ghc-7.2.2-i386-apple-darwin.tar.bz2
File already downloaded in /Users/philipp/Library/Caches/Homebrew
/usr/bin/tar xf /Users/philipp/Library/Caches/Homebrew/ghc-7.2.2.tar.bz2
ghc-7.2.2/libraries/haskeline/dist-install/build/libHShaskeline-0.6.4.0_p.a: Write failed
ghc-7.2.2/libraries/haskeline/dist-install/build/libHShaskeline-0.6.4.0-ghc7.2.2.dylib: Write to restore size failed
ghc-7.2.2/compiler/stage2/build/libHSghc-7.2.2.a: Write to restore size failed
[...]

So the unpacking of the downloaded source file produced the problem.

Dec 142011
 

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 upload your whole Dropbox again.

Prerequisits / Installation

Install Fuse4X and install EncFS. If you have Homebrew, this is as easy as:

brew install encfs

Setting Up The Encrypted Dropbox Folder

We don’t want to encrypt the entire Dropbox as we would loose other dropbox features as sharing some files via a public link etc. So we set up an encrypted Dropbox subfolder:

Dec 112011
 

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 Translate.