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
Sourced from
ssd_life /dev/sda
------------------------------
SSD Status: /dev/sda
blueprint: | |
name: Sync TRV temperature | |
description: Sync external temperature sensor with TRV temperature | |
domain: automation | |
input: | |
ieeeaddressoftrv: | |
name: IEEE Address | |
description: This is the address of the TRV found in your zigbee database example 0x459877fffe1f2e83 | |
external_temp: | |
name: Select the external temp sensor |
Modern OpenSSH has native support for FIDO Authentication. Its much simpler and should also be more stable with less moving parts. OpenSSH also now has support for signing arbitary files witch can be used as replacement of gnupg. Git also supports signing commits/tags with ssh keys.
ssh
, ssh-add
and ssh-keygen
on most computersfrom selenium import webdriver | |
from selenium.webdriver.firefox.options import Options | |
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary | |
options = Options() | |
options.set_headless(True) | |
binary = FirefoxBinary("/usr/bin/firefox") #Linux. In Windows/Mac this is different | |
driver = webdriver.Firefox(firefox_options=options, firefox_binary=binary) | |
print("started firefox in headless mode") |
from flask import Flask, request, Response | |
from jsonrpcserver import methods | |
import os | |
app = Flask(__name__) | |
# JSON RPC Methods | |
@methods.add | |
def ping(): | |
return 'pong' |
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: |
https://certbot.eff.org/#ubuntutrusty-other
mkdir -p /etc/letsencrypt/configs
/etc/letsencrypt/configs/domain.com.conf
mkdir -p /var/www/letsencrypt/
========================== | |
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 |