Skip to content

Instantly share code, notes, and snippets.

View ncatlin's full-sized avatar

Nia Catlin ncatlin

  • Cake-filled grey old island
View GitHub Profile
@ncatlin
ncatlin / helloworld.asm
Created September 24, 2016 11:50
hello world assembly code used for graph layout illustration
global _main
extern _GetStdHandle@4
extern _WriteFile@20
extern _ExitProcess@4
section .text
_main:
; DWORD bytes;
mov ebp, esp
sub esp, 4
@ncatlin
ncatlin / navcoin_hash_checker.py
Last active March 1, 2018 11:59
fix tmp path and remove it at the end
#!/usr/bin/python3
import re, tempfile, os, hashlib
from urllib.request import urlopen,urlretrieve
RELEASE = "4.1.1"
RELEASES_PATH = "https://github.com/navcoin/navcoin-core/releases"
#get release page data
def get_release_page_data(releaseString):
@ncatlin
ncatlin / gist:69b55026f2edd78c81728164271e823a
Last active September 16, 2018 15:12
poe loginserver crypt
#define PUBLIC_KEYSIZE 128
#define DH2_AGREED_KEY_SIZE 512
byte customStaticServerPrivKey[384] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0