Skip to content

Instantly share code, notes, and snippets.

View austindoeswork's full-sized avatar
🐣
hatchin' a plan

austin austindoeswork

🐣
hatchin' a plan
  • San Francisco
View GitHub Profile
package main;import `fmt`;func main(){s:="package main;import `fmt`;func main(){s:=%q;fmt.Printf(s,s)}";fmt.Printf(s,s)}
<!DOCTYPE html>
<html lang="en">
<head>
<title>Zone Editor</title>
<style>
#map {
height: 50vh;
}

Keybase proof

I hereby claim:

  • I am austindoeswork on github.
  • I am austindoeswork (https://keybase.io/austindoeswork) on keybase.
  • I have a public key ASDR5DivPxguxrZ93Pnj6iz6aVqnn0gBTdM7vZ3kSDoA-go

To claim this, I am signing this object:

https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange
https://www.coursera.org/learn/machine-learning
https://quantumexperience.ng.bluemix.net/qstage/#/tutorial?sectionId=c59b3710b928891a1420190148a72cce&pageIndex=0
https://en.wikipedia.org/wiki/Merkle_tree
http://plan9.bell-labs.com/plan9/screenshot.html
http://www.cis.upenn.edu/~bcpierce/unison/
http://slatestarcodex.com/
http://en.arguman.org/channels/programming
https://github.com/fatih/vim-go-tutorial
https://github.com/ArmstrongSteel/merger/blob/master/main.go
base = []
for i in range(7):
base.append((-2)**i)
base = base[::-1]
values = []
valueDict = {}
for x in range(2):
for x1 in range(2):
for x2 in range(2):
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.animation as animation
from sklearn.cluster import KMeans
import cv2
import sys
def getPixelFeatures(img):
D = img.reshape((img.shape[0] * img.shape[1], 3))
r = np.arange(0, img.shape[0])
for i in range(100):
for j in range(100):
print("%2d, %2d -- %2d %s" % (i, j, (i**2 - j**2)%4, (i**2 - j**2)%4==2))
ids = Event.all.pluck(:id)
update_ids = EventUpdate.all.pluck(:event_id)
ids = ids - update_ids
puts "Got ID's"
id_length = ids.length # 4629062 !! holy shit
# i'll take the heat for this one
my_id = ContractorUser.find_by(email: "wilsonaustin17@gmail.com").id
ct = CallType.find_by(name: "Retention ")
if ct
ct.name = "Retention"
ct.save
end
Outcome.all.each do |o|
next if !o.name
o.name = o.name.strip
o.save
eids = EventSkill.where(skill_id: 110).pluck(:event_id)
events = Event.where(id: eids)
events.each_with_index do |e, i|
puts "#{i}/ #{events.length}" if i % 100 == 0
e.remove_skill(110, nil, "AustinConsole")
end
w = Company.find_by(name: "weebly")
# s1 = Skill.find_by(name: "Mentions Full Price")
# s2 = Skill.find_by(name: "Mentions Discount Price")