- http://www.quora.com/What-kind-of-technology-does-Filecatalyst-and-Aspera-uses-to-fast-file-transfers
- http://serverfault.com/questions/300086/file-transfer-alternatives
- http://serverfault.com/questions/111813/what-is-the-best-way-to-transfer-a-single-large-file-over-a-high-speed-high-lat
- http://forums.smallnetbuilder.com/showthread.php?t=10950
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.idea/* | |
*.pyc |
https://certbot.eff.org/#ubuntutrusty-other
mkdir -p /etc/letsencrypt/configs
- Create the file:
/etc/letsencrypt/configs/domain.com.conf
mkdir -p /var/www/letsencrypt/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
- Ubuntu 20.04 with Gnome
- Debian 11 with Gnome
- Linux Mint with Cinnamon (needs different environment setup, check comments)
- Arch Linux with Gnome (pacman instead of apt)
This is not a step by step guide
Sourced from
- https://scottlinux.com/2014/07/15/determine-remaining-ssd-life-in-linux/
- https://askubuntu.com/questions/865792/how-can-i-monitor-the-tbw-on-my-samsung-ssd
ssd_life /dev/sda
------------------------------
SSD Status: /dev/sda
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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