Skip to content

Instantly share code, notes, and snippets.

@lfaoro
lfaoro / tmux_cheatsheet.markdown
Created September 29, 2019 13:32 — forked from henrik/tmux_cheatsheet.markdown
tmux cheatsheet

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@lfaoro
lfaoro / Dockerfile
Created October 12, 2018 22:58
Compile multiple Go programs and load them all in a light container
FROM golang:alpine as builder
WORKDIR /build
COPY . .
RUN apk update && apk upgrade && \
apk add git gcc
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 \
go install -gcflags "-N -l" ./cmd/...
FROM alpine:latest
RUN apk update && apk add ca-certificates && \
@staltz
staltz / introrx.md
Last active May 24, 2024 07:56
The introduction to Reactive Programming you've been missing
@jwreagor
jwreagor / EmacsKeyBinding.dict
Created March 20, 2014 18:41
Global Emacs Key Bindings for OS X
{
/* Keybindings for emacs emulation. Compiled by Jacob Rus.
*
* This is a pretty good set, especially considering that many emacs bindings
* such as C-o, C-a, C-e, C-k, C-y, C-v, C-f, C-b, C-p, C-n, C-t, and
* perhaps a few more, are already built into the system.
*
* BEWARE:
* This file uses the Option key as a meta key. This has the side-effect
* of overriding Mac OS keybindings for the option key, which generally
@hofmannsven
hofmannsven / README.md
Last active May 3, 2024 15:30
Git CLI Cheatsheet