commit 2bb95f2a67850983a86bcd92725b963c7f75d727 parent 1cff2cff3228b28f885e9baeef5e514fb2db4921 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Thu, 12 Apr 2018 09:10:52 -0400 Add two utilitarian scripts Diffstat:
A | links/bin/check-broken-links.sh | | | 3 | +++ |
A | links/bin/princeton-vpn | | | 5 | +++++ |
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/links/bin/check-broken-links.sh b/links/bin/check-broken-links.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# where $1 is a webpage, e.g. https://adamsgaard.dk +wget --spider -e robots=off --wait 1 -r -p $1 diff --git a/links/bin/princeton-vpn b/links/bin/princeton-vpn @@ -0,0 +1,5 @@ +#!/bin/bash -e + +pass -c Uni/princeton-netID-andersd +open /Applications/Connect\ Tunnel.app +