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 | |
# OpenVPN road warrior installer for Debian, Ubuntu and CentOS | |
# This script will work on Debian, Ubuntu, CentOS and probably other distros | |
# of the same families, although no support is offered for them. It isn't | |
# bulletproof but it will probably work if you simply want to setup a VPN on | |
# your Debian/Ubuntu/CentOS box. It has been designed to be as unobtrusive and | |
# universal as possible. | |
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
sudo apt-get install libreoffice kodi pinta sonic-pi geany minetest claws-mail vlc x11vnc guvcview | |
[setup netflix chrome mods] | |
sudo apt-get install samba | |
[setup samba share] |
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
sudo iwconfig wlan0 mode monitor | |
sudo iwconfig wlan0 channel 1 | |
... | |
sudo iwconfig wlan0 channel 6 | |
sudo tshark -i wlan0 -f "subtype probe-req" |
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
//HP1610/2tb /mnt/smb cifs guest,uid=nobody,iocharset=utf8,noperm 0 0 |
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
sudo apt-get install avahi-discover avahi-daemon | |
sudo apt-get install cups | |
sudo apt-get install samba |
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
import serial | |
import pynmea2 | |
import time | |
from ISStreamer.Streamer import Streamer | |
serialStream = serial.Serial("/dev/ttyS0", 9600, timeout=0.5) | |
# construct a streamer instance with information to append to or create | |
# a bucket and an ini file location that contains the Initial State | |
# Account Access Key. |
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
import sys | |
import os | |
import struct | |
from ctypes import (CDLL, get_errno) | |
from ctypes.util import find_library | |
from socket import ( | |
socket, | |
AF_BLUETOOTH, | |
SOCK_RAW, | |
BTPROTO_HCI, |
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
sudo apt-get install dnsmasq hostapd | |
echo "denyinterfaces wlan0" >/etc/dhcpcd.conf |
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
for f in `ls -1d /dev/*` ; | |
do | |
udevadm info -n $f 2>/dev/null |grep -i serial ; | |
done |
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 | |
# CONF | |
DBG=true | |
RELOG_UNAME=your@email.com | |
RELOG_PASSW=xxxxxxxxxxxxxxx | |
# END CONF |