Skip to content

Instantly share code, notes, and snippets.

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 {
@machuiwen
machuiwen / ImageCompressor.m
Created October 21, 2015 18:31
convert any image format to jpeg-2000 format
% convert any image format to jpeg-2000 format
img = imread('/path/to/your/source/image.xxx');
imwrite(img,'/path/to/your/destination/image.jp2', 'compressionratio', 60);