Skip to content

Instantly share code, notes, and snippets.

Joseph Nix nixjdm

Block or report user

Report or block nixjdm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nixjdm
nixjdm / proxy.py
Last active Feb 8, 2018
A simple proxy server you run locally. A newer and better version of this can be found at https://github.com/terminal-labs/simple-proxy
View proxy.py
#! /usr/bin/env python
#
# This will route a webpage and all of it's included src and hrefs
# calls through this proxy.
#
# This is meant to be used in a virtualenv with pip installed packages:
# tornado beautifulsoup4 requests lxml
# Note: the proxy terminal output will display errors related to
# urllib3 and SSL unless python >= 2.7.9 is used
#
@nixjdm
nixjdm / speedtest.sh
Last active Mar 29, 2018
This bash script repeatedly tests the page load times of a website and gives some basic stats for the results.
View speedtest.sh
#!/usr/bin/env bash
########################################################################
# Author: Joseph Nix nixjdm@terminallabs.com 6-18-2015
# Copyright (c) 2015 Terminal Labs
# Distributed under the MIT License.
# (See http://opensource.org/licenses/MIT)
#
# This tests the average page load time for a given url. It can be set
# to run any number of tests, and then will average the results.
#
You can’t perform that action at this time.