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://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana_5.3.2_armhf.deb && sudo dpkg -i grafana_5.3.2_armhf.deb | |
sudo apt-get update && sudo apt-get install grafana -y | |
sudo systemctl enable grafana-server.service |
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
Status Board | |
Status in ("To Do", Open) AND issuetype not in (Epic, bug, Sub-task, "Professional Services") AND project in (Skynet, "Toronto Raptors", EC) | |
- | |
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
# https://www.youtube.com/watch?v=4TuawlLrWaY | |
# This is gold | |
sudo apt-get remove chromium-browser && sudo apt-get remove chromium && sudo apt-get autoremove && sudo apt-get clean | |
sudo pip3 install selenium |
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
from selenium import webdriver | |
import time | |
USERNAME = 'cusadmin' | |
PASSWORD = 'password' | |
driver = webdriver.Chrome() | |
driver.get('http://192.168.2.1/login.html#admin_devreboot/m/4/s/6') | |
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
add repo | |
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - | |
Install | |
sudo apt-get install -y 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
sudo HOST=192.168.2.30 PORT=8000 crontab-ui |
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
ssh-keygen -R 192.168.2.10 |
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
# m h dom mon dow command | |
# 0 6 * * * bash /home/pi/Documents/router_restart.py && date >> /home/pi/Music/samplefile.txt | |
# 0 6 * * * python /home/pi/Documents/router_restart.py && date >> /home/pi/Music/samplefile.txt | |
1 * * * * date >> /home/pi/Music/samplefile.txt | |
#Option1 | |
0 6 * * * bash -c 'python /home/pi/Documents/router_restart.py && date >> /home/pi/Music/samplefile.txt' |
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
# Copy Documents contents | |
sudo apt-get update -y && sudo apt-get upgrade -y --allow-unauthenticated && sudo apt-get dist-upgrade -y && sudo dpkg -i /home/pi/Documents/htop_2.0.2-2_armhf.deb | |
sudo apt-get install fish screen -y | |
# Plex |
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
curl -sL https://install.raspap.com | bash -s -- -y | |
sudo iptables -t nat -I POSTROUTING -d 127.0.0.0/8 -j ACCEPT |