Skip to content

Instantly share code, notes, and snippets.

View chas-e's full-sized avatar

Chas E chas-e

View GitHub Profile
@cairesr
cairesr / emacs_cheatsheet.md
Last active April 28, 2024 02:14
Emacs Cheat Sheet for macOS

Basics

ctrl + g - quit any Emacs command

crtl-x b - new buffer

crtl-x k - kill buffer

ctrl-x Ctrl-f - find / create new file na

@squarism
squarism / iterm2.md
Last active May 22, 2024 12:52
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@jhrr
jhrr / bling.js
Last active January 31, 2023 20:04 — forked from paulirish/bling.js
/* bling.js */
window.$ = document.querySelectorAll.bind(document)
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn)
}
NodeList.prototype.__proto__ = Array.prototype
@paulirish
paulirish / bling.js
Last active May 1, 2024 19:56
bling dot js
/* bling.js */
window.$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn);
}
NodeList.prototype.__proto__ = Array.prototype;