Skip to content

Instantly share code, notes, and snippets.

View robbmanes's full-sized avatar
🎮
pew pew

Robb Manes robbmanes

🎮
pew pew
View GitHub Profile
@jnikolak
jnikolak / gist:bec426c82537aaa335acb12a089c9f73
Last active February 26, 2018 18:56
Networking Topology
#!/bin/bash
#### Thank you once again Jamie Bainbridge for helping me with the script.
#### Requirements: yum install -y "graphviz eog" ; copy script into file and then execute, e.g: ./scriptname.sh
#### I've noticed it doesn't work too well in the new Fedora, but tested with Rhel 7
#set -x
echo "" > first.dot
InitPath=$(pwd)
EndPath="sos_commands/networking"
@ThiefMaster
ThiefMaster / auth.py
Created August 21, 2012 22:10
Flask-IRC example
from flask.ext.irc import BotModule, CommandAborted
from exodus import login_required, db
auth = BotModule('Auth', __name__)
@auth.command('addhost')
def addhost(source, channel):
"""Show the URL to connect your host with your account.
This command shows you the URL to associate your hostname with an account.