Skip to content

Instantly share code, notes, and snippets.

View xorian's full-sized avatar

Ken Schalk xorian

View GitHub Profile
@xorian
xorian / 0_reuse_code.js
Created July 20, 2016 20:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#!/usr/bin/env zsh
# ----------------------------------------------------------------------
# Send the standard input into a running emacs server, either on the
# kill ring, in a specified register, or in a new buffer. Examples:
# echo -n some text into the kill ring | into-emacs
# echo -n other text into register 1 | into-emacs -r 1
# long_command | into-emacs -b "long command output"