Skip to content

Instantly share code, notes, and snippets.

J. Andrew Lanz-O'Brien jlanzobr

  • London, Ontario
Block or report user

Report or block jlanzobr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Computer Specifications
● Processor: AMD Ryzen 7 2700X Processor (3.7GHz)
● Graphics: Sapphire AMD Radeon RX Vega 64 8GB
● Motherboard: ASUS ROG Strix X470-F Gaming AM4 AMD X470
● Memory: 16 GB CORSAIR DDR4 3466MHz CL16
● Hard Drive: WD Black NVMe M.2 2280 WDS500G2X0C 500GB PCI-Express 3.0 x4 3D NAND SSD
● Power Supply: EVGA SuperNOVA 1000 G3, 80 Plus Gold 1000W
● Display: 31.5 inch Acer ET322QU 75 Hz IPS 4 ms response time
● Mouse: Logitech G502 Proteus Core
● Keyboard: Azio MGK-101
View python.ini
chdir = /srv/http/python
module = django.core.handlers.wsgi:WSGIHandler()
env = DJANGO_SETTINGS_MODULE=python.settings
processes = 2 # number of cores on machine
max-requests = 5000
chmod-socket = 666
master = True
vacuum = True
socket = /var/run/uwsgi/python.sock
View uwsgi_params
uwsgi_param QUERY_STRING $query_string;
uwsgi_param REQUEST_METHOD $request_method;
uwsgi_param CONTENT_TYPE $content_type;
uwsgi_param CONTENT_LENGTH $content_length;
uwsgi_param REQUEST_URI $request_uri;
uwsgi_param PATH_INFO $document_uri;
uwsgi_param DOCUMENT_ROOT $document_root;
uwsgi_param SERVER_PROTOCOL $server_protocol;
View site.conf
server {
client_max_body_size 20M;
listen 80;
listen 443 ssl;
index index.html index.htm index.php;
root /srv/http;
# browse folders if no index file
View nginx.conf
user http;
worker_processes 2;
events {
worker_connections 1024;
http {
include mime.types;
default_type application/octet-stream;
jlanzobr / Arch Linux Setup
Last active Feb 13, 2019
A reasonably complete KDE experience on Arch.
View Arch Linux Setup
fdisk -l
mkswap /dev/sda2 -L Swap
swapon /dev/sda2
mkfs.ext4 /dev/sda1 -L Linux
mount /dev/sda1 /mnt
pacstrap /mnt base
pacstrap /mnt os-prober grub dhclient
You can’t perform that action at this time.