time.google.com
time1.google.com
time2.google.com
time3.google.com
#!/usr/bin/python | |
from subprocess import call | |
import re | |
from os.path import exists | |
from os import environ | |
home = environ['HOME'] | |
reg_time = re.compile(r'\[(\d{4}.+\d{4})\]') |
class GhData : Driver | |
var greenhouse_data | |
def greenhouse() | |
# Read needed Sensor data | |
import json | |
var sensors=json.load(tasmota.read_sensors()) | |
var p = sensors['BME280']['Pressure'] | |
var rh = sensors['SHT3X']['Humidity'] |
server { | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; | |
server_name yourdomain | |
ssl_certificate /etc/ssl/localcerts/yourdomain.crt; | |
ssl_certificate_key /etc/ssl/localcerts/yourdomain.key; | |
ssl_ecdh_curve prime256v1; | |
ssl_session_cache builtin:1000 shared:SSL:10m; |
Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.
On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
.
cgconfig.conf
- that's where you create the control group /etc/
cgrules.conf
- that's where you add binaries to that specific control group /etc/
cgconf
- that's the init script i use because its not available on ubuntu. It might be available for your OS in the package manager. I took the startup script from http://askubuntu.com/questions/836469/install-cgconfig-in-ubuntu-16-04 - /etc/init.d/
Use the following steps to test what you have without the
cgconfigparser -l /etc/cgconfig.conf
- to add/register your control group to the systemcgrulesengd
- sends the binary-cgroup binding rules.Here is how to create a cloud-init disk image and OS disk image suitable for configuring into a libvirt domain file.
In my case I am naming my domain (a.k.a. virtual machine or VM) xenial
with a static IP address of 192.168.0.101
.
The filenames "network-config" and "user-data" files are arbitrary, so they can be named with a prefix for the domain, etc.
First, get the cloud image and convert into QCOW2 format:
qemu-img convert -O qcow2 xenial-server-cloudimg-amd64-disk1.img xenial-server-cloudimg-amd64-disk1.qcow2
# download source https://www.python.org/downloads/release/python-2712/ | |
wget https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz | |
tar -zxvf Python-2.7.12.tgz | |
cd Python-2.7.12 | |
# install | |
./configure | |
make | |
sudo make install |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
#!/bin/bash | |
ANSIBLE_ROOT=${ANSIBLE_ROOT:-/opt/ansible} | |
DISTR_ROOT=${DISTR_ROOT:-/vagrant} | |
yum install -y python-setuptools python-devel libffi-devel openssl-devel | |
easy_install virtualenv | |
virtualenv "$ANSIBLE_ROOT" | |
. "$ANSIBLE_ROOT/bin/activate" | |
# PY_LIBS can contain a space-separated list of Python libraries your playbooks require to run (e.g., "dnspython shade") |