Skip to content

Instantly share code, notes, and snippets.

@HxxxxxS
HxxxxxS / did.md
Last active January 17, 2019 12:38
did file oneliner

Creates a ~/Documents/did/ directory with a new file every day.

Aliases to place in .bashrc/.bash_profile or similar

alias did='mkdir -p ~/Documents/did; echo -e "<$(date +%T)>\n$1" >> ~/Documents/did/$(date +%Y-%m-%d).txt'
alias showdid='cat ~/Documents/did/$(date +%Y-%m-%d).txt'

Usage:

Verifying that +hansx_ is my blockchain ID. https://onename.com/hansx_
@HxxxxxS
HxxxxxS / 0_reuse_code.js
Created April 23, 2014 07:51
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