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
import requests | |
from bs4 import BeautifulSoup | |
import time | |
import webbrowser | |
# while this is true (it is true by default), | |
while True: | |
url = "https://www.vaccinateri.org/client/registration?clinic_id=1534" | |
headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36'} | |
response = requests.get(url, headers=headers) |
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
input_device = "GPIO Controller 1" | |
input_driver = "udev" | |
input_l_btn = "4" | |
input_load_state_btn = "4" | |
input_start_btn = "7" | |
input_exit_emulator_btn = "7" | |
input_down_axis = "+1" | |
input_r_btn = "5" | |
input_save_state_btn = "5" | |
input_right_axis = "+0" |
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
# If set to a directory, content which is temporarily extracted | |
# will be extracted to this directory. | |
cache_directory = "/tmp/retroarch" | |
# Path to core options config file. | |
# This config file is used to expose core-specific options. | |
# It will be written to by RetroArch. | |
# A default path will be assigned if not set. | |
core_options_path = "/opt/retropie/configs/all/retroarch-core-options.cfg" |
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 | |
# Set the ROM folder | |
BASE="/home/pi/RetroPie/roms" | |
# List the platforms to scan | |
PLATFORMS=(arcade snes nes megadrive) | |
EXTS=(.zip .sfc .7z .md) | |
MAKE_DIFFS=1 |
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
services: | |
php: | |
image: tugboatqa/php:7-apache | |
default: true | |
commands: | |
init: | |
# Install Node, Google Lighthouse, and jq | |
- apt-get update |
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
services: | |
php: | |
image: tugboatqa/php:7-apache | |
commands: | |
init: | |
- apt-get update | |
- apt-get install -y jq | |
build: |
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
Firewall | |
Note that in some versions of CentOS, a firewall is installed by default which will block access to port 80, on which Apache runs. The following command will open this port and save the rule to iptables. | |
iptables -I RH-Firewall-1-INPUT -p tcp --dport http -j ACCEPT | |
service iptables save | |
PHP5 Install | |
Drupal is written in PHP. Let's move on to the PHP5 install. As before, due to using yum to install PHP5, any dependencies are taken care of: |