This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cat <<eof | | |
PPG,Pago Pago, | |
HNL,Honolulu, | |
ANC,Anchorage, | |
YVR,Vancouver, | |
LAX,Los Angeles, | |
YEA,Edmonton, | |
DEN,Denver, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2020 Jonas Häggqvist <[email protected]> | |
# | |
# Usage of the works is permitted provided that this instrument is retained with the | |
# works, so that any entity that uses the works is notified of this instrument. | |
# | |
# DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY. | |
# This script monitors your Zwift log file and outputs the latest Ride On to a given | |
# output file. The output file is updated at most every N ms (6000), to try and follow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Generated by KMLtools --> | |
<kml xmlns="http://earth.google.com/kml/2.2"> | |
<Document> | |
<name>2019 Draft Players</name> | |
<LookAt> | |
<longitude>-97.11747665273776</longitude> | |
<latitude>37.51855478397822</latitude> | |
<altitude>0</altitude> | |
<heading>0.1366419803128703</heading> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Copyright (c) 2018, Jonas Häggqvist <rasher@rasher.dk> | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
* Redistributions of source code must retain the above copyright notice, this | |
list of conditions and the following disclaimer. | |
* Redistributions in binary form must reproduce the above copyright notice, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
import csv | |
colors = { | |
'none': '#eee', | |
'other': '#aaa', | |
'vikings': '#4F2683', | |
'jaguars': '#006778', | |
'panthers': '#0085CA', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
from datetime import datetime | |
from praw import Reddit | |
user = 'rasherdk' | |
password = 'PASSWORDGOESHERE' | |
srname = 'nfl' | |
r = Reddit('flairstats/0.1') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from nflgame.statmap import idmap | |
from sqlalchemy import Column, String, Integer, Boolean | |
from sqlalchemy import create_engine | |
from sqlalchemy import func | |
from sqlalchemy.ext.declarative import declarative_base | |
from sqlalchemy.orm import sessionmaker | |
import nflgame | |
import simplejson | |
import sys |