Skip to content

Instantly share code, notes, and snippets.

View ke4qqq's full-sized avatar

David Nalley ke4qqq

View GitHub Profile
Endpoint: http://65.19.181.3/client/api
D0:
API Key: Posq3l0kyg3kXrl3h-df9vLwtcClH2-cXYn4pFDrI4ewPsOTxBSlxV2XKS2Zzf7h9Cv9os-N8fjJbL4CaYTK7w
Secret Key: OB8yMZ95zUuDDOq7nNCoUrGFp1JVq29mdjwGirnqSADyNMawyfR3xTCSaKH2sbC3kPbFYqreqxgHR1gHcUKR4Q
D1:
APIKEY: g__DUYqXwHxtyIrzu_nwTlMFv3x9tXgQPLZTQLfFeOJyQA1jZ7C-PbdtkziUHDuLmg4FZ0EhmQGg94MCQNEZ3A
Secret Key: Z0EOwcfaVVAEL7hBkOexs3sLkBEKpSym5swFwHNgYaUOSLaNaDXoYQQTIEJWTr_6vqA23MyKjAbZUDxDx2qKyw
@ke4qqq
ke4qqq / gist:8357973
Created January 10, 2014 16:53
LOC per committer per a year
#!/bin/sh
declare -A map
while read line; do
if grep "^[a-zA-Z]" <<< "$line" > /dev/null; then
current="$line"
if [ -z "${map[$current]}" ]; then
map[$current]=0
fi
elif grep "^[0-9]" <<<"$line" >/dev/null; then
for i in $(cut -f 1,2 <<< "$line"); do