I hereby claim:
- I am cassava on github.
- I am cassava (https://keybase.io/cassava) on keybase.
- I have a public key ASAx869xkcAjQyO8QD5ObaGrJHG_sYuiwJvJFMN3gaiSxgo
To claim this, I am signing this object:
| #!/usr/bin/env python3 | |
| from typing import Optional, Dict | |
| import os | |
| import yaml | |
| import jinja2 | |
| class FancyLoader(yaml.SafeLoader): | |
| def __init__(self, stream): |
| #!/bin/bash | |
| # Create a pipe for async communication | |
| pipe=$(mktemp -u) | |
| trap "rm -f $pipe" EXIT | |
| if [[ ! -p $pipe ]]; then | |
| mkfifo $pipe | |
| fi | |
| download_loop() { |
| #!/bin/sh | |
| musicsource=/home/media/music | |
| update_music2go() { | |
| # Make source library read-only so I know I'm not fucking up somehow... | |
| musicsource_tmp=${musicsource}_readonly | |
| if [ -d ${musicsource_tmp} ]; then | |
| echo "Something wrong here!" | |
| exit 1 |
I hereby claim:
To claim this, I am signing this object:
| // Copyright (c) 2014, Ben Morgan. All rights reserved. | |
| // Use of this source code is governed by an MIT license | |
| // that can be found in the LICENSE file. | |
| package main | |
| import ( | |
| "flag" | |
| "log" | |
| "net/http" |
| Afghanistan | |
| Albania | |
| Algeria | |
| Andorra | |
| Angola | |
| Antigua and Barbuda | |
| Argentina | |
| Armenia | |
| Australia | |
| Austria |
| package main | |
| import ( | |
| "fmt" | |
| "math/rand" | |
| "strings" | |
| "time" | |
| ) | |
| // worker does work which takes a (variable) amount of time. |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os" | |
| "os/exec" | |
| ) | |
| func run(imgs chan string, out chan string) { |