Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.2.0/aio/deploy/recommended.yamlapiVersion: v1
kind: ServiceAccount
metadata:
| FROM php:7.2-fpm | |
| # Replace shell with bash so we can source files | |
| RUN rm /bin/sh && ln -s /bin/bash /bin/sh | |
| # make sure apt is up to date | |
| RUN apt-get update --fix-missing | |
| RUN apt-get install -y curl | |
| RUN apt-get install -y build-essential libssl-dev zlib1g-dev libpng-dev libjpeg-dev libfreetype6-dev |
Based on https://www.gnu.org/software/make/manual/html_node/Quick-Reference.html
| Directive | Description |
|---|---|
define variable define variable = define variable := define variable ::= define variable += define variable ?= endef |
Define multi-line variables. |
undefine variable |
Undefining variables. |
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "golang.org/x/crypto/ssh" | |
| "io" | |
| "log" | |
| "os" | |
| "strconv" |
| #!/bin/sh | |
| # GistID: 12011d02da2e8b605a6cb715debb35f8 | |
| # GistURL: https://gist.github.com/allex/12011d02da2e8b605a6cb715debb35f8 | |
| LOGGER_TAG=v2ray-geodata-updater | |
| log () { | |
| echo "$@" | |
| logger -t $LOGGER_TAG -- "$@" |
| ## File: /etc/init.d/frps | |
| #!/bin/sh | |
| # | |
| # frps: FRP-Server Daemon | |
| # | |
| # description: FRP-Server Daemon | |
| PID_FILE=/run/frps.pid | |
| CONFIG_FILE=/etc/frps.ini | |
| FRP_SERVER=/usr/local/frps/frps | |
| start() |