I hereby claim:
- I am seanlane on github.
- I am seanlane (https://keybase.io/seanlane) on keybase.
- I have a public key whose fingerprint is C0A5 90BB 59F5 0948 3A56 AF8C 40F3 AF5E 1067 650C
To claim this, I am signing this object:
import polars as pl | |
bug_source = pl.read_csv('https://gist.githubusercontent.com/seanlane/658541735a08ad474962088b0ceaf5c2/raw/truncated_bug_source_exploded.csv') | |
polars_df = ( | |
bug_source | |
.group_by(pl.col('disk_hex')) | |
.agg( | |
pl.mean('cell_tract_median_value').alias('disk_tract_median_value'), | |
pl.mean('cell_tract_mean_value').alias('disk_tract_mean_value'), |
hex,cell_tract_median_value,cell_tract_mean_value,cell_item_count,disk_hex | |
612708440617254911,330800.0,330800.0,1,612708440617254911 | |
612708440617254911,330800.0,330800.0,1,612708440598380543 | |
612708440617254911,330800.0,330800.0,1,612708440589991935 | |
612708440617254911,330800.0,330800.0,1,612708440608866303 | |
612708440617254911,330800.0,330800.0,1,612708440604671999 | |
612708440617254911,330800.0,330800.0,1,612708440613060607 | |
612708440617254911,330800.0,330800.0,1,612708440678072319 | |
612708440617254911,330800.0,330800.0,1,612708440675975167 | |
612708440617254911,330800.0,330800.0,1,612708440596283391 |
#!/usr/bin/env python3 | |
import requests | |
import time | |
import json | |
token = '' | |
#Delete files older than this: | |
days = 15 |
#!/usr/bin/env python3 | |
import argparse, datetime, os, re, sys, tempfile, time | |
from subprocess import call | |
EDITOR = os.environ.get('EDITOR') if os.environ.get('EDITOR') else 'vim' | |
def create_header(): | |
""" |
#!/usr/bin/env python3 | |
from subprocess import call | |
import sys | |
if len(sys.argv) <= 2: | |
print("Usage: send_fax NUMBER FILENAME...") | |
exit(-1) | |
number = sys.argv[1] | |
api_key = 'put_api_key_here' |
I hereby claim:
To claim this, I am signing this object:
// Filter domcomp.com results to show what I'm interested in | |
function clr() { | |
// Google Global TLDs as of Jan 2017 | |
var g_tlds = ['ad', 'as', 'bz', 'cc', 'cd', 'co', 'dj', 'fm', 'io', | |
'la', 'me', 'ms', 'nu', 'sc', 'sr', 'su', 'tv', 'tk', 'ws'] | |
var rows = document.getElementsByClassName('price_table')[0].rows; | |
var re = /^[a-z0-9]+$/i; | |
for (var i = 1; i < rows.length; i++) { | |
if (rows[i].classList.contains('registered') || // Don't show registered TLDs | |
rows[i].attributes['tld'].value.length > 2 || // Don't show TLDs logner than 2 chars |
I hereby claim:
To claim this, I am signing this object:
This is my technical interview cheat sheet that I forked from TSiege. Please comment if you would like to have me edit, or send me a link from your fork. Probably a lot left to add and correct here, so take everything with a grain of salt. This list is meant to be both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.