Create a .env file in the root directory:
# Firebase Configuration
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_storage_bucket| # Windows Subsystem for Linux (WSL) | |
| # install miniconda 3 | |
| # prerequisites latent diffusion - https://github.com/CompVis/latent-diffusion | |
| # Optional: conda install typing-extensions==4.7.1 | |
| conda create -n stable_diffusion | |
| conda activate stable_diffusion |
| mkdir openssl && cd openssl | |
| openssl req -x509 \ | |
| -sha256 -days 356 \ | |
| -nodes \ | |
| -newkey rsa:2048 \ | |
| -subj "/CN=localhost/C=AU/L=Location" \ | |
| -keyout rootCA.key -out rootCA.crt | |
| openssl genrsa -out server.key 2048 |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
| auto lo | |
| iface lo inet loopback | |
| iface eth0 inet dhcp | |
| allow-hotplug wlan0 | |
| auto wlan0 | |
| iface wlan0 inet dhcp | |
| wpa-ssid "ssid" |
| # Generate self signed certificate: | |
| keytool -genkey -alias tomcat -storetype PKCS12 -keyalg RSA -keysize 2048 -keystore keystore.p12 -validity 3650 \ | |
| -ext SAN=dns:my.domain.com,ip:1.1.1.1 | |
| # copy keystore.p12 to any of your classpathentry paths, e.g. /src/main/resources. | |
| # Add following to your application.properties file: | |
| server.ssl.key-store=classpath:keystore.p12 |
| #!/usr/bin/python | |
| import os, time, datetime, glob | |
| import sys | |
| import requests | |
| import Adafruit_DHT as DHT | |
| dht_sensor = DHT.DHT11 | |
| dht_pin = 4 | |
| os.system('modprobe w1-gpio') |
| [ | |
| { | |
| "id": "277bfe7c.1ba7f2", | |
| "type": "ui_gauge", | |
| "z": "8fb8cb67.969a38", | |
| "name": "", | |
| "group": "e3441e7f.58bb3", | |
| "order": 2, | |
| "width": 0, | |
| "height": 0, |
| [ | |
| { | |
| "id": "8fb8cb67.969a38", | |
| "type": "tab", | |
| "label": "Flow 3" | |
| }, | |
| { | |
| "id": "863bff5.47dcd", | |
| "type": "rpi-dht22", | |
| "z": "8fb8cb67.969a38", |
Our Virtual Machines are provisioned using Vagrant from a Linux base box to run using VirutalBox. If the Hard Disk space runs out and you cannot remove files to free-up space, you can resize the Hard Disk using some VirtualBox and Linux commands.
The following steps assume you've got a set-up like mine, where: