Skip to content

Instantly share code, notes, and snippets.

View diewland's full-sized avatar
🧩
Jigsaw Fam

diewland.eth diewland

🧩
Jigsaw Fam
View GitHub Profile
@diewland
diewland / default
Last active April 29, 2020 18:12 — forked from ColeMurray/default
my nginx config example
server {
listen 80;
server_name YOUR_SERVERS_IP_ADDRESS;
location ~ ^/(js/|img/|css/) {
root /path/to/public/static/;
access_log off;
expires 24h;
}
location / {
@diewland
diewland / foo.log
Created December 23, 2017 04:52 — forked from ibeex/foo.log
Flask logging example
A warning occurred (42 apples)
An error occurred
@diewland
diewland / Python3 Virtualenv Setup.md
Created November 2, 2017 08:42 — forked from pandafulmanda/Python3 Virtualenv Setup.md
Setting up and using Python3 Virtualenv on Mac

Python3 Virtualenv Setup

Requirements
  • Python 3
  • Pip 3
$ brew install python3
@diewland
diewland / .gitconfig
Last active January 3, 2017 15:56 — forked from ColinHarrington/.gitconfig
git aliases
[user]
name = diewland
email = diewland@gmail.com
[alias]
st = status
ci = commit
br = branch
co = checkout
l = log --graph --decorate --pretty=oneline --abbrev-commit -n 10
ll = log --graph --decorate --pretty=oneline --abbrev-commit --all