Skip to content

Instantly share code, notes, and snippets.

@wetherc
wetherc / README.md
Created December 19, 2023 16:10
personal readme

This is kind of weird, what is it?

This is kind of weird and cheesy. Why have a readme about yourself?

Personally, it's something I like to do for a couple reasons, namely:

  • I'm weird, you're weird, everyone's weird. We all have our own preferred work styles, idiosyncrasies, and ways of doing things. Documenting some of them here might help give a bit of background or context around "Why is Chris being weird about x?"
  • It clearly communicates the expectations that I hold myself and others to, and helps others keep me honest. If I'm ever not living up to, or if I'm acting in a way that goes against, something here, call me out on it, file a bug report against me, whatever. Let me know that I need to do better, because I'm probably not going to be aware of it in the moment. Likewise, if you feel that anything here is unfair or goes against company culture and values, it helps get that discussion started.

accountkit.com
acebook.com
faacebook.com
star-mini.c10r.facebook.com
facebbook.com
www.facebook.com
facebook.com
m.facebook.com
facebook-dns.com
facebook-hardware.com
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DenyRootUser",
"Effect": "Deny",
"NotAction": [
"organizations:*",
"aws-portal:*",
"awsbillingconsole:*",
@wetherc
wetherc / drunk_passenger.java
Created June 15, 2022 11:55
Drunk passenger logic problem
import java.io.*;
import java.util.*;
class Solution {
public static void main(String[] args) {
int keepsSeat = 0;
for (int i = 0; i < 10000; i++) {
List<Integer> availableSeats = new ArrayList<>(100);
for (int val = 0; val < 100; ++val) {
set-option -g default-terminal screen-256color
# History
set -g history-limit 10000
# Window numbers from 1, not from 0, renumber if closed
set -g base-index 1
set-option -g renumber-windows on
# Quick Escape (for vim)

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@wetherc
wetherc / MANIFEST.in
Created September 10, 2018 19:29
Sample ML Engine deployment
include stuff.json

Introduction

Hi, and welcome to our team!

It's going to take a few weeks to get comfortable (and heck, probably longer to figure out where all the conference rooms are). Take your time, meet everyone, jump in on any meeting that looks interesting, ask tons of questions, and never be afraid to ask why we're doing something if it doesn't make sense or seems downright stupid.

The rest of this document is meant to give you some idea of how I work and manage our team, what you can expect out of the average week, and some of my other expectations and quirks.

An Average Week

@wetherc
wetherc / createData.R
Last active April 25, 2018 19:09
create dummy rating dataset
rateFactors <- list(
credit = list(
"A" = 0.7,
"B" = 0.9,
"C" = 1.0,
"D" = 1.1,
"E" = 1.3
),
drvVehCount = list(
"1d1v" = 1.0,