Skip to content

Instantly share code, notes, and snippets.

View process's full-sized avatar
🐉

Justin Chines process

🐉
View GitHub Profile
@process
process / skanids.py
Last active June 16, 2021 20:07
Script to automatically ingest SKAN IDs from plist sources, and update xcode projects. Python3 with standard libs.
# Written by Justin Chines (@process) and Doug Kent
import argparse, os, re, plistlib, urllib.request
parser = argparse.ArgumentParser(description="Update an app Plist with new SKAdNetwork IDs from given sources.")
parser.add_argument("plist",
help="Path to the .plist that will be updated with IDs found in the sources.")
parser.add_argument("sources",
nargs='+',
help="Sources to load SKAdNetwork IDs from. Sources can be URLs or system paths")
args = parser.parse_args()
@process
process / twitterblock_20180729.csv
Created July 28, 2018 17:50
you can import this by going to your settings in the desktop web site
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
24342398
962881309352710144
773943400320143360
984163044954603521
21746077
962607038294515712
2805688076
393168472
971485142429597696
35880417

Keybase proof

I hereby claim:

  • I am process on github.
  • I am iamjustin (https://keybase.io/iamjustin) on keybase.
  • I have a public key whose fingerprint is 27F7 6865 0C89 3DDD A842 A896 5B04 3D99 78DE 4392

To claim this, I am signing this object:

@process
process / ssha512.js
Created May 26, 2014 20:57
Creates an SSHA512 hash from the given cleartext and salt. If no salt is given, 4 random bytes are used. Derived from https://gist.github.com/itorres/2947088. The hashes generated by this function work with Dovecot, which is what is was written for.
function ssha512(cleartext, salt) {
( typeof(salt) == 'undefined') ? salt = CryptoJS.lib.WordArray.random(4) : salt = CryptoJS.enc.Utf8.parse(salt);
var plain = CryptoJS.enc.Utf8.parse(cleartext);
var digest = CryptoJS.SHA512(plain.concat(salt));
var ssha = '{SSHA512}' + digest.concat(salt).toString(CryptoJS.enc.Base64);
return ssha;
}
@process
process / names
Created March 24, 2013 03:20
Available English Word Twitter Names (as of March 23, 2013)
This file has been truncated, but you can view the full file.
abaciscus
abactinal
abactinally
abaisance
abaissed
abarthrosis
abarticular
abasedly
abasedness