Skip to content

Instantly share code, notes, and snippets.

/**
* Since 10.8.4 you may receive the following error messages in the konsole.app
* May 13 23:56:41 alluminium coreaudiod[238]: Enabled automatic stack shots because audio IO is inactive
* May 13 23:56:42 alluminium coreaudiod[238]: Disabled automatic stack shots because audio IO is active
*
* To avoid that Create /Library/Preferences/Audio/com.apple.audio.ServerSettings.plist with the following content
**/
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
@Raefael
Raefael / deleting_merging_partitions
Created June 12, 2013 07:34
Deleting and merging a partition with diskutil from the command line OS X
/**
* diskutil list shows you the partitions currently connected to your unit
**/
imac:~ user$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 987.2 GB disk0s2
@Raefael
Raefael / create_missing_trash
Created July 30, 2013 09:40
If you cant delete files
EDIT: Also under Get Info be sure the file isn't locked.
If that's so launch Applications/Utilities/Terminal and at the prompt copy & paste this command…
mkdir ~/.Trash
If you get a message that the folder already exists, copy & paste these commands...
sudo chown $UID ~/.Trash
Press return Enter your admin password (it will be invisible) Press return
chmod u+rwx ~/.Trash
Press return. Log out and back in, or restart.
@Raefael
Raefael / open_macappstore_tmp_folder
Created August 6, 2013 06:12
find temporary files downloaded from MacApp Store
open $TMPDIR../C/
@Raefael
Raefael / reminder_ls
Created August 21, 2013 05:58
reminder for the ln command
sudo ln -s /Quelle/foo /Ziel/foo
sudo ln -s /Volumes/Daten/Benutzer /Users/Benutzer
@Raefael
Raefael / disable_local_backups
Created August 31, 2013 10:03
disable local backups
sudo tmutil disablelocal