Skip to content

Instantly share code, notes, and snippets.

@thekoc
thekoc / init.lua
Created July 10, 2017 05:16
Hammerspoon configuration file backup
local function hasValue(value, list)
for i, e in ipairs(list) do
if value == e then
return true
end
end
return false
end
local function applicationWatcher(appName, eventType, appObject)
anonymous
anonymous / GAME_MASTER_v0_1.protobuf
Created July 16, 2016 16:31
Pokemon Go decoded GAME_MASTER protobuf file v0.1
Result: 1
Items {
TemplateId: "BADGE_BATTLE_ATTACK_WON"
Badge {
BadgeType: BADGE_BATTLE_ATTACK_WON
BadgeRanks: 4
Targets: "\nd\350\007"
}
}
Items {