This document has now been incorporated into the uWSGI documentation:
http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html
Steps with explanations to set up a server using:
from random import choice | |
from string import ascii_lowercase, digits | |
from django.contrib.auth.models import User | |
def generate_random_username(length=16, chars=ascii_lowercase+digits, split=4, delimiter='-'): | |
username = ''.join([choice(chars) for i in xrange(length)]) | |
if split: | |
username = delimiter.join([username[start:start+split] for start in range(0, len(username), split)]) |
https://certbot.eff.org/#ubuntutrusty-other
mkdir -p /etc/letsencrypt/configs
/etc/letsencrypt/configs/domain.com.conf
mkdir -p /var/www/letsencrypt/
.idea/* | |
*.pyc |
blueprint: | |
name: Sync TRV tempature | |
description: Sync external tempature sensor with TRV tempature | |
domain: automation | |
input: |
Yubikey, Smart Cards, OpenSC and GnuPG are pain in the ass to get working. Those snippets here sould help alleviate pain.
Notes written here should work on
This is not a step by step guide
Sourced from
ssd_life /dev/sda
------------------------------
SSD Status: /dev/sda
In any GNU/Linux distribution, which have a package manager on board, is recommended to install software by using "packages". | |
Building from source | |
Step 1. GPG key | |
The first thing you need is generate a gpg key. | |
Package will be signed by this key. | |
Run this commands in your terminal: |
This creates a package which runs an install.sh
which copies a file somewhere
the below is entirely incorrect.
Hopefully I'll get around to fixing it
tip: this would install to the root dir & the relative path to ./install.sh would be wrong
go to project directory
cd /path/to/project
========================== | |
How Software Companies Die | |
========================== | |
- Orson Scott Card | |
The environment that nurtures creative programmers kills management and | |
marketing types - and vice versa. | |
Programming is the Great Game. It consumes you, body and soul. When | |
you're caught up in it, nothing else matters. When you emerge into |