Skip to content

Instantly share code, notes, and snippets.

""" Google Plugin (yamms plugins.google) """
# Copyright 2015 Ray Schulz <https://rascul.io>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@rascul
rascul / stats.py
Last active August 29, 2015 14:14
Submit a file full of stats to wotmad
#!/usr/bin/env python3
# set this stuff
apikey = "blahblahblah"
statfile = "newbie.stats"
name = "test"
sex = "M"
faction = "H"
cclass = "W"
@rascul
rascul / site.sh
Created January 26, 2015 20:18
Simple static site generator
#!/usr/bin/env bash
start_stamp=$(date +%s)
file_count=0
skeldir="${PWD}/skel"
function generate {
infile="$1"
outfile="$2"
@rascul
rascul / baseline.sh
Last active August 29, 2015 14:06 — forked from bear/baseline.sh
#!/bin/bash
#
# Usage info
read -r -d '' helptext <<- EOF
Usage: ${0##*/} [-gsvh] -k KEYFILE -r REMOTEHOST -u USERNAME
Initialize a fresh, new DigitalOcean droplet.
Required:

Keybase proof

I hereby claim:

  • I am rascul on github.
  • I am rascul (https://keybase.io/rascul) on keybase.
  • I have a public key whose fingerprint is CE7D 4AC6 1BA6 B77A EEE4 3EF4 CAB9 7E4F E40C F1D7

To claim this, I am signing this object: