Skip to content

Instantly share code, notes, and snippets.

View ChaimStanton's full-sized avatar

Chaim Stanton ChaimStanton

View GitHub Profile
@ChaimStanton
ChaimStanton / apache2.conf relevant part
Created November 10, 2021 12:08
apache2.conf relevant part
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
#NameVirtualHost 46.101.37.154
ServerName 46.101.37.154
<VirtualHost *:80>
ServerName readerlol.chaimstanton.co.uk
ServerAlias readerlol.chaimstanton.co.uk
DocumentRoot /var/www/html/readerlol.chaimstanton.co.uk/
#RewriteEngine on
@ChaimStanton
ChaimStanton / apache2.conf
Created November 10, 2021 12:05
apache2.conf
GNU nano 4.8 apache2.conf Modified
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.4/ for detailed information about
# the directives and /usr/share/doc/apache2/README.Debian about Debian specific
# hints.
#
#
# Summary of how the Apache 2 configuration works in Debian:
# The Apache 2 web server con
@ChaimStanton
ChaimStanton / error.log
Created November 10, 2021 11:59
error.log apache2
[Wed Nov 10 00:11:05.468831 2021] [ssl:warn] [pid 54931] AH01909: pingtester.chaimstanton.co.uk:443:0 server certificate does NOT include a>
[Wed Nov 10 00:11:05.472476 2021] [mpm_prefork:notice] [pid 54931] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming no>
[Wed Nov 10 00:11:05.472508 2021] [core:notice] [pid 54931] AH00094: Command line: '/usr/sbin/apache2'
[Wed Nov 10 00:14:33.525932 2021] [mpm_prefork:notice] [pid 54931] AH00169: caught SIGTERM, shutting down
[Wed Nov 10 00:17:59.848595 2021] [ssl:warn] [pid 55302] AH01909: pingtester.chaimstanton.co.uk:443:0 server certificate does NOT include a>
[Wed Nov 10 00:18:00.063111 2021] [ssl:warn] [pid 55304] AH01909: pingtester.chaimstanton.co.uk:443:0 server certificate does NOT include a>
[Wed Nov 10 00:18:00.066974 2021] [mpm_prefork:notice] [pid 55304] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming no>
[Wed Nov 10 00:18:00.067057 2021] [core:notice] [pid 55304] AH00094: Command line: '/usr/sbin/apache2'
[Wed No
@ChaimStanton
ChaimStanton / apachectl -S
Created November 10, 2021 11:55
apachectl -S
VirtualHost configuration:
*:443 is a NameVirtualHost
default server chaimstanton.co.uk (/etc/apache2/sites-enabled/apache2-le-ssl.conf:2)
port 443 namevhost chaimstanton.co.uk (/etc/apache2/sites-enabled/apache2-le-ssl.conf:2)
alias chaimstanton.co.uk
port 443 namevhost pingtester.chaimstanton.co.uk (/etc/apache2/sites-enabled/apache2-le-ssl.conf:17)
alias pingtester.chaimstanton.co.uk
port 443 namevhost readerlol.chaimstanton.co.uk (/etc/apache2/sites-enabled/apache2-le-ssl.conf:32)
alias readerlol.chaimstanton.co.uk
port 443 namevhost www.chaimstanton.co.uk (/etc/apache2/sites-enabled/apache2-le-ssl.conf:47)
root@raspberrypi:/home/pi# docker info
Client:
Debug Mode: false
Server:
Containers: 8
Running: 0
Paused: 0
Stopped: 8
Images: 2
GParted 1.1.0
configuration --enable-libparted-dmraid --enable-online-resize
libparted 3.3
========================================
Device: /dev/sda
Model: ATA TOSHIBA MQ01ABD1
ERROR: test_initialmuckup (__main__.TestInitialmuckup)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\Users\ATS- Asus\Documents\tesco stuff\test_initialmuckup_with_comments.py", line 20, in setUp
self.driver = webdriver.Chrome(driver_path)
File "C:\Users\ATS- Asus\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in __init__
self.service.start()
File "C:\Users\ATS- Asus\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\selenium\webdriver\common\service.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.752.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 854, in __init__
@ChaimStanton
ChaimStanton / index.css
Created September 26, 2018 13:30
AI-Pong-Game created by ChaimStanton1 - https://repl.it/@ChaimStanton1/AI-Pong-Game
/* Fonts from Google Fonts - more at https://fonts.google.com */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700');
body {
background-color:white;
font-family: "Open Sans", sans-serif;
padding: 5px 25px;
font-size: 18px;
margin: 0;