Skip to content

Instantly share code, notes, and snippets.

View Noctem's full-sized avatar

David Christenson Noctem

View GitHub Profile
@Noctem
Noctem / niahash32.c
Last active November 12, 2016 07:12 — forked from laverdet/niahash.c
niahash.c w/ __uint128_t removed
#include <stdint.h>
#include <string.h>
#define HI(n) ((uint64_t)(n)>>32)
#define LO(n) ((uint64_t)(n)&0xffffffff)
#define U128(hi,lo) ((my_uint128_t){ .high = hi, .low = lo})
typedef struct {
uint64_t high;
uint64_t low;
@Noctem
Noctem / niahash.c
Last active December 2, 2016 08:30 — forked from anonymous/niahash.c
niahash c
#include <stdint.h>
#include <string.h>
#define HI(n) ((uint64_t)(n)>>32)
#define LO(n) ((uint64_t)(n)&0xffffffff)
#define U128(high,low) ((__uint128_t)(uint64_t)high<<64 | (uint64_t)low)
#if 1
/* IOS 1.15.0 */
static uint64_t magic_table[16] = {
#/bin/bash
#-- Script to automate https://help.github.com/articles/why-is-git-always-asking-for-my-password
REPO_URL=`git remote -v | grep -m1 '^origin' | sed -Ene's#.*(https://[^[:space:]]*).*#\1#p'`
if [ -z "$REPO_URL" ]; then
echo "-- ERROR: Could not identify Repo url."
echo " It is possible this repo is already using SSH instead of HTTPS."
exit
fi
#!/usr/bin/env python
'''
===============================================================================
______ ___ _____ ___ ___ ___ _____
/ __/ / / _ |/ ___/ |_ | / _ | / _ |/ ___/
/ _// /__/ __ / /__ / __/ / __ |/ __ / /__
/_/ /____/_/ |_\___/ /____/ /_/ |_/_/ |_\___/
FLAC 2 AAC