Stable Diffusion WebUI is a web interface for Stable Diffusion, implemented using Gradio library. Github source: https://github.com/AUTOMATIC1111/stable-diffusion-webui Download webui Setup env Run it, my MacBook Pro doesn’t have a Nvidia GPU, so need to disable CUDA in webui-macos-env.sh
Gost system service setting
vi /etc/systemd/system/gost.service Enable service
Install SSL cert for Nginx with acme.sh on Debain
Get acme.sh Setup Aliyun DNS API , I need to match *.example.com for the SSL Issue a cert Check cert Install crontab Errors No EAB credentials found for ZeroSSL, let’s get one
Create a password for nginx basic auth access
This will create a auth file for nginx using later. Below will add configure for nginx use .htpasswd.
Python VS PHP
Python sample PHP sample #!/usr/bin/python3 <?php Var String a = “” a = ” a = “””line1 line2″”” $a = “”; $a = ”; $a = “line1 line2″; Number a = 1 b=1.0 $a = 1; List a=[1,2,3] $a = [1,2,3]; $a = array(1,2,3); Tuple a=(1,”2″) $a = [1,”2”]; Set a={‘a’,’b’,’c’} Dictionary a={“a”:”aa”,”b”:”bb”} $a =…
Linux command VS
Description CentOS 8 Ubuntu 20 Docker package manager yum apt apk Update yum update -y apt update apk update Check OS version cat /etc/redhat-releasecat /proc/version cat /etc/issuecat /proc/version cat /etc/issuecat /proc/version Install aws-cli dnf install python3-pippip3 install awscli apt-get install awscli apk add –no-cache aws-cli Install wget yum install wget apt-get install wget – Install curl…
Windows+Ubuntu18 install zeppelin
org.apache.zeppelin.interpreter.InterpreterException: java.io.IOException: Interpreter process is not running I need to copy a zeppelin-env.sh from file zeppelin-env.sh.template in ./conf/ folder and change the variable: Then I restarted the zeppelin and all the interpreters all work fine. Copy a zeppelin-site.xml from template file zeppelin-site.xml.template, change the variable: zeppelin.server.addr ‘s value from 127.0.0.1 to 0.0.0.0 Restart: bin/zeppelin-daemon.sh stopbin/zeppelin-daemon.sh…