Skip to content

Instantly share code, notes, and snippets.

View tcalmant's full-sized avatar

Thomas Calmant tcalmant

View GitHub Profile
@tcalmant
tcalmant / socks5.py
Last active January 17, 2021 21:00
A working SOCKS5 server based on asyncio (TCP Connect only)
#!/usr/bin/env python3
"""
Asyncio-based SOCKS5 Proxy
:author: Thomas Calmant
:copyright: Copyright 2017, Thomas Calmant
:license: Apache License 2.0
:version: 0.0.1
"""
@mihow
mihow / load_dotenv.sh
Last active July 4, 2024 14:32
Load environment variables from dotenv / .env file in Bash
if [ ! -f .env ]
then
export $(cat .env | xargs)
fi