Skip to content

Instantly share code, notes, and snippets.

Avatar

Shane Sveller shanesveller

View GitHub Profile
@shanesveller
shanesveller / exventure-concourse.yaml
Created Aug 25, 2018
Build a multi-stage Elixir project using Concourse CI
View exventure-concourse.yaml
resources:
- name: ex_venture
type: git
source:
uri: https://github.com/oestrich/ex_venture.git
branch: master
- name: ex_venture-docker-image
type: docker-image
source:
View elixir.nix
{ mkDerivation }:
mkDerivation rec {
version = "1.7.2";
# nixnix-prefetch-url --unpack https://github.com/elixir-lang/elixir/archive/v1.7.2.tar.gz
sha256 = "0wnrx6wlpmr23ypm8za0c4dl952nj4rjylcsdzz0xrma92ylrqfq";
minimumOTPVersion = "18";
}
View minikube.rb
cask 'minikube' do
version '0.7.1'
sha256 'fc8365148be19bd020432d8ddc85c06b7aab3953300b16b24f20fcd8393de449'
url "https://github.com/kubernetes/minikube/releases/download/v#{version}/minikube-darwin-amd64"
appcast 'https://github.com/kubernetes/minikube/releases.atom',
checkpoint: '0bc485e67d85822e27770f13ab05f33a20c4d9bf2439af6cbd3aed8a3f0a052c'
name 'Minikube'
homepage 'https://github.com/kubernetes/minikube'
license :apache
@shanesveller
shanesveller / .kitchen.yml
Created Nov 18, 2015
VMWare Fusion kitchen-vagrant performance
View .kitchen.yml
---
driver:
name: vagrant
provisioner:
name: chef_solo
platforms:
- name: ubuntu-14.04
@shanesveller
shanesveller / elixir.md
Last active Sep 25, 2015
Elixir Resources
View elixir.md
  • Language homepage - duh
  • RTFSource - seriously, the language source is predominantly written in Elixir by way of bootstrapping macros, and IMHO is incredibly readable and enlightening
  • Plug repo - more great source code to read
  • Phoenix Guides
  • Other Phoenix resources
  • ElixirSips - premium screencasts ala RailsCasts, etc.
  • Elixir-lang Slack team - very active, rather friendly, lots of niche channels around i.e. Phoenix, Ecto, etc.
  • #elixir-lang IRC channel on Freenode
  • Core Elixir - series of charmingly-illustrated blog posts that deep dive into parts of the stdlib
  • Elixir Radar - community news mailing list from Plataformatec
@shanesveller
shanesveller / .zshrc
Last active Aug 31, 2015
ZSH lazy-loading of Docker/Docker-Compose via Docker-Machine/Docker-Toolbox
View .zshrc
docker() {
unset -f docker
VBoxManage list runningvms | grep -E "^\"dev\"" >/dev/null 2>/dev/null || docker-machine start dev
eval "$(docker-machine env dev)"
docker "$@"
}
fig() {
unset -f fig
eval "$(docker-machine env dev)"
View gist:291b4c4bef3d931fc13a
input {
syslog {
}
}
output {
stdout {
codec => json
}
}
@shanesveller
shanesveller / shipyard.md
Created Jul 17, 2014
Shipyard on OSX - 2014-07-17
View shipyard.md

Within OSX

brew cask install boot2docker
boot2docker init
boot2docker up
boot2docker ssh

Within Boot2docker

View LICENSE.txt
Ventrilo Public Server Software License, Version 3.0.0
THIS SOFTWARE LICENSE AGREEMENT (the "Agreement') is a legal agreement
between you (either an individual or single entity) and Flagship Industries, Inc.
("Flagship") for the software identified above. By installing, copying, downloading,
accessing or otherwise using the software or its documentation, you agree to be bound
by the terms of this Agreement. If you do not agree to the terms of this Agreement, do
not install or use the software or its documentation.
COPYING OF THIS COMPUTER PROGRAM OR ITS DOCUMENTATION EXCEPT
@shanesveller
shanesveller / gist:3245f275d47d416d7d64
Created Jun 17, 2014
Last.fm - Similar artists via httpie / jq
View gist:3245f275d47d416d7d64
$ LFM_ROOT=http://ws.audioscrobbler.com/2.0/
$ ARTIST="Rise Against"
$ AGENT=ShaneSveller
$ API_KEY=CHANGEME
$ http GET $LFM_ROOT method==artist.getsimilar artist=="$ARTIST" api_key==$API_KEY format==json User-Agent:$AGENT | jq '.similarartists.artist[].name'
You can’t perform that action at this time.