Skip to content

Instantly share code, notes, and snippets.

View BenDavidAaron's full-sized avatar

Ben Aaron BenDavidAaron

View GitHub Profile
@beyang
beyang / cr.org
Created February 7, 2019 23:13
Rough CR checklist

“Physical reality”: What bits get written where?

What is the specific problem being solved?

  • Minimal viable problem, the specific things that will be fixed/improved.
  • A contract for success.
@ottokart
ottokart / word2vec-binary-to-python-dict.py
Last active July 25, 2019 22:41
Python script to convert a binary file containing word2vec pre-trained word embeddings into a pickled python dict.
# coding: utf-8
from __future__ import division
import struct
import sys
FILE_NAME = "GoogleNews-vectors-negative300.bin"
MAX_VECTORS = 200000 # This script takes a lot of RAM (>2GB for 200K vectors), if you want to use the full 3M embeddings then you probably need to insert the vectors into some kind of database
FLOAT_SIZE = 4 # 32bit float
@nukeador
nukeador / DNS tunneling with iodine.md
Last active July 10, 2024 15:10
How to install and use iodine for DNS tunneling.

This guide provides detailed steps for setting up DNS records, configuring a DNS tunneling server and client, and setting up a browser for secure proxy connections.

Why iodine?

  • Bypassing Network Restrictions: iodine excels in environments with strict network restrictions. It utilizes DNS queries, which are typically allowed through firewalls, to tunnel data where traditional methods like VPNs might be blocked.
  • Efficient for Limited Bandwidth: Ideal for situations with bandwidth limitations, iodine requires less bandwidth compared to standard VPNs, making it a practical choice for networks with restricted data flow.
  • Customizability and Open Source: As an open-source tool, iodine offers extensive customization options. Users with specific technical needs or those interested in a hands-on approach to network tunneling can tailor iodine to their requirements.

Prerequisites