-
Set the timezone
tzutil /s "Eastern Standard Time" -
Enable automatic updates:
cscript \windows\system32\scregedit.wsf /AU 4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| function checkport { | |
| if nc -zv -w30 $1 $2 <<< '' &> /dev/null | |
| then | |
| echo "[+] Port $1/$2 is open" | |
| else | |
| echo "[-] Port $1/$2 is closed" | |
| fi | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # basic pfctl control | |
| # == | |
| # Related: http://www.OpenBSD.org | |
| # Last update: Tue Dec 28, 2004 | |
| # == | |
| # Note: | |
| # this document is only provided as a basic overview | |
| # for some common pfctl commands and is by no means | |
| # a replacement for the pfctl and pf manual pages. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """ | |
| Saves URL(s) to a user's Pocket queue. | |
| It accepts either command line arguments or a URL from the OS X clipboard. | |
| For information about Pocket see http://getpocket.com/ | |
| """ | |
| import optparse | |
| import subprocess |