Collection of scripts used to do my job
Python Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.txt
README
bandwidth-limiter
findclass
javacheck
rpush

README

=============================================================================
    Copyright 2011 Greg L. Turnquist

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
=============================================================================

This is my toolbox. I use it to collect scripts that help me do my job. Use them responsibly. If you destroy your own system, it is your responsibility.

bandwidth-limiter
===================
This script is used to turn on/turn off bandwidth limitations on a box using ipfw. This is useful for testing certain web application
such as reproducing timeouts and making sure the app works at slow speeds.

Because ipfw interacts with the kernel, you will probably have to run it as root, or run it using sudo.

sudo ./bandwidth-limiter --start
sudo ./bandwidth-limiter --list
sudo ./bandwidth-limiter --stop