Skip to content

Instantly share code, notes, and snippets.

Wesley Hill hako

Block or report user

Report or block hako

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
svn co llvm
cd llvm/tools
svn co clang
cd ../..
cd llvm/tools/clang/tools
svn co extra
cd ../../../..
cd llvm/tools
svn co lld
cd ../..
View sepsplit.c
* SEP firmware split tool
* Copyright (c) 2017 xerub
#include <fcntl.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
View ecc
uncorrectable error :
mtd->read(0x1fb28 bytes from 0x16204d8) returned ECC error
jffs2_scan_inode_node(): CRC failed on node at 0x0163a748: Read 0xfa12f935, calculated 0x2a93baea
uncorrectable error :
mtd->read(0x1fb58 bytes from 0x16604a8) returned ECC error
uncorrectable error :
mtd->read(0x1f970 bytes from 0x1a80690) returned ECC error
uncorrectable error :
mtd->read(0x1f7c4 bytes from 0x1ae083c) returned ECC error
uncorrectable error :
hako / GAME_MASTER_v0_1.protobuf
Created Jul 17, 2016 — forked from anonymous/GAME_MASTER_v0_1.protobuf
Pokemon Go decoded GAME_MASTER protobuf file v0.1
View GAME_MASTER_v0_1.protobuf
Result: 1
Items {
Badge {
BadgeRanks: 4
Targets: "\nd\350\007"
Items {
# -*- coding: utf-8 -*-
# A kanye-ipsum port to python.
import random
import re
import sys
hako /
Last active Sep 1, 2019
Installing Sirius on Mac / Linux / Raspberry Pi

Installing Sirius on Mac / Linux / Raspberry Pi

Tested working on:

  • Raspberry Pi 1 Model B+ (Using Docker hypriot/rpi-python) (debian/wheezy)
  • Raspberry Pi 2 Model B (with virtualenv)
  • Ubuntu Linux x64 (with virtualenv)
  • Ubuntu Linux x64 (Using Docker)
  • OS X Yosemite (with virtualenv)
hako /
Last active Jan 19, 2016
Peach App token does not expire. (Note I've 'logged out' from the app and this token is not invalidated.)
curl -X "GET" "" \
-H "Accept: application/json " \
-H "Host:" \
-H "Connection: keep-alive" \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE0NTMwNTU4MDksInN0cmVhbUlEIjoiNmIwNjFiZTQzYjc5NDk0NGE3MmYyNGNmMzBlMjczZWYifQ.bd9O5Rf9rg7s2rhbBtXEajFxu5X9Xg1IQwppTPKc19Q" \
-H "User-Agent: Peach App/1.0.11 (iPhone; iOS 8.0.2; Scale/2.00)"
hako /
Created Sep 28, 2015 — forked from carloscasalar/
Convert a Word Document into MD

Converting a Word Document to Markdown in One Move

The Problem

A lot of important government documents are created and saved in Microsoft Word (*.docx). But Microsoft Word is a proprietary format, and it's not really useful for presenting documents on the web. So, I wanted to find a way to convert a .docx file into markdown.

Installing Pandoc

On a mac you can use homebrew by running the command brew install pandoc.

The Solution

View httppp.rb
require 'java'
require 'sinatra'
def keycode(key)
name = "VK_#{key.upcase}"
robot =

Keybase proof

I hereby claim:

  • I am hako on github.
  • I am hako ( on keybase.
  • I have a public key whose fingerprint is C36D 5CCA 0028 4BE2 89F8 3922 D9F3 0A32 9022 8821

To claim this, I am signing this object:

You can’t perform that action at this time.