Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
################################################## | |
# Joe Martin | |
# Cisco Systems, Inc. | |
# UCS Serial Number Collector v0.8 | |
# 3/10/13 | |
# | |
# Code provided as-is. No warranty implied or included. | |
# This code is for example use only and not for production | |
# | |
# This script will create an excel file of all UCSM based |
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
#! /usr/bin/env ruby | |
# NOTE: Requires Ruby 2.1 or greater. | |
# This script can be used to parse and dump the information from | |
# the 'html/contact_info.htm' file in a Facebook user data ZIP download. | |
# | |
# It prints all cell phone call + SMS message + MMS records, plus a summary of each. | |
# | |
# It also dumps all of the records into CSV files inside a 'CSV' folder, that is created |
############################################ | |
setting up pihole + pivpn on 1 raspberry pi | |
for fun and profit (and privacy) | |
############################################ | |
################# | |
# what you need # | |
################# | |
# - 1 raspberry pi |
#!/bin/bash | |
tries=0 | |
while [[ $tries -lt 3 ]] | |
do | |
if /bin/ping -c 1 10.200.200.1 | |
then | |
# echo "wg working" | |
logger -n winterfell -i -t "wg-watchdog" -p user.notice "wireguard working" | |
exit 0 |