Skip to content

Instantly share code, notes, and snippets.


Steven Frank panicsteve

View GitHub Profile
View gist:5e59709b6dfdb8bbfb9532ed435fc38c
import Foundation
func loadInput() -> [Int] {
let url = URL(fileURLWithPath: "/Volumes/Synology/Projects/Advent of Code 2021/Day 6/input-1.txt")
var s = ""
do {
s = try String(contentsOf: url)
catch {
View add-note.scpt
// add-note.scpt
// Example of creating a new note in using JavaScript for Automation
// Steven Frank <>
notesApp = Application('Notes');
var note = notesApp.Note({

Keybase proof

I hereby claim:

  • I am panicsteve on github.
  • I am stevenf ( on keybase.
  • I have a public key whose fingerprint is E242 B91D A538 6C51 BE1C 838B 0F9B C7D0 029C 857A

To claim this, I am signing this object:

panicsteve / gist:1641705
Created January 19, 2012 18:26
Form letter template for acquired startups
View gist:1641705
Dear soon-to-be-former user,
We've got some fantastic news! Well, it's great news for us anyway. You, on
the other hand, are fucked.
We've just been acquired by:
[ ] Facebook
[ ] Google
[ ] Twitter