Skip to content

Instantly share code, notes, and snippets.

View hfaran's full-sized avatar

Hamza Faran hfaran

View GitHub Profile
@hfaran
hfaran / keybase.md
Created February 9, 2017 00:07
Keybase proof

Keybase proof

I hereby claim:

  • I am hfaran on github.
  • I am hfaran (https://keybase.io/hfaran) on keybase.
  • I have a public key whose fingerprint is 63AA 2552 3724 E9D7 8184 EADA 1ACD E23E 8B14 A872

To claim this, I am signing this object:

@hfaran
hfaran / patch_q4.py
Created November 2, 2015 23:47
CPEN442 Assignment4 Q4c
from hashlib import sha1
import click # pip install click
@click.command()
@click.option('-i', '--input-program', required=True,
help="Path to 12563110.program2.exe", type=click.Path())
@click.option('-o', '--output-program', required=True,
help="Path to new 12563110.program2.exe to write",
# Inspired by:
# - https://gist.github.com/jegger/9549865
#### Some hints ####
# Currently kivy apps only work on monitor 1 (multiple monitor setup)
# You have to place the terminal which runs kivy on the monitor 1 or make the app fullscreen.
# Make sure you have the "command line tools" for mavericks installed!
# (xcode-select --install)