Skip to content

Instantly share code, notes, and snippets.

View brunocassol's full-sized avatar

Bruno Cassol brunocassol

View GitHub Profile
@peterhellberg
peterhellberg / tunnel-plasma.go
Last active April 2, 2019 21:08
Tunnel effects in Go
package main
import (
"image"
"math"
"time"
"github.com/faiface/pixel"
"github.com/faiface/pixel/pixelgl"
"github.com/peterhellberg/plasma"
[ req ]
default_bits = 2048
default_keyfile = server-key.pem
distinguished_name = subject
req_extensions = req_ext
x509_extensions = x509_ext
string_mask = utf8only
[ subject ]
@nginx-gists
nginx-gists / ubuntu_install.sh
Last active May 29, 2025 05:42
Automating Installation of WordPress with NGINX Unit on Ubuntu
#!/usr/bin/env bash
if [ "$EUID" -ne 0 ];then
>&2 echo "This script requires root level access to run"
exit 1
fi
if [ -z "${WORDPRESS_DB_PASSWORD}" ]; then
>&2 echo "WORDPRESS_DB_PASSWORD must be set"
>&2 echo "Here is a random one that you can paste:"
@prologic
prologic / LearnGoIn5mins.md
Last active July 10, 2025 04:38
Learn Go in ~5mins