^ Warum diese Präsi überhaupt?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
General | |
Complete name : /Users/zettt/Desktop/IMG_0292.mov | |
Format : MPEG-4 | |
Format profile : Base Media / Version 2 | |
Codec ID : mp42 | |
File size : 3.95 MiB | |
Duration : 9s 643ms | |
Overall bit rate : 3 437 Kbps | |
Encoded date : UTC 2015-01-04 14:29:22 | |
Tagged date : UTC 2015-01-04 14:29:25 |
Andreas Zeitler (@zettt)
Andreas Zeitler (@zettt)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Toggle Notification Center's DND on Yosemite | |
tell application "System Events" | |
option key down | |
delay 0.1 | |
try | |
click menu bar item "Notification Center" of menu bar 2 of application process "SystemUIServer" | |
end try | |
try | |
click menu bar item "NotificationCenter, Do Not Disturb enabled" of menu bar 2 of application process "SystemUIServer" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "LaunchBar" | |
set bundleID to id | |
set appVersion to version | |
set appName to name | |
log appName & "\n" & bundleID & "\n" & appVersion | |
tell application "System Events" | |
tell process "LaunchBar" | |
set bundleID to bundle identifier | |
set arch to architecture |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copy your ssh public key to a server from a machine that doesn’t have ssh-copy-id | |
#/bin/bash | |
if [ -z "$2" ] | |
then | |
echo "Usage: $0 id_file hostname|ssh-nickname" | |
else | |
cat "$1" |ssh $2 'sh -c "cat - >>~/.ssh/authorized_keys"' | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "OmniFocus" | |
tell default document | |
-- crate quarantined project for tasks to be moved to | |
-- name in this version is »Quarantined Inbox: YYYY-MM-DD« | |
-- some other versions provided below, e.g. »Mon: 23. 06. 2015« | |
--set quarantineDayName to do shell script "date -v +0d +'%a: %d. %m. %Y'" | |
--set quarantineDayName to do shell script "date -v +0d +'%d. %m. %Y'" | |
set quarantineDayName to do shell script "date -v +0d +'%Y-%m-%d'" | |
set quarantineProject to make new project with properties {name:"Quarantined Inbox: " & quarantineDayName} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sIL `pbpaste` | grep ^[lL]ocation | cut -c 11- | pbcopy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---- Minecraft Crash Report ---- | |
// Quite honestly, I wouldn't worry myself about that. | |
Time: 4/5/14 11:45 PM | |
Description: Unexpected error | |
java.lang.NullPointerException | |
at codechicken.multipart.asm.ASMMixinCompiler$$anonfun$mixinClasses$3$$anonfun$apply$3.apply(ASMMixinCompiler.scala:325) | |
at codechicken.multipart.asm.ASMMixinCompiler$$anonfun$mixinClasses$3$$anonfun$apply$3.apply(ASMMixinCompiler.scala:324) | |
at scala.collection.immutable.List.foreach(List.scala:318) |