Skip to content

Instantly share code, notes, and snippets.

View christianruhstaller's full-sized avatar

christianruhstaller

  • Zürich, Switzerland
View GitHub Profile
@christianruhstaller
christianruhstaller / 0_reuse_code.js
Created May 2, 2016 07:42
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

Keybase proof

I hereby claim:

  • I am christianruhstaller on github.
  • I am chosy (https://keybase.io/chosy) on keybase.
  • I have a public key whose fingerprint is 15AE 877E FA4C 578B 0A63 365E F338 5401 4611 5F2F

To claim this, I am signing this object:

git diff-tree --no-commit-id --name-only -r HEAD~5..HEAD | while read -r line ;
do
mkdir -p "/tmp/git/$line";
rmdir "/tmp/git/$line";
cp -r "$line" "/tmp/git/$line";
done;