I hereby claim:
- I am carterjones on github.
- I am carterjones (https://keybase.io/carterjones) on keybase.
- I have a public key whose fingerprint is 6DB0 ED84 5B7F 5A67 5E3D 0A82 C64D 140E 380F 7E03
To claim this, I am signing this object:
#!/bin/bash | |
set -euxo pipefail | |
target_version="go1.10.1" | |
# Test to see if go is installed in the PATH. | |
if which go &>/dev/null; then | |
# See which version is installed. | |
installed_version=$(go version | cut -d" " -f3) |
// Copy/paste this and replace []interface{} with whatever type you want to get | |
// type safety. | |
import ( | |
"sync" | |
) | |
// SafeSlice is a thread-safe wrapper around an underlying slice. | |
type SafeSlice struct { | |
data []interface{} |
# These are the commands you need to run in order to | |
# Boot up from the Arch ISO | |
# Use cfdisk to make a single primary logical Linux partition. | |
# Don't create a swap disk since we'll use a swap file later. | |
# Steps: | |
# 1. Select "dos" | |
# 2. Create a primary partition (and others if you want). | |
# 3. Make sda1 bootable. |
import errno | |
import datetime | |
import os | |
import shutil | |
# Ripped from http://stackoverflow.com/a/1994840 | |
def copyanything(src, dst): | |
try: | |
shutil.copytree(src, dst) | |
except OSError as exc: # python >2.5 |
I hereby claim:
To claim this, I am signing this object: