Skip to content

Instantly share code, notes, and snippets.

View solarce's full-sized avatar

Brandon Burton solarce

View GitHub Profile
[alias]
branch-name = "!git rev-parse --abbrev-ref HEAD"
co = checkout
cm = "checkout master"
+ cgh = "checkout gh-pages"
cb = checkout -b
st = status
br = branch
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lgp = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -p
@solarce
solarce / getting_more_familiar_with_go_resources.md
Last active June 19, 2017 13:54
A list of resources for getting more familiar with Go

Getting more familiar with Go

Keybase proof

I hereby claim:

  • I am solarce on github.
  • I am solarce (https://keybase.io/solarce) on keybase.
  • I have a public key whose fingerprint is 5B0D B807 C065 001B 3CED F3E1 D445 8815 4E4B 4DFA

To claim this, I am signing this object:

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQINBE8t5dUBEADw7bCSM0f+l+tiPfXY1fDcKZj4vOIftsDcriu/shDWUCV9G56m
MHX6JHYEGYEM8BIggwaO284fGNgWPNPL4J5LM1zevPaSf+J6OF/bmvvZdzuO8c0G
W/uak9hHi9gRvR+KgRVjPuF9gixC2WlQYYSfPF1DgtQ4z4HcX0OOeN/VuiiLO2ep
dB6bNWbFD9LoB7/EjbkKlvEFU2JjeS+yAUm8Z60ltdnddDzt7IQyhLARm3gyaQOU
inzAu2eauRiSHTFBagezRl2rskDYuj6aVdaRhiQUT6Hk8UG/HEzNiFBNB9w/PiJC
uJ/VMdKVdj2Tgt+GjhEs5lEMm//Dq/VNnogjVsTOSEIfT20DluBWEszvvhKUJcF0
QXn9r064YAskuqneIvlDsW6Z7z+1728Xyd+wuLZE6TURGMQYqV/AXxQCXLOvXm4n
@solarce
solarce / 00-intro.md
Last active November 23, 2015 18:26 — forked from meatballhat/00-intro.md
Ubuntu Precise edge opt-in examples

Welcome to our new Precise Beta

We're in the process of testing a new compute platform for our fully virtualized Precise builds and we're happy you're interested in helping!

What should I do?

before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -q
- sudo apt-get install gcc-4.8 g++-4.8 -y
@solarce
solarce / nvm.sh
Created September 2, 2015 22:37
nvm on mac for travis
brew install nvm
mkdir $HOME/.nvm
cp $(brew --prefix nvm)/nvm-exec $HOME/.nvm/
export NVM_DIR=$HOME/.nvm
source $(brew --prefix nvm)/nvm.sh
@solarce
solarce / docker_images.md
Created August 7, 2015 22:56
A quick list of the Travis Docker containers on quay.io that you can `docker pull`

The following is a list of public Docker images Travis uses for our container based builds. You can grab them with docker pull quay.io/travisci/travis-$lang.

  • Do note that they are large in size, 800MB - 1.8G

Images:

describe Travis::Yaml::Nodes::Addons do
context 'from Ruby' do
def addons(input)
Travis::Yaml.parse!(language: 'ruby', addons: input).addons
end
context 'artifacts' do
let :config do
addons(artifacts: {
bucket: 'whatever',
@solarce
solarce / zfs_list.sh
Created June 2, 2015 14:14
zfs on althalus (laptop)
[solarce@althalus ~]$ sudo zfs list
NAME USED AVAIL REFER MOUNTPOINT
althalus_zroot 6.15G 218G 3.89G /
althalus_zroot/docker 565M 218G 253M /var/lib/docker
althalus_zroot/docker/39bb80489af75406073b5364c9c326134015140e1f7976a370a8bd446889e6f8 138M 218G 138M legacy
althalus_zroot/docker/7a3871ba15f89cd1e26daca15d6ee121d94e6eea1db3e209770d02a2561e6f59 45.2M 218G 181M legacy
althalus_zroot/docker/a2703ed272d70860ade169b024b9bb6eff130c2fa2cacb8a0970f8027cc0388d 130M 218G 309M legacy
althalus_zroot/docker/df2a0347c9d081fa05ecb83669dcae5830c67b0676a6d6358218e55d8a45969c 29K 218G 138M legacy
althalus_zroot/home