Simple curl:
# Basic HTTP latency test
sudo find /var/lib/caddy/.local/share/caddy/certificates -type f -exec rm {} \; | |
sudo systemctl restart caddy |
Live Table: https://diafygi.github.io/webcrypto-examples/
I couldn't find anywhere that had clear examples of WebCryptoAPI, so I wrote examples and made a live table with them. Pull requests welcome!
{ | |
"terminal.integrated.fontFamily": "'Ubuntu Mono','PowerlineSymbols'", | |
"go.useLanguageServer": true, | |
"go.formatTool": "goimports", | |
"[ruby]": { | |
"editor.insertSpaces": true, | |
"editor.tabSize": 2 | |
} | |
} |
Keychain Access > Certificate Assistant > Request a Certificate from Certificate Authority...
Email: <[email protected]>
Common Name: <Project>
Select Saved to disk
#!/bin/bash | |
from_repo=$1 | |
to_repo=$2 | |
repo_dir=${from_repo##*/} | |
echo "Git Mirror: $from_repo -> $to_repo" | |
git clone --bare $from_repo | |
cd $repo_dir | |
git push --mirror $to_repo |
#!/usr/bin/env ruby | |
require 'fileutils' | |
prefix_input = ARGV[0] | |
prefix_output = ARGV[1] | |
suffixes = [".png", "@1.5x.png", "@2x.png", "@3x.png", "@4x.png"] | |
output_dirs = { |
#!/bin/bash | |
from_repo=$1 | |
to_repo=$2 | |
repo_dir=${from_repo##*/} | |
echo "Git Mirror: $from_repo -> $to_repo" | |
git clone --bare $from_repo | |
cd $repo_dir | |
git push --mirror $to_repo |