Skip to content

Instantly share code, notes, and snippets.

@chrismdp
chrismdp / s3.sh
Last active September 13, 2024 12:53
Uploading to S3 in 18 lines of Shell (used to upload builds for http://soltrader.net)
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine
# This is how I upload my new Sol Trader builds (http://soltrader.net)
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash
S3KEY="my aws key"
S3SECRET="my aws secret" # pass these in
function putS3
{
path=$1
@atestu
atestu / picks.md
Last active December 22, 2015 09:19
NFL 2013 Week 1 Predictions

The result is pts won by the team / total pts. Over 50% means the game is won, and you get a sense of the intensity of the win that way.

Tampa Bay Buccaneers49%90%FALSE80%
TeamResultOdds of winningVerdictConfidence
Baltimore Ravens36%49%TRUE64%
Cincinnati Bengals47%65%FALSE81%
New England Patriots52%92%TRUE83%
Miami Dolphins70%36%FALSE73%
Atlanta Falcons43%57%FALSE87%