Skip to content

Instantly share code, notes, and snippets.

View tigercosmos's full-sized avatar
💪
Feel free to reach me!

Liu, An-Chi tigercosmos

💪
Feel free to reach me!
View GitHub Profile
@prideout
prideout / servewasm.py
Created November 8, 2018 00:44
Python WASM server
#!/usr/bin/env python3
import http.server
import socketserver
PORT = 8000
Handler = http.server.SimpleHTTPRequestHandler
Handler.extensions_map.update({
'.wasm': 'application/wasm',
@jackblk
jackblk / squid_proxy_tutorial.md
Last active May 2, 2025 15:03
Tutorial on how to setup a squid proxy with authentication.

Note

This tutorial is for Ubuntu & Squid3. Use AWS, Google cloud, Digital Ocean or any services with Ubuntu to follow this tutorial.

Install squid & update

sudo apt-get update
sudo apt-get install squid3
sudo apt-get install apache2-utils