Skip to content

Instantly share code, notes, and snippets.

View Fantoom's full-sized avatar
🤔
Searching for idea

Fantoom

🤔
Searching for idea
View GitHub Profile
readonly HttpToSocks5Proxy Socks5Proxy = new HttpToSocks5Proxy("proxyAddress", 1080);
TcpClient TcpOverSocks5ClientConnectionHandler(string address, int port)
{
string connectMessage = string.Format(
"CONNECT {0} HTTP/1.1\r\nHost: {0}\r\n\r\n",
address + ":" + port);
byte[] connectMessageBytes = Encoding.UTF8.GetBytes(connectMessage);
@Egor-Skriptunoff
Egor-Skriptunoff / LGS_script_template.lua
Last active December 17, 2023 11:31
Template script file for Logitech Gaming Software
---------------------------------------------------------------------------------------------
-- LGS_script_template.lua
---------------------------------------------------------------------------------------------
-- Version: 2019-04-19
-- Author: Egor Skriptunoff
--
--
-- This is a template for "Logitech Gaming Software" script file.
-- Four useful features are implemented here:
--