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
SITE="http://i.mirai.red"; | |
DIR=~/Screenshots/; | |
[email protected]; | |
FLDR=/home/i.mirai.red; | |
NM=$(LC_CTYPE=C tr -dc "a-zA-Z0-9" < /dev/urandom | head -c 5).png; | |
FILE=$(screencapture -i $DIR$NM && echo $DIR$(ls -Art $DIR | tail -n 1)); | |
if [ -a $FILE ] ; then |
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 "Hello, we will now install NodeJS & NPM." | |
read -p "Would you like to remove an old install first? (Y/n) " -n 1 -r && echo "" | |
if [[ $REPLY =~ ^[Yy]$ || ! $REPLY ]] | |
then | |
sudo apt-get remove nodejs | |
sudo apt-get remove npm | |
sudo apt-get autoremove | |
echo "" | |
fi |
NewerOlder