Skip to content

Instantly share code, notes, and snippets.

View ryanbekhen's full-sized avatar
🇮🇩
Indonesia

ACHMAD IRIANTO EKA PUTRA ryanbekhen

🇮🇩
Indonesia
View GitHub Profile
@adinata-id
adinata-id / bwtest.txt
Last active July 8, 2024 05:05
Public Bandwith Test Mikrotik
New Bandwith test Publik (Datacenter JKT)
IP Address : 103.161.184.37
username : mid
password : midtest
@kennwhite
kennwhite / https.go
Last active December 24, 2023 22:06
Simple https http/2 static web server with HSTS & CSP (A+ SSLLabs & securityheaders.io rating) in Go using LetsEncrypt acme autocert
package main
import (
"crypto/tls"
"golang.org/x/crypto/acme/autocert"
"log"
"net"
"net/http"
)
@hnakamur
hnakamur / main.go
Last active February 12, 2023 00:15
A go example to stop a worker goroutine when Ctrl-C is pressed (MIT License)
package main
import (
"fmt"
"os"
"os/signal"
"time"
"golang.org/x/net/context"
)