Skip to content

Instantly share code, notes, and snippets.

---- 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)
@Zettt
Zettt / OmniFocus Quarantine Inbox.applescript
Last active August 29, 2015 14:02
Do you also have tons of tasks in your inbox, which you probably never going to do? Well, then this script has been made for you! It creates a new project where it will move all inbox tasks to. After your inbox is clear that new project is set to "dropped" and all that crap is out sight, forever.
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}
@Zettt
Zettt / inspect.scpt
Created August 25, 2014 12:05
Inspect App/Process with AppleScript: The beginnings of a LaunchBar Action to get certain information about running processes.
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
@Zettt
Zettt / die perfekte rasur.md
Last active August 29, 2015 14:06
Meine Barcamp Stuttgart 7 (2014) Session zum Thema "Die perfekte Rasur". Ihr könnt dieses Markdown direkt mit [Deckset](http://mosx.tv/1st2Qyo) aufmachen, wenn ihr es habt. #bcs7

[fit] Die perfekte Rasur

Andreas Zeitler (@zettt)

gentlebox.de


[fit] Aktueller Stand

@Zettt
Zettt / die perfekte rasur 2.md
Last active August 29, 2015 14:06
Meine Barcamp Stuttgart 7 (2014) Session zum Thema "Die perfekte Rasur". Diese hier sind ohne Bilder, damit man die Speaker Notes besser lesen kann. #bcs7

Die perfekte Rasur

Andreas Zeitler (@zettt)

gentlebox.de


Aktueller Stand

@Zettt
Zettt / So tickt YouTube #mxsw 2014-09-22.md
Last active August 29, 2015 14:07
Meine Präsentation im Original mit Speaker Notes. Folien hier: https://www.slideshare.net/Zettt/so-tickt-you-tube-mxsw-20140922

[fit] So tickt YouTube

Andreas Zeitler, zCasting 3000

@zettt, zcasting3000.com


[fit] Hintergrund

^ Warum diese Präsi überhaupt?

@Zettt
Zettt / after.txt
Created January 4, 2015 14:51
Comparing Instagram videos before and after upload
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
@Zettt
Zettt / screencast typing.scpt
Created May 28, 2015 13:48
This script types a long string without errors(!!!) for you. Delay between keystrokes is variable. Originally taken from http://christianheilmann.com/2014/01/09/autmating-typing-in-screencasts-with-applescript-or-how-to-look-like-a-hollywood-hacker/
set myLines to "Brainstorming is a group or individual creativity technique by which efforts are made to find a conclusion for a specific problem by gathering a list of ideas spontaneously contributed by its member(s). The term was popularized by Alex Faickney Osborn in the 1953 book Applied Imagination. Osborn claimed that brainstorming was more effective than individuals working alone in generating ideas, although more recent research has questioned this conclusion. Today, the term is used as a catch all for all group ideation sessions."
set recordedApp to "iOS Simulator"
set typingDelay to "0.1" --try 0.05 so something much faster (double, actually)
--make sure the recorded app is foreground
--otherwise it can result into missing strings
activate application recordedApp
delay 3
repeat with currentline in myLines
@Zettt
Zettt / keynote.md
Created July 2, 2015 20:56
Things I learned about Keynote today

Things I learned about Keynote today

  • Keynote has Boolean operators
  • Curves defaults can be set in prefs (Bézier vs. Spline)
  • Rather than trying to master the Bézier tool, in order to mask something, make many small straight lines.
  • Magic Move can animate lots of things. Including color, reflection, shape, rotation, and many more parameters.
set completion-ignore-case On
set show-all-if-ambiguous on
"\e[A": history-search-backward
"\e[B": history-search-forward
# Cycle through completions by pressing tab
"\t": menu-complete