Skip to content

Instantly share code, notes, and snippets.

@robbdimitrov
Last active August 29, 2015 14:01
Show Gist options
  • Save robbdimitrov/408de958eb07ee827b6c to your computer and use it in GitHub Desktop.
Save robbdimitrov/408de958eb07ee827b6c to your computer and use it in GitHub Desktop.
OSX Fixes

OSX Fixes

Reset Airplay when unable to select it as a sound output device

sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'`

Uninstall Java

sudo rm -rf /System/Library/Java/JavaVirtualMachines/*.jdk
sudo rm -rf /Library/Java/JavaVirtualMachines/*.jdk
sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefpane

Export NSLocalizedStrings from source files

genstrings -o en.lproj *.m

Extracting strings from interface builder files

ibtool --generate-strings-file Example.strings en.lpoj/Example.xib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment