Created
May 26, 2017 06:02
-
-
Save hitesh83/c07741197bc5e921bd0d697b5f4ed6a9 to your computer and use it in GitHub Desktop.
getting random 9gag image with 9gag-random node / npm
This file contains 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
#!/bin/bash | |
dir=/home/pi/9gag | |
cd $dir | |
rm *.png | |
9gag-rnd > output.txt | |
mv *.png 9gag.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment