THE JOURNAL

Peter Florijn

101 stories to explore.

ITunes sharing troubleshooting

Introduction¶ I did a little rewiring of all my cables connected to my TV, Apple TV , router etc. While testing it I found out that my iTunes home sharing and Airplay was not working any more. My ATV did see my shared library but was not able to play the songs. After consultation of a colleague and some troubleshooting I finally found the problem. Background¶ iTunes sharing uses the following ports: 123 3689 554 5353 Analysis¶ A long time ago when I was doing some experiments with the PF firewall on OSX, I installed the Icefloor app. Icefloor is a GUI frontend to the PF firewall. For more background on this app Icefloor I was thinking this Icefloor app was not running, but it was still active. It was blocking the essential ports 5353 and 3689. Solution¶ I stopped the Icefloor app and home sharing is working again.

Upgrade to Bugzilla 5.0

Updating to a Newer Release No local changes Upgrade to release 5.0 Local, uncommitted changes I upgraded to Bugzilla 5.0. Since the Bugzilla project now supports git, upgrading is now a simple process. These are my installation notes. Updating to a Newer Release¶ No local changes¶ If you …

Convert svg to png with inkscape (OSX)

Set alias to inkscape commandline¶ alias inkscape="/Applications/Inkscape.app/Contents/Resources/bin/inkscape" call inkscape to convert¶ inkscape -z -f test_full.svg -j -e test_full.png

Cairosvg

Install Cairosvg¶ sudo pip install pycairo brew install py2cairo sudo pip install cairosvg sudo ./waf configure --prefix=/System/Library/Frameworks/Python.framework/Versions/2.7 Additional¶ find out where the svg/cairo libraries were installed make sure that pkg-config finds these, if not, set PKG_CONFIG_PATH to point to the /lib directory of the location were the svg/cairo libraries are installed re-run configure, which should now pick up the new libraries (if not, check config.log) if the build still fails, try to do a make distclean (which requires a new configure afterwards)

Update powerline for OSX

Firmware Update software for Fritz! Powerline is only officially for Windows. But there is beta software that can do the update on OSX. ftp://ftp.avm.de/fritz.box/fritz.powerline/deutsch/mac_beta/

Jenkins jobs lost

On my local development machine I noticed that I missed all my jobs. On my OSX machine all the job info was there in the .jenkins/jobs directory. Adding the following to my startjenkins.sh script solved the problem.

Click2dial

I’m researching different options to implement click2dial. click2call Standards rfc2806

Omnis and java

Research notes on java use in Omnis How can I find which version of Java is installed without running an applet in Windows or Mac? Strip Java out of Omnis RT Information and system requirements for installation and use of Oracle Java on Mac OS X Verify installation of java runtime on Windows Research notes on java use in Omnis¶ How can I find which version of Java is installed without running an applet in Windows or Mac?¶ How can I find which version of Java is installed without running an applet in Windows or Mac? Strip Java out of Omnis RT¶ Re: Strip Java out of Omnis RT - Omnis-Dev Information and system requirements for installation and use of Oracle Java on Mac OS X¶ https://www.java.com/nl/download/faq/java_mac.xml#restore

Disabling Nap App

Since Mavericks there is a feature called Nap app. For some reason it can be better to prevent an application to take a nap. Tip You can disable this for a specific application. defaults write com.apple.Terminal NSAppSleepDisabled -bool YES The Manual Solution: Mavericks comes with a dreaded feature — App Nap – that is designed to save battery live and be energy star compliant. Fine for some apps – but it doesn’t really work if you are using Studio as a web server. You can manually turn it off by: – doing a ‘get info’ on Studio and – clicking the ‘disable app nap’ feature. you’ll get all your studio horses firing on all cylinders even in the background – which is what you want. Disable nap app