start new:
tmux
start new with session name:
tmux new -s myname
# Two escapes clear command line. | |
"\e\e": "\C-a\C-k" | |
# Tab to menu complete | |
"\t": menu-complete | |
# Incremental searching with Up and Down and Left and Right | |
"\e[A": history-search-backward | |
"\e[B": history-search-forward | |
"\e\e[C": forward-word |
-/macro fio-dec system, june 1963 | |
007652 640500 szm=sza sma-szf | |
007652 650500 spq=szm i | |
007652 761200 clc=cma+cla-opr | |
- define senseswitch A | |
- repeat 3, A=A+A | |
- szs A | |
- term | |
- define init A,B | |
- law B |
#!/bin/bash | |
# | |
# Removes the Bing logo from Satellite Eyes wallpapers | |
# | |
# Delete the Bing logo image | |
rm -f /Applications/Satellite\ Eyes.app/Contents/Resources/bing-logo.png | |
# Clear the map cache | |
rm -f ~/Library/Application\ Support/Satellite\ Eyes/map-*.png |
#!/usr/bin/env python | |
import random | |
CHARS = { | |
'top': [ | |
u'\u0300', | |
u'\u0301', | |
u'\u0302', | |
u'\u0303', |
class window.IdleTimer | |
constructor: () -> | |
@timer | |
@timeIncrement = 1000 | |
@timeIdle = 0 | |
@timeMax = 10000 | |
@expired = false | |
@interactionMethods = ['click','mousemove'] | |
# these should not be in here. move somewhere else. |
The following rules of programming style are excerpted from the book "The Elements of Programming Style" by Kernighan and Plauger, published by McGraw Hill. Here is quote from the book: "To paraphrase an observation in The Elements of Style by Strunk and White, the rules of programming style, like those of English, are sometimes broken, even by the best writers. When a rule is broken, however, you will usually find in the program some compensating merit, attained at the cost of the violation. Unless you are certain of doing as well, you will probably do best to follow the rules."
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
#!/bin/sh | |
# man - `man` replacement for git bash on windows | |
# Requires: | |
# Git Bash - https://git-scm.com/downloads/ | |
# wget - https://eternallybored.org/misc/wget/ | |
# Notes: | |
# `sed -r` = allows gnu regex extensions (like +) |