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')
@zingmars
zingmars / tinc.MD
Last active March 14, 2024 12:02
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 "ias3support@archive.org" 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