Jan 22 2015

Upgrading XServe (2009) Drive Modules

Lately i thought it’s a good idea to reuse the old XServe 2009 Model (only capable of running OSX up to 10.6) as a VMWare Sphere Host. But this model has just one harddrive installed in an ADM (Apple Drive Module) with a capacity of 80 GB.

I grabbed a 2 TB Western Digital green harddrive and replaced the 80 GB drive in the drive carrier.

But the ESXI installer couldn’t find the drive :-(

After some online research i found a hint that the ADM only use 1.5 Gigabit Mode for Serial ATA. So i installed a jumper on position 5-6 on the Drive and voilà – it worked!

Apr 01 2014

Vagrant and VirtualBox 4.3.10 not mounting /vagrant

seems to be a bug in VirtualBox 4.3.10, but there is a quickfix available. Do vagrant ssh and then:

sudo ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions

Nov 15 2013

Moving from Sublime Text 2 to Sublime Text 3

Screen Shot 2013-11-15 at 16.46.02As Sublime Text 3 is around in public beta for quite some time, i thought i upgrade from my 2.x version to the new and – as it’s written on their homepage – faster version 3.

Ross Lawley has a perfect guide how to upgrade painlessly:
http://rosslawley.co.uk/posts/switching-to-sublimetext-3/

And thanks for the hint to check the compatibility of the plugins first on this great page:
http://www.caniswitchtosublimetext3.com/

 

Steps how i upgraded:

  • download Sublime Text 3
  • install package manager in Sublime Text 3 by showing the console (view -> show console) and entering this text:
import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())
  • using the package manager install all your (green) plugins you used on Sublime Text 2
  • copy and paste user settings (Preferences -> Settings -> User)
  • go to terminal and copy TM Themes, other settings and relink the commandline “subl” to the new version (i have ~/bin in my path):
$ cp ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User/*.tmTheme* ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/
$ rm ~/bin/subl
$ ln -s /Applications/Sublime\ Text\ 3.app/Contents/SharedSupport/bin/subl ~/bin/subl

Enjoy!

Oct 04 2012

Use multiple email addresses (SSH keys) with GitHub

There is a good tutorial on Gist that shows all the required tasks:

https://gist.github.com/2351996

This post is to remind me how to do it ;-)

Sep 10 2012

Shairtunes (airplay audio client) on Mac OS X 10.7


Based on Thias blog instructions on building shairtunes for Mac OS X.

  • install XCode using AppStore on Mac OS X 10.7 (a AppleID is needed for that)
  • open XCode, in the Preferences “Downloads” click on button to download and install the Command Line Tools
  • Download and install Mac Ports (http://macports.org/)
  • Open Terminal and type:
$ sudo port install git-core libao p5-io-socket-inet6 p5-libwww-perl p5-crypt-openssl-rsa
$ sudo port install pkgconfig

install shairtunes as a damon:

$ sudo mkdir -p /usr/local/bin/
$ sudo cp hairtunes shairport.pl /usr/local/bin/
$ sudo vi /usr/local/bin/shairport.pl # change the path of cli_hairtunes  /usr/local/bin/hairtunes
$ sudo cp org.mafipulation.shairport.plist Library/LaunchAgents/
$ launchctl load org.mafipulation.shairport.plist
$ launchctl unload org.mafipulation.shairport.plist # (to remove)

Attention:

works only while a user is logged in! (on the login screen there is no shairtunes possible) consider using autologin for this mac (but be aware of the possible security risks!)

Apr 12 2012

OpenWRT on TP-Link MR3020 as infopoint with local webserver

Howto install OpenWRT on an TP-Link MR3020 mini router with external filesystem on a USB stick running a local webserver (lighttpd) to serve up webpages to act as an info point e.g. in a exhibition.

Inspired by the Piratebox Project: http://wiki.daviddarts.com/PirateBox_DIY_OpenWrt
Read the rest of this entry »

Mar 16 2012

New Fritzing parts

I recently built two Fritzing parts, as i needed them for documentation and since they are Sparkfun breakout boards, i thought they might be useful to others, so i shared them on the Fritzings Google Code page. Today i found this comment and i’m happy that two parts i made will be integrated in one of the next Fritzing versions :-)

If you can’t wait till the next Fritzing release, here are the parts:

SHT15 humidity sensor breakout board from Sparkfun.com

Humidity Temperature Sensor SHT15.fzpz

ADJD-S311 color sensor breakout board from Sparkfun.com

Color Sensor Breakout ADJD-S311.fzpz

Oct 20 2011

iChat 6 (Lion) as a Adium replacement?

For years i used Adium, but sometimes i miss the video and audio features iChat provides.

As i updated to Mac OS X 10.7 aka Lion i thought i should give iChat a try. Suprisingly iChat 6 has some features which come close to Adium’s user experience:

  • now supports Yahoo! Messenger, even with audio and video – that’s good!
  • has an open plugin interface for thirdparty protocols
  • Facebook (using Jabber): works
  • Jabber server from work works out of the box
  • GMail / GoogleTalk works (audio / video not tested)
  • AIM out of the box
  • ICQ works (you have to use an AIM account and change the server to login.icq.com and disable SSL)
  • Bonjour works out of the box

Protocols i used in Adium and missing in iChat out of the box:

  • Twitter (workaround: twitter.im – seems to work)
  • MSN (“Cocoon” plugin is in early development, but seems promising)
  • IRC (iChat 6 plugin is also in early development, but promising, was able to connect to a room, but many features missing)
  • Myspace (but who is still using it anyhow ;-) )

right now iChat seems to provide almost all important protocols i used to use on Adium plus the video and audio chatting.

Aug 04 2011

Tethering from iPhone 3G to iPad 2 – works

If you own a iPhone 4 and have iOS 4.3 or up installed your lucky because Apple gave you a personal WLAN hotspot for sharing your 3G internet connection to your WLAN enabled devices nearby.

But i still have my old iPhone 3G but wish to share its internet with my brand new iPad 2, so what to do? – it’s easier than i thought:

  1. Enable bluetooth on both your iPhone and iPad
  2. Select the iPhone on your iPad in the bluetooth settings and pair with it (not other way round!)
  3. I had bluetooth tethering already enabled on the iPhone, otherwise you should enable it now
  4. enjoy your internet on your iPad, that’s it!

Jun 19 2011

gEDA open source electronic design automation

gEDA is installed using macports, but when installing i found a little problem when xgsch2pcb complained about a missing update-desktop-database
[important]fix: install desktop-file-utils first[/important]

complete install commands:

1
2
3
4
5
$ sudo port install desktop-file-utils
$ sudo port install geda-gaf
$ sudo port install pcb
$ sudo port install xgsch2pcb
$ sudo port install gerbv

useful addition: Mac OS X launchers for the commandline tools make it easy to start the apps and to double click documents, launches X11 and the responsible program:
http://www.msarnoff.org/geda-mac/

Older posts «