Skip to content

Instantly share code, notes, and snippets.

View Krush206's full-sized avatar

Matheus Garcia Krush206

View GitHub Profile
@typelogic
typelogic / setup.sh
Last active June 13, 2023 15:46
SSL server/client in socat
#!/bin/sh
#
if [ $# -eq 0 ];then
echo "Supply client|server"
exit 1
fi
FILENAME=$1
openssl genrsa -out $FILENAME.key 1024
Dunkin Donuts
(':D', 'https://smiley-cdn.kik.com/smileys/917bb896/96x96.png')
('<3', 'https://smiley-cdn.kik.com/smileys/3d3c7740/96x96.png')
('B)', 'https://smiley-cdn.kik.com/smileys/4faf8230/96x96.png')
(':3', 'https://smiley-cdn.kik.com/smileys/b4228ffa/96x96.png')
(':O', 'https://smiley-cdn.kik.com/smileys/84e0bfe3/96x96.png')
(':*', 'https://smiley-cdn.kik.com/smileys/b4cc0184/96x96.png')
USC Emojis
('B)', 'https://smiley-cdn.kik.com/smileys/f7ddb6ce/96x96.png')
('B)', 'https://smiley-cdn.kik.com/smileys/744f1518/96x96.png')
@chankruze
chankruze / Compile-Vanila.md
Last active March 15, 2025 15:16
How To Compile OpenWrt Firmware For Any Router

Checking out Source

  • clone latest source repository by git clone https://www.github.com/openwrt/openwrt -b branch_name
  • Now change directory to openwrt by cd openwrt.This is our <buildroot dir> for this guide.

Updating Feeds

  • Update feeds: ./scripts/feeds update -a
  • Make downloaded package(s) available in make menuconfig:
    • single package : ./scripts/feeds install <PACKAGENAME>
    • all packages : ./scripts/feeds install -a

Image Configuration

@zingmars
zingmars / tinc.MD
Last active March 20, 2025 22:39
tinc VPN setup instructions on Windows and Linux

Tinc setup instructions for Ubuntu and Windows. Based on 1 2.

Start here.

  1. sudo apt-get install -y build-essential libncurses5-dev libreadline6-dev libzlcore-dev zlib1g-dev liblzo2-dev libssl-dev
  2. Download and install tinc
    2.1. Download the latest tinc 1.1 source package ( current: wget https://www.tinc-vpn.org/packages/tinc-1.1pre16.tar.gz -O tinc.tar.gz)
    • tar -xf tinc.tar.gz --one-top-level --strip-components=1
    • cd tinc
    • ./configure

GENERAL TODO:

  • The examples are all over the place. They need to be more consistent.
  • Check that x-archive-queue-derive header. I just skimmed it and it doesn't seem right.
  • Investigate getting an "[email protected]" address for support requests
  • Some of the standard metadata fields are repeatable, some are not. State this in the descriptions.
  • Excellent Hank idea: Quick Start (TL;DR) section to avoid all the gory details
  • Dang, but this damn thing is hard to read. Will that get better when it gets converted to the PHP wrapper? I have my doubts. May need a some quick George love to give tips for better readability.
  • All the other 'foo' (read: green) bits below