Skip to content

Instantly share code, notes, and snippets.

Avatar

TJ Holowaychuk tj

View GitHub Profile
@rauchg
rauchg / ms.md
Created Dec 21, 2011
Milliseconds conversion utility.
View ipfw bandwidth throttle.sh
#!/bin/sh
#
# Use ipfw to throttle bandwidth.
# usage:
# ./throttle.sh # Throttle at default (60KB/s)
# ./throttle.sh 5 # Throttle at custom speed (5KB/s)
# ./throttle.sh off # Turn throttling off
# flush rules
ipfw del pipe 1
You can’t perform that action at this time.