Skip to content

Instantly share code, notes, and snippets.

View dwlf's full-sized avatar

Lloyd Dewolf dwlf

View GitHub Profile
@dwlf
dwlf / install.md
Created September 17, 2013 04:48 — forked from svnlto/install.md

Setup new Mac with OSX Lion from scratch

These commands are good as of 2011-07-27.

Install Xcode 4

The download/install takes a while so start it first. When it finishes downloading you will still need to run it to complete installation.

Really the nicest choice for a terminal on OSX right now, especially with Lion style full screen support.

COUNTING.RST

Open Source projects and communities, like most things, are full of humans. Humans have egos.

WE FOCUS ON the CARROT, and not the STICK
  • COUNT things in a way to PRAISE many, without CONDEMNING some.
0. Count all the things
  • Don't report on just coding
@dwlf
dwlf / remove-gpg-user.sh
Created June 6, 2016 05:22 — forked from glogiotatidis/remove-gpg-user.sh
Git-crypt remove user.
#!/bin/bash
#
# Script to remove GPG key from git-crypt
#
# It will re-initialize git-crypt for the repository and re-add all keys except
# the one requested for removal.
#
# Note: You still need to change all your secrets to fully protect yourself.
# Removing a user will prevent them from reading future changes but they will
# still have a copy of the data up to the point of their removal.
@dwlf
dwlf / base-64 15.1.1 gcc49-4.9.2nb1
Created June 16, 2015 04:19
gcc, g++ exe not in gcc49 on smartos?
__ . .
_| |_ | .-. . . .-. :--. |-
|_ _| ;| || |(.-' | | |
|__| `--' `-' `;-| `-' ' ' `-'
/ ; Instance (base-64 15.1.1)
`-' https://docs.joyent.com/images/smartos/base
[root@cb2299e2-5f28-ea84-8aac-8e45c0ee6b40 ~]# pkgin up
reading local summary...
processing local summary...
#!/bin/bash
if [[ -n "$TRACE" ]]; then
export PS4='[\D{%FT%TZ}] ${BASH_SOURCE}:${LINENO}: ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
set -o xtrace
fi
set -o errexit
set -o pipefail