Skip to content

Instantly share code, notes, and snippets.

View zachwill's full-sized avatar

Zach Williams zachwill

View GitHub Profile
/**
*Submitted for verification at Etherscan.io on 2021-04-16
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
pragma solidity ^0.8.0;
/**
* @title KingFrog contract
* @dev Extends ERC721Enumerable Non-Fungible Token Standard basic implementation
*/
/**
* SPDX-License-Identifier: UNLICENSED
*/
@zachwill
zachwill / fantasy-week-2.ipynb
Created September 16, 2020 17:03
Fantasy Football with RotoGuru and CatBoost
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zachwill
zachwill / domain_sales.csv
Last active May 30, 2020 16:29
Domain Sales
We can't make this file beautiful and searchable because it's too large.
date,domain,price,venue,length,dot_com,hyphen,numbers
2020-05-30,sit.ai,12000,Sedo,3,0,0,0
2020-05-30,zionism-israel.com,7801,GoDaddy,14,1,1,0
2020-05-30,simplybetter.com,5500,DropCatch,12,1,0,0
2020-05-30,libation.com,3656,NameJet,8,1,0,0
2020-05-30,boots2business.org,3484,GoDaddy,14,0,0,1
2020-05-30,mountainescape.com,3127,GoDaddy,14,1,0,0
2020-05-30,cingulum.com,3000,BuyDomains,8,1,0,0
2020-05-30,temperaturematters.com,2900,BuyDomains,18,1,0,0
2020-05-30,landkind.com,2777,Sedo,8,1,0,0
@zachwill
zachwill / _Pareto IMDB for The Office.ipynb
Last active April 28, 2020 20:14
Pareto IMDB for The Office.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zachwill
zachwill / molokai.vim
Created September 27, 2018 16:55
Vim colors
" Vim color file
"
" Author: Tomas Restrepo <[email protected]>
" https://github.com/tomasr/molokai
"
" Note: Based on the Monokai theme for TextMate
" by Wimer Hazenberg and its darker variant
" by Hamish Stuart Macpherson
"
# -----------------
# Tmux settings
# -----------------
# Sensible index
set -g base-index 1
set -g pane-base-index 1
# Change the default PREFIX key
set -g prefix C-a
@zachwill
zachwill / excerpt.md
Last active August 15, 2019 12:13
Checklist Manifesto

Some years ago Geoff Smart, a PhD psychologist who was then at Claremont Graduate University, conducted a revealing research project. He studied fifty-one venture capitalists, people who make gutsy, high-risk, multimillion-dollar investments in unproven start-up companies. Their work is quite unlike that of money managers, who invest in established companies with track records and public financial statements one can analyze.

Smart specifically studied how such people made their most difficult decision in judging whether to give an entrepreneur money. You would think that this would be whether the entrepreneur’s idea is actually a good one. But finding a good idea is apparently not all that hard. Finding a good entrepreneur who can execute a good idea is a different matter entirely. One needs to find a person who can work long hours, build a team, handle the pressures and setbacks, among technical people and problems alike, and stick with the effort for years on end without getting distracted or going insane.

@zachwill
zachwill / wilson.py
Created October 13, 2016 22:17
Wilson Score Interval
from math import sqrt
def confidence(ups, downs):
"""
Wilson Score Interval: http://stackoverflow.com/questions/10029588
"""
n = ups + downs
if n == 0:
return 0
@zachwill
zachwill / _.md
Created September 26, 2016 16:20

Portland iPhone 7+ Scraper with Slack

A simple scraper that sends a message on Slack when iPhones are available in Portland.

The default channel on Slack I used was #technology, but feel free to change that.

I put the iphone.txt template in a templates directory, too.