Skip to content

Instantly share code, notes, and snippets.

View sneakyness's full-sized avatar
💭
Rolling up to the function like a stretched out Steve Ballmer

Nick Pannuto sneakyness

💭
Rolling up to the function like a stretched out Steve Ballmer
View GitHub Profile
@sneakyness
sneakyness / MyPlayground.swift
Created November 14, 2018 05:18
Generate a statuslabel.png tinted the color of your MacOS Accent Color and save it in ~/Documents/Shared Playground/Directory/
//: A Cocoa based Playground to present user interface
import AppKit
import PlaygroundSupport
import Foundation
import CoreImage
import ImageIO
let nibFile = NSNib.Name("MyView")
var topLevelObjects : NSArray?
@sneakyness
sneakyness / QuakeModels.swift
Last active July 6, 2019 20:02
Used http://app.quicktype.io to generate Swift Models for stats.quake.com API. All 3 routes (Leaderboards/Player Stats/Match History) work and serialize into codable model objects. Quad Thanks to Sponge for being very helpful and prompt with the questions I had while piecing this together. Twitter thread of progress here: https://twitter.com/Sne…
import Foundation
enum ChampionString: String, Codable {
case ranger = "RANGER"
case scalebearer = "SCALEBEARER"
case visor = "VISOR"
case anarki = "ANARKI"
case nyx = "NYX"
case sorlag = "SORLAG"
case clutch = "CLUTCH"
@sneakyness
sneakyness / Dark Midnight.xccolortheme
Created June 5, 2018 02:22
Mix of Default (Dark) with Midnight Theme
<?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">
<plist version="1.0">
<dict>
<key>DVTConsoleDebuggerInputTextColor</key>
<string>1 1 1 1</string>
<key>DVTConsoleDebuggerInputTextFont</key>
<string>SFMono-Bold - 12.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>1 1 1 1</string>
@sneakyness
sneakyness / com.apple.audio.DeviceSettings.plist
Created July 5, 2017 13:19
Attempting to add a 24 bit/44.1hz audio route to Air Pods because my "old" 2014 air either lacks the newfangled Intel HD Audio required for this to not suck, and or the gimped i7 can't make up for it (lots of clipping)
<?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">
<plist version="1.0">
<dict>
<key>04:4B:ED:AD:C2:41-screen</key>
<dict>
<key>controls</key>
<array>
<dict>
<key>element</key>
func queryItems(dict:[String:String]) -> [URLQueryItem] {
var items = [URLQueryItem]()
for (name, value) in dict {
items.append(URLQueryItem(name: name, value: value))
}
return items
}
Slayer's Testament I
In the first age, in the first battle, when the shadows first lengthened, one stood. Burned by the embers of Armageddon, his soul blistered by the fires of Hell and tainted beyond ascension, he chose the path of perpetual torment. In his ravenous hatred he found no peace; and with boiling blood he scoured the Umbral Plains seeking vengeance against the dark lords who had wronged him. He wore the crown of the Night Sentinels, and those that tasted the bile of his sword named him... the Doom Slayer.
Slayer's Testament II
Tempered by the fires of Hell, his iron will remained steadfast through the passage that preys upon the weak. For he alone was the Hell Walker, the Unchained Predator, who sought retribution in all quarters, dark and light, fire and ice, in the beginning and the end, and he hunted the slaves of Doom with barbarous cruelty; for he passed through the divide as none but demon had before.

Security Guidelines

  • Use an iDevice

    • Use an iPod or an iPad without a SIM card
    • Use an iPhone
    • Do not jailbreak
  • Use Signal (iOS)

  • Use TextSecure + RedPhone (Android)

  • Android?

@sneakyness
sneakyness / gist:56c47f994a7871295da8
Created July 2, 2015 19:21
Today Extension Max Sizes
iPhone 5S Portrait (272, 441.5)
iPhone 5S Landscape (520, 205.5)
iPhone 6 Portrait (327, 540.5)
iPhone 6 Landscape (586, 260.5)
iPhone 6 Plus Portrait (362, 610)
iPhone 6 Plus Landscape (585, 288)
iPad Mini Portrait (535, 853)
@sneakyness
sneakyness / bootstrap_commands.py
Created May 5, 2015 19:23
servo bootstrap_commands.py fix
from __future__ import print_function, unicode_literals
import os
import os.path as path
import shutil
import subprocess
import sys
import tarfile
import urllib2
import ssl
@sneakyness
sneakyness / gist:9925627
Created April 2, 2014 00:11
keybase.md
### Keybase proof
I hereby claim:
* I am sneakyness on github.
* I am sneakyness (https://keybase.io/sneakyness) on keybase.
* I have a public key whose fingerprint is 3B3A 7121 8095 1DB6 8F22 4631 7DA4 08F5 2FF2 FED1
To claim this, I am signing this object: