This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:107800000C94343C0C943E3C0C943E3C0C943E3C1A | |
:107810000C943E3C0C943E3C0C943E3C0C943E3C00 | |
:107820000C943E3C0C943E3C0C943E3C0C943E3CF0 | |
:107830000C943E3C0C943E3C0C943E3C0C943E3CE0 | |
:107840000C943E3C0C943E3C0C943E3C0C943E3CD0 | |
:107850000C943E3C0C943E3C0C943E3C0C943E3CC0 | |
:107860000C943E3C0C943E3C11241FBECFEFD8E05C | |
:10787000DEBFCDBF0E945B3C0C94673C0C94003C87 | |
:107880005D9A2FEF39E648E1215030404040E1F762 | |
:1078900000C0000083E020E29BB192279BB99FEFDC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <avr/io.h> | |
#include <util/delay.h> | |
#define SET_DDR_OUT(DDR, PIN) DDR |= _BV(PIN) | |
#define SET_DDR_IN(DDR, PIN) DDR &= ~ _BV(PIN) | |
#define SET_PULLUP(PORTS, PIN) PORTS |= _BV(PIN) | |
#define SET_HIGH(PORTS, PIN) PORTS |= _BV(PIN) | |
#define TOGGLE(PORTS, PIN) PORTS ^= _BV(PIN); | |
#define CHECK_PIN(PINS, PIN) !(PINS & _BV(PIN)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# example hex file | |
""" | |
:100000000C9440000C944A000C944A000C944A0052 | |
:100010000C944A000C944A000C944A000C944A0038 | |
:100020000C944A000C944A000C944A000C944A0028 | |
:100030000C944A000C944A000C944A000C944A0018 | |
:100040000C944A000C944A000C944A000C944A0008 | |
:100050000C944A000C944A000C944A000C944A00F8 | |
:100060000C944A000C944A00010203040506070898 | |
:100070000000000000000000000000000000000080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import os | |
import base64 | |
import json | |
import datetime | |
import http.client | |
import hmac | |
from hashlib import sha256 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://bitcointalk.org/index.php?topic=3043098.0 | |
import hashlib, binascii, struct, array, os, time, sys, optparse | |
try: | |
import scrypt | |
except: | |
print "Error: module scrypt not found" | |
from construct import * |