Skip to content

Instantly share code, notes, and snippets.

View thraxil's full-sized avatar

Anders Pearson thraxil

View GitHub Profile
@thraxil
thraxil / yearly.go
Created January 2, 2018 16:37
yearly music link script
package main
import (
"bufio"
"fmt"
"log"
"os"
"strings"
"github.com/thraxil/bcscrape"

Keybase proof

I hereby claim:

  • I am thraxil on github.
  • I am thraxil (https://keybase.io/thraxil) on keybase.
  • I have a public key ASDrIp2mKRBpb-cdXfc2ndFlG_wewh1wKr-f5yLI59aNuwo

To claim this, I am signing this object:

I'm originally from Maine (for non-Americans, that is the very Northeastern tip of the US. Basically Canada. Americans will naturally associate it with Lobsters, Potatoes, and Stephen King). My parents were serious hippies who got into the "homesteading" movement and built a log cabin in the middle of the woods. So my early childhood was spent with no electricity or running water miles from the nearest neighbors. We eventually rejoined civilization and I mostly grew up in the small town of Dexter, but finished high school even further north at the Maine School of Science and Mathematics. I went to Bates College (a small liberal arts school still in Maine) majoring in

#!/usr/bin/env python3
import os.path
import os
from datetime import datetime, timedelta
from pathlib import Path
BASE = "/etc/letsencrypt/"
// Sandbox approvals that you will need (at least):
// staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods plus java.lang.Object[]
// staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.lang.Iterable int
// java.lang.Object[]
// staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods plus java.util.List java.lang.Object
// check for required parameters. assign them to the env for
// convenience and make sure that an exception is raised if any
// are missing as a side-effect