This file contains hidden or 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
from sys import argv | |
import os | |
import re | |
import subprocess | |
import urllib.request | |
import urllib.parse | |
import youtube_dl | |
from gi.repository import Notify | |
This file contains hidden or 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
1. Set up streaming server: | |
/interface wireless sniffer set streaming-server=X.X.X.X | |
/interface wireless sniffer set streaming-enabled=yes | |
/interface wireless sniffer set multiple-channels=yes | |
2. Set up scan list or specific channel(s) (frequencies in MHz): | |
/interface wireless set scan-list=default | |
3. Start up the sniffer: | |
/interface wireless sniffer sniff interface=wlan1 |
This file contains hidden or 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
_ssh_auth_save() { | |
ln -sf "$SSH_AUTH_SOCK" "$HOME/.ssh/ssh-auth-sock.$HOSTNAME" | |
} | |
alias screen='_ssh_auth_save ; export HOSTNAME=$(hostname) ; screen' | |
alias tmux='_ssh_auth_save ; export HOSTNAME=$(hostname) ; tmux' |
This file contains hidden or 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 | |
VHOST_CONF=/etc/apache2/sites-available/ | |
ROOT_UID=0 | |
NOTROOT=87 | |
WWW_ROOT=/home/web/ | |
# owner of the site directory | |
WEBUSER=web |