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
sudo service docker stop | |
rm -rf ~/popcorn-health | |
git clone https://gitlab.com/popcorn-vn/popcorn-health.git | |
cd ~/popcorn-health | |
git submodule update --init --recursive | |
cd ~/popcorn-health/src/models | |
git checkout master && git pull | |
cd ~/popcorn-health | |
mkdir storage | |
npm i |
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
sudo service docker stop | |
rm -rf ~/popcorn-crawl | |
git clone https://gitlab.com/popcorn-vn/popcorn-crawl.git | |
cd ~/popcorn-crawl | |
git submodule update --init --recursive | |
cd ~/popcorn-crawl/src/models | |
git checkout master && git pull | |
cd ~/popcorn-crawl | |
npm cache clear --force | |
npm i -g pm2 |
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 | |
while true; do | |
sleep 1 | |
echo "Pressing..." | |
# xdotool key alt+quoteleft | |
sleep 2 | |
xdotool key ctrl+Tab | |
sleep 1 | |
xdotool key Return |