Skip to content

Instantly share code, notes, and snippets.

@tmepple
tmepple / Elixir.tmLanguage
Created April 14, 2019 14:57
Elixir tmLanguage file (from master as of 2019-04-14) with old parameter highlighting merged in
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>comment</key>
<string>Textmate bundle for Elixir Programming Language.</string>
<key>fileTypes</key>
<array>
<string>ex</string>
<string>exs</string>
@tmepple
tmepple / goon.rb
Created June 9, 2017 15:09
Simple Homebrew Formula to compile and install Goon driver.
class Goon < Formula
desc "Goon Driver for Elixir Porcelain Library"
homepage "https://github.com/alco/goon"
url "https://github.com/alco/goon.git", :tag => "v1.1.1", :revision => "756deaad8465c4326841d8b8cbd194f724be6160"
head "https://github.com/alco/goon.git"
depends_on "go" => :build
def install
ENV["GOPATH"] = buildpath
@tmepple
tmepple / pre-commit.example
Last active February 3, 2018 22:11 — forked from ralovely/pre-commit.example
Git pre-commit hook for Ansible Vault
#!/bin/sh
#
# Pre-commit hook that verifies if all files containing 'vault' in the name
# are encrypted.
# If not, commit will fail with an error message
#
# File should be .git/hooks/pre-commit and executable
FILES_PATTERN='.*vault.*\.yml$'
REQUIRED='ANSIBLE_VAULT'