Skip to content

Instantly share code, notes, and snippets.


William Entriken fulldecent

  • Philadelphia USA
View GitHub Profile
fulldecent /
Created Aug 18, 2021 — forked from unrealwill/
Proof of Concept : generating collisions on a neural perceptual hash
import tensorflow as tf #We need tensorflow 2.x
import numpy as np
#The hashlength in bits
hashLength = 256
def buildModel():
#we can set the seed to simulate the fact that this network is known and doesn't change between runs
model = tf.keras.Sequential()
fulldecent / reminders.scpt
Created Oct 20, 2012 — forked from statonjr/reminders.scpt
Write out Reminders to file on desktop
View reminders.scpt
tell application "Reminders"
set todo_accounts to every account
-- accounts have lists. loop thru accounts to get their lists.
repeat with i from 1 to length of todo_accounts
tell account i
set todo_lists to get every list
-- lists have reminders. loop thru lists to get their reminders
repeat with j from 1 to length of todo_lists
tell list j
set todos to (get reminders)