Skip to content

Instantly share code, notes, and snippets.

View arshinalbab's full-sized avatar
🌴
Chilling!

Arshin Albab arshinalbab

🌴
Chilling!
View GitHub Profile
@tsilvers
tsilvers / upload.go
Last active January 27, 2025 15:24
Upload files to a Go server using web sockets.
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net/http"
"os"
"time"
@DarthSim
DarthSim / 00.imgproxy_vs_alternatives.md
Last active February 19, 2026 21:46
imgproxy vs alternatives benchmark

Important

These benchmark results are outdated.

Check out our blog post for the latest benchmark results.

imgproxy vs alternatives benchmark

Setup

  • c5.xlarge AWS instance: 4 CPUs, 8 GB RAM
@211211
211211 / letsencrypt_2020.md
Created September 16, 2020 18:33 — forked from cecilemuller/letsencrypt_2020.md
How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SSL rating)

How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SLL rating)


Virtual hosts

Let's say you want to host domains first.com and second.com.

Create folders for their files: