- Run Certbot:
sudo certbot certonly --manual --server https://acme-v02.api.letsencrypt.org/directory
- Enter Domains, e. g.
domain.tld,*.domain.tld
. - Add
_acme-challenge
DNS record. - Upload
.well-known/acme-challenge
file to website:
# see https://gist.github.com/simonhaenisch/0ca8534bf50f189b4f93d1cc1f20c58f | |
su # run as root | |
pacman -Sy # update repos | |
pacman -S git go # install git and go compiler | |
go get -u -v github.com/ncw/rclone # installs into ~/go/bin/rclone | |
mkdir /var/gdrive/slides |
addTransition(props, duration = 300ms) | |
// examples: | |
// - addTransition(color) | |
// - addTransition(color, 1s) | |
// - addTransition('color, background-color') | |
// - addTransition('color, background-color', 500ms) | |
$parts = () | |
for prop in split(', ', props) | |
push($parts, prop) |
if (window.fetch) { | |
(async d => { | |
const controller = new AbortController(); | |
const signal = controller.signal; | |
setTimeout(() => controller.abort(), 750); | |
const res = await fetch('https://use.typekit.net/xxxxxxx.css', { signal }); | |
const css = await res.text(); | |
const style = d.createElement('style'); | |
style.textContent = css; | |
d.querySelector('head > *:last-child').after(style); |
sudo certbot certonly --manual --server https://acme-v02.api.letsencrypt.org/directory
domain.tld,*.domain.tld
._acme-challenge
DNS record..well-known/acme-challenge
file to website:const { readFileSync } = require('fs'); | |
const { Renderer } = require('marked'); | |
const getMarked = require('md-to-pdf/lib/get-marked-with-highlighter'); | |
const renderer = new Renderer(); | |
const originalLinkRenderer = renderer.link.bind(renderer); | |
renderer.link = (href, title, text) => { | |
if (text !== 'include') { |
https-proxy-agent
from NPM (https://www.npmjs.com/package/https-proxy-agent).import ProxyAgent from 'https-proxy-agent';
export const request = async (url: string, options: RequestOptions) => fetch(url, {
...options,
agent: ProxyAgent('http://localhost:9090'), // 9090 is the default port of Proxyman (see prefs)
alarm
with default password alarm
(can be an ssh session, i. e. ssh alarm@<ip>
).root
) and maybe change the password.su
passwd