Skip to content

Instantly share code, notes, and snippets.

View nkorostylev's full-sized avatar
💭
Chilling

nkorostylev

💭
Chilling
View GitHub Profile
@cse031sust02
cse031sust02 / Dockerfile
Last active June 2, 2024 09:39
Basic Dockerfile for Django using Pipenv
# My Django Project
# Version: 1.0
# FROM - Image to start building on.
FROM python:3
# PROJECT SETUP
# ----------------
@yingray
yingray / main.go
Last active April 7, 2025 16:57
Golang: aes-256-cbc examples (with iv, blockSize)
package main
import (
"bytes"
"crypto/aes"
"crypto/cipher"
"encoding/hex"
"fmt"
)
@plentz
plentz / nginx.conf
Last active March 13, 2026 00:11
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@JalfResi
JalfResi / revprox.go
Last active August 9, 2025 19:56
Simple reverse proxy in Go
package main
import(
"log"
"net/url"
"net/http"
"net/http/httputil"
)
func main() {