Skip to content

Instantly share code, notes, and snippets.

@LintaoAmons
LintaoAmons / .tmux.conf
Created October 8, 2022 09:50
Popup terminal with tmux
# ... your other config
bind-key -n M-3 run-shell 'toggle-tmux-popup'
# you can switch `M-3` to any keybindings you like.
@Nikolaj-K
Nikolaj-K / category_theory_literature.md
Last active December 2, 2025 19:03
Recomended reading for the undergrad category theorist
@asukakenji
asukakenji / go-stdlib-interface-selected.md
Last active October 29, 2025 08:09
Go (Golang) Standard Library Interfaces (Selected)

Go (Golang) Standard Library Interfaces (Selected)

This is not an exhaustive list of all interfaces in Go's standard library. I only list those I think are important. Interfaces defined in frequently used packages (like io, fmt) are included. Interfaces that have significant importance are also included.

All of the following information is based on go version go1.8.3 darwin/amd64.

@Blaisorblade
Blaisorblade / default-to-cycling-flycheck.el
Last active September 8, 2021 06:09
Emacs: Default `M-g n` and `M-g p` to flycheck if active, and (optionally) cycle for flycheck
;; Caveat: I'm an Elisp noob. I expect this will break if invoked before flycheck mode is possible, and am not sure that's possible.
;; Invoke flycheck preferentially when flycheck-mode is enabled.
;; My own workaround for https://github.com/commercialhaskell/intero/issues/268.
(defun flycheck-or-norm-next-error (&optional n reset)
(interactive "P")
(if flycheck-mode
(flycheck-next-error n reset)
(next-error n reset)))
@kwilczynski
kwilczynski / Makefile
Last active March 8, 2024 23:48
Makefile for my Go projects (an example).
SHELL := /bin/bash
REV := $(shell git rev-parse HEAD)
CHANGES := $(shell test -n "$$(git status --porcelain)" && echo '+CHANGES' || true)
TARGET := packer-provisioner-itamae-local
VERSION := $(shell cat VERSION)
OS := darwin freebsd linux openbsd
ARCH := 386 amd64
@zchee
zchee / actionlist.vim
Last active November 7, 2025 12:01
IdeaVim actionlist
--- Actions ---
$Copy <M-C>
$Cut <M-X> <S-Del>
$Delete <Del> <BS> <M-BS>
$LRU
$Paste <M-V>
$Redo <M-S-Z> <A-S-BS>
$SearchWeb <A-S-G>
$SelectAll <M-A>
$Undo <M-Z>
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active December 2, 2025 11:50
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname