Skip to content

Instantly share code, notes, and snippets.

View vendion's full-sized avatar

Adam Jimerson vendion

View GitHub Profile
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@afontaine
afontaine / git-ignore
Last active December 19, 2015 10:09
Custom git script to create/append .gitignore file with provided arguments from gitignore.io's REST api. Move to anywhere in your PATH. Generate/Append the repo's .gitignore file using the gitignore.io api git-ignore [-l] <types> ... -l If no other option is present, list available templates. If options do exist, output is redirected to stdout. …
#!/bin/sh
USAGE="[-l] <types> ..."
LONG_USAGE="Generate/Append the repo's .gitignore file using the gitignore.io api
-l
If no other option is present, list available templates.
If options do exist, output is redirected to stdout.
`curl -s http://gitignore.io/api/`"
package main
import (
"fmt"
"math/rand"
"reflect"
)
func worker(n int, ch chan int) {
count := rand.Intn(5) + 3
@icholy
icholy / _godoc
Last active February 17, 2022 19:17
godoc completions
#compdef godoc
typeset -A opt_args
local context state line
local pkgdir usrpkgdir
pkgdir="$GOROOT/src/pkg"
usrpkgdir="$GOPATH/src"
godoctmpl=~/.godoc_templates
@proxypoke
proxypoke / pre-commit.sh
Created May 24, 2012 13:32
go pre-commit git hook
#!/bin/bash
# Author: slowpoke <proxypoke at lavabit dot com>
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
#
# A pre-commit hook for go projects. In addition to the standard

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@endolith
endolith / Has weird right-to-left characters.txt
Last active May 23, 2024 11:02
Unicode kaomoji smileys emoticons emoji
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶