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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'isaac' | |
require 'em-http-request' | |
require 'uri' | |
configure do |c| | |
c.nick = 'begs' | |
c.server = 'irc' |
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/sh | |
## tmbo.sh -- my attempt at posting from the command line | |
## tmbo: lnk, twitter: @oogali | |
## | |
BASE_URL=thismight.be/offensive | |
TMBO_CONFIG=${HOME}/.tmbo | |
TMPPATH=/tmp | |
usage() { | |
echo "$0 <options> <image to upload> [filename]" |
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/sh | |
# router name generator | |
# [ omachonu ogali / oogali at blip dot tv / @oogali ] | |
# | |
# README: | |
# 1. point at your router with a community | |
# 2. finesse names as needed into your DNS zones | |
# 3. have a cold beverage of your choosing. | |
# |
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/sh | |
## corkboard.me shell script interface | |
## -- omachonu ogali / @oogali | |
## | |
## hi tim! | |
## | |
## still a work in progress, i still need to finish the note | |
## positioning stuff. comments appreciated. | |
## -oo |
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/sh | |
# "Cute" domain search -- < oogali AT gmail.com > | |
# | |
# Example: | |
# [oogali@illusion ~]$ ./cute-domain-search am 2 | |
# IL.AM IS AVAILABLE | |
# LE.AM IS AVAILABLE | |
# LY.AM IS AVAILABLE | |
# OG.AM IS AVAILABLE | |
# OL.AM IS AVAILABLE |
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/sh | |
## should we anycast? | |
## - WHAT? a brief script that will spin bird up or down, based on | |
## results from a dns test. | |
## | |
## - WHY? because if our dns server falls down, we don't want a dns | |
## blackhole for our querying users | |
## | |
## omachonu ogali // [email protected] // @oogali |
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/sh | |
## | |
## netscreen/jnpr ssl vpn connection magic | |
## [email protected] / @oogali | |
## | |
## i wrote this about a year ago (2009), when i had continuous access | |
## to a jnpr ssl vpn box and had to connect via it. | |
## | |
## if bits of this script are broken, i'll be glad to fix if someone | |
## gives me client access to a ssl vpn box to test against. |
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<!-- | |
Self-contained peering template generator | |
========================================= | |
I like to code. | |
I like my peering definitions to have some sort of consistency. |
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
#!/usr/bin/env ruby | |
while dir = ARGV.shift do | |
entries = Array.new | |
dir += '/' | |
Dir.foreach(dir) { |entry| entries.push entry } | |
entries.sort.each do |entry| | |
fn = dir + entry | |
s = File::stat fn |
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
log "/var/log/bird.log" all; | |
debug protocols all; | |
router id 172.16.31.131; | |
listen bgp address 172.16.31.131 port 179; | |
protocol device { | |
scan time 180; | |
} |
OlderNewer