Skip to content

Instantly share code, notes, and snippets.

View cblage's full-sized avatar
🚄
Choo choo

Carlos Lage cblage

🚄
Choo choo
View GitHub Profile
.eunit
deps
*.o
*.beam
*.plt
erl_crash.dump
ebin/*.beam
.concrete/DEV_MODE
.rebar
.idea/
The 3-Clause BSD License
SPDX short identifier: BSD-3-Clause
Note: This license has also been called the "New BSD License" or "Modified BSD License".
Copyright 2018 Aruki Delivery Lda.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Keybase proof

I hereby claim:

  • I am cblage on github.
  • I am cblage (https://keybase.io/cblage) on keybase.
  • I have a public key whose fingerprint is D932 D086 CB23 739D 97AE D168 6033 3CAC E8CF 2C7F

To claim this, I am signing this object:

@cblage
cblage / gist:dafc1286a50221f4e745
Created October 10, 2014 20:59
Git Prune Branches
function gitPruneBranches() {
local remote="$1"
local delete_arg="$2"
if [ -z "$remote" ]; then
echo "must define a remote"
return 1
fi
if [ -z "$delete_arg" ]; then