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 | |
# from: | |
# http://i.imgur.com/7atJf.png | |
# http://www.reddit.com/r/offbeat/comments/dqtxn/a_friend_of_mine_postulates_that_if_you_stick_two/ | |
# | |
# available at http://namakajiri.net/misc/2awesome.py | |
import random | |
awesome = [ | |
'rocket', |
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 | |
# a telnet-like command to debug text protocols over SSL (https, smtps...). | |
# usage: | |
# telnets example.com https | |
# telnets example.com:https | |
# telnets https://example.com | |
if echo "$1" | grep -q "^[a-z]*://"; then |
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 | |
# colorize output of Linux ip(8). suitable to replacement via alias (hopefully). | |
# expects GNU sed. | |
# | |
# expanded from: | |
# http://unix.stackexchange.com/questions/148/colorizing-your-terminal-and-shell-environment | |
IP_CMD=/bin/ip | |
NORMAL=`echo -e '\033[0m'` |
NewerOlder