Skip to content

Instantly share code, notes, and snippets.

View austinlangdon's full-sized avatar
👽
Online

Austin Langdon austinlangdon

👽
Online
View GitHub Profile
#!/bin/bash
# By haxus 2017
PATH_BS=.
DATA_DIR=data
src=$PATH_BS/$DATA_DIR/bitcoin-history.json
tar=$PATH_BS/$DATA_DIR/bitcoin-history.sql
tmp=$PATH_BS/$DATA_DIR/bitcoin-history.tmp
tmp2=$PATH_BS/$DATA_DIR/bitcoin-history.tmp2
@danilop
danilop / gist:d4ff43835e469043e95e
Last active August 7, 2020 09:29
Amazon S3 redirection rule to send every "miss" (HTTP 404) to the domain root
<RoutingRules>
<RoutingRule>
<Condition>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition>
<Redirect>
<HostName>danilop.net</HostName>
<ReplaceKeyWith/>
</Redirect>
</RoutingRule>
@llad
llad / README.md
Created September 22, 2012 15:49
Reusable D3 column chart that supports negative values