Skip to content

Instantly share code, notes, and snippets.

View jamosaur's full-sized avatar
🖤

James Wallen-Jones jamosaur

🖤
View GitHub Profile
server {
listen 80;
server_name site-url.dev;
root /var/www/site-folder/public;
access_log /usr/local/etc/nginx/logs/default.access.log main;
location / {
try_files $uri $uri/ /index.php$is_args$args;
include /usr/local/etc/nginx/conf.d/php-fpm;

Edit Variables

CAPGET: capitalize(GET)

@jamosaur
jamosaur / 70-u2f.rules
Last active March 25, 2017 14:22
Use yubikey on arch-linux
# Copyright (C) 2013-2015 Yubico AB
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser