Skip to content

Instantly share code, notes, and snippets.

@vjm
vjm / README.md
Last active November 6, 2018 14:22
Git Fu

Readme

Add a work alias to git: bash <(curl https://gist.githubusercontent.com/vjm/37843e939c7868d3f4e2/raw/setup_work_alias.sh)

Update an author: OLD_EMAIL=old.email@gmail.com CORRECT_EMAIL=new.email@work.com CORRECT_NAME="My Name" bash &lt;(curl https://gist.githubusercontent.com/vjm/37843e939c7868d3f4e2/raw/rewrite_author.sh)

@vjm
vjm / README.md
Last active March 15, 2016 00:23
Add my public keys

curl -fsSL https://gist.githubusercontent.com/vjm/cfef584506199f61d151/raw/add_authorized_keys.sh | sh

# Start from a Debian image with the latest version of Go installed
# and a workspace (GOPATH) configured at /go.
FROM golang
# Copy the local package files to the container's workspace.
ADD server2 /server2
RUN chmod +x /server2
# Build the outyet command inside the container.
# (You may fetch or manage dependencies here,
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3Bv7E+HE5s3OOKn/4b5g6fNjemdFMpYp5u0oN/G+elFHCvvAcnMOsscJGNK88v+Dq9j5knURrsWJmr1rBjdQzlFCYCrWkjq7KinveRmxpPBOOuCz5MfdTc9NZdAJ/XoShQhXP1s/r8mcD8G2UYIc/ZttJC7MjiQyd530CHXzpQwh0LG1pcFlBNrKnOWfrlLEeUXMcr3SFpQCRyzaOLbgaHQQs9Bhks04SqVFGKryfUe0M5/HGcS7SAhHeaK73BgC2dXIB1bfdbV1WU/Y+F6F1ntgnSq1xVjbg9YPevwWlklzMPMjEfwiN+u/e707WHU3I2HH5maHGV79qtIQvbmQB vjm@vjm-ihm.local