Skip to content

Instantly share code, notes, and snippets.

View stevesbrain's full-sized avatar

Steve Divskinsy stevesbrain

View GitHub Profile
@stevesbrain
stevesbrain / app\Http\Kernel.php
Last active February 28, 2017 02:38
Laravel 5.1.40 (LTS) HTTPS Load Balancer ValidProxies
<?php
// ...
protected $middleware = [
// ...
\FI\Http\Middleware\ValidProxies::class,
];
// ...
@stevesbrain
stevesbrain / arch-linux-install
Created February 4, 2016 05:43 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap