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/env python3 | |
""" | |
Command line zbase32 encoder and decoder. | |
See http://philzimmermann.com/docs/human-oriented-base-32-encoding.txt | |
Please note that scrip loads the data in memory. | |
Copyright: Tocho Tochev <tocho AT tochev DOT net> | |
Licence: MIT | |
""" |
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 | |
# | |
# ustream2vlc.sh http://ustream.tv/CHANNEL | |
# watch ustream.tv using vlc | |
# | |
# NOTE: iphone quality only | |
set -x | |
set -e | |
CHANNEL_ID=$(wget "$1" -q -O - | sed -n 's/.*<meta name="ustream:channel_id" content="\([0-9]*\)".*/\1/p') | |
vlc "http://iphone-streaming.ustream.tv/uhls/$CHANNEL_ID/streams/live/iphone/playlist.m3u8" vlc://quit |
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 | |
set -e | |
# tests bandwidth and ping to speedtest.net servers | |
# uses https://github.com/sivel/speedtest-cli/ | |
TEST_SERVERS=( | |
"2320) ComNet Bulgaria (Sofia, Bulgaria)" | |
"1917) VIVACOM (Sofia, Bulgaria)" |
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/env python | |
# set encoding=utf-8 | |
# A script to send SMS from the internet for the Bulgaria operators mtel and globul | |
import argparse | |
import json | |
import mechanize | |
import os.path |