#Mac OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* /////////////////////////////////////////////////////////////////////////// | |
| Simple YOUTUBE-DL function | |
| AUTHOR: .LAG (@boycaught) | |
| VERSION: 0.0.1 | |
| DATE: 2014-10-18 | |
| /////////////////////////////////////////////////////////////////////////// */ | |
| var exec = require('child_process').exec; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am boycaught on github. | |
| * I am boycaught (https://keybase.io/boycaught) on keybase. | |
| * I have a public key whose fingerprint is C8C4 344C B6E3 FB5E 1258 7F82 B803 4D70 F4AF 1C97 | |
| To claim this, I am signing this object: |
A Pen by Emran Khan on CodePen.
A Pen by Crianbluff on CodePen.
OlderNewer