Skip to content

Instantly share code, notes, and snippets.

View dyl4nm4rsh4ll's full-sized avatar
☁️

dyl4nm4rsh4ll dyl4nm4rsh4ll

☁️
View GitHub Profile
@JeffPaine
JeffPaine / vim-notes.md
Last active January 3, 2019 23:20
General vim notes.

Vim Notes

  • set list Shows invisible characters.
  • set listchars What invisibile characters should be set to, see :h listchars for complete list.

Key Remapping

  • map creates a key map that works in normal, visual, select and operator pending modes
  • map! creates a key map that works in insert and command-line mode.

Moved

Now located at https://github.com/JeffPaine/beautiful_idiomatic_python.

Why it was moved

Github gists don't support Pull Requests or any notifications, which made it impossible for me to maintain this (surprisingly popular) gist with fixes, respond to comments and so on. In the interest of maintaining the quality of this resource for others, I've moved it to a proper repo. Cheers!

@siddMahen
siddMahen / README.md
Created September 29, 2011 15:52
Prints the binomial expansion of any power.

Binomial Expansion Script

Run this file on the command line using the python command with the sole argument being the power of (x+y) you wish to expand.

Example:

python binomialexpansion.py 3

Will output:

@spicycode
spicycode / tmux.conf
Created September 20, 2011 16:43
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000