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
wget https://deb.nodesource.com/setup_12.x | |
chmod +x setup_12.x | |
./setup_12.x | |
sudo apt install nodejs make gcc-8 g++-8 -y | |
sudo apt install node-pre-gyp -y | |
rm setup_12.x | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8 |
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
echo "Installing dependencies" | |
sudo apt install gcc-7 g++-7 cmake git -y | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 800 --slave /usr/bin/g++ g++ /usr/bin/g++-7 | |
echo "=============" | |
echo "Installing Node.js : For using PM2 daemon manager" | |
wget https://deb.nodesource.com/setup_12.x | |
chmod +x setup_12.x | |
./setup_12.x | |
sudo apt install nodejs -y |
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
/// How it works : | |
/// This script will download videos from your Amcrest Camera automatically (automate cumbersome task of individually clicking download on each video) | |
/// Limitation is that it will stop downloading when it reaches the end of the month. | |
/// HOW TO USE : | |
// 1. Login to Amcrest camera and click Playback tab. | |
// 2. Select Day of the Month to begin downloading from. | |
// 3. Open the Web Browser Console. (CTRL + SHIFT + C on Mac) | |
// 4. Paste this entire script in the execution field and run it. | |
// 5. You will see the files start downloading. |
OlderNewer