server {
listen 443;
server_name homelab.example.com;
access_log /var/log/nginx/homelab.example.com.access.log;
error_log /var/log/nginx/homelab.example.com.error.log;
root /var/www/html;
; This is part of my AutoHotkey [1] script that turns off my monitor when I | |
; press Win+\. | |
; It also turns the screensaver on at the same time, so that Windows Live | |
; Messenger (and any other programs) know I am away. | |
; I don't have a password on my screensaver, so there is a second version | |
; (Win+Shift+\) that locks the PC as well. | |
; Note: Sometimes the monitor comes back on after a second and I have to |
# Hosts file for Pi-Hole |
import os | |
import sys | |
import time | |
import platform | |
import subprocess | |
import urllib2 | |
import logging | |
""" Are we windows or linux """ | |
is_windows = any(platform.win32_ver()) |
$ uname -r
Name: Flash | |
Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc= | |
if anyone wants to thank ETH: 0x527c2aB55b744D6167dc981576318af96ed26676 | |
Thank you! |
00 | |
01 | |
02 | |
03 | |
04 | |
05 | |
06 | |
07 | |
08 | |
09 |
# Arch Linux installation procedure on a Lenovo ThinkPad X200s | |
# BIOS boot (no UEFI), SSD + LVM + LUKS + TRIM + discards | |
# Randomize (or zero) drive contents | |
dd if=/dev/urandom of=/dev/sda | |
# Create GPT and partitions | |
# Use gdisk to ensure proper partition alignment | |
gdisk /dev/sda | |
# 100MB boot partition on /dev/sda1 type 8300 |