This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# This is a simple port-forward / proxy, written using only the default python | |
# library. If you want to make a suggestion or fix something you can contact-me | |
# at voorloop_at_gmail.com | |
# Distributed over IDC(I Don't Care) license | |
# http://voorloopnul.com/blog/a-python-proxy-in-less-than-100-lines-of-code/ | |
import socket | |
import select | |
import time | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Heavily inspired by https://github.com/dnschneid/crouton/wiki/VirtualBox-udev-integration | |
# | |
vbox_usbnode_path=$(find / -name VBoxCreateUSBNode.sh 2> /dev/null | head -n 1) | |
if [[ -z $vbox_usbnode_path ]]; then | |
echo Warning: VBoxCreateUSBNode.sh file has not been found. | |
exit 1 |