Store and load temporary large pieces of data online
First, install with
$ npm install -g hs
To save some data:
$ hs save "i'm saving this" # outputs some id, e.g. "asdhfuo"
To load the data:
$ hs load <id> # for example, "asdhfuo" from above
You can even pipe data to
$ cat .vimrc | hs save
hs uses a really straightforward POST API that contacts hastebin.com.
When I create virtual machines, I need to transfer some of my config files, such
.bash_profile. I don't want to create a dotfiles repo on GitHub
because the preferences differ between all the machines. Additionally,
copy/paste shortcuts differ between all machines, so the easiest way is to just
type in a quick 8-character id and pipe it to a file.