I hereby claim:
- I am vojtechstep on github.
- I am vojtechstep (https://keybase.io/vojtechstep) on keybase.
- I have a public key ASCBYyCnyWBaRg3k9p6Ldjew_fAkgZOf8GaohhQpWil8kwo
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # | |
| # This is sp, the command-line Spotify controller. It talks to a running | |
| # instance of the Spotify Linux client over dbus, providing an interface not | |
| # unlike mpc. | |
| # | |
| # Put differently, it allows you to control Spotify without leaving the comfort | |
| # of your command line, and without a custom client or Premium subscription. | |
| # |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "env": { | |
| "browser": true, | |
| "commonjs": true, | |
| "es6": true, | |
| "node": true | |
| }, | |
| "plugins": [ | |
| "react", | |
| "import" |
| #If this isn't the user using the shell, username@host will be displayed (if enabled) | |
| $DEFAULT_USER='Adalbert' | |
| #True to print username@host event if it's the default user | |
| $PRINT_DEFAULT_USER=$FALSE | |
| #Glyphs | |
| $SEGMENT_DELIMETER_GLYPH=[char]0xE0B0 # î‚° | |
| $PREV_CMD_FAIL_GLYPH=[char]0x2718 # ✘ | |
| $BGTASK_GLYPH=[char]0x2699 # âš™ |
| var http = require('http') | |
| var https = require('https') | |
| var alphabet = " -b -c -d -e -f -g -h -i -j-k -l -m -n -o -p -q -r -s -t -u-v -w x-y-z".split(" ") | |
| function download(url, callback) { | |
| var prot = url.startsWith('https') ? https : http | |
| prot.get(url, function (res) { | |
| var data = "" | |
| res.on('data', function (chunk) { |