This file contains 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
set appname to "" | |
set keypass to "" | |
repeat | |
set appname to text returned of (display dialog "Enter application name" default answer "") | |
if (length of appname) > 0 then exit repeat | |
end repeat | |
repeat | |
set keypass to text returned of (display dialog "Enter key password" default answer "" with hidden answer) |
This file contains 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
/* | |
Data type specific memory allocation | |
Types: | |
uInt(unsigned int) | |
sInt(signed int) | |
uChar(unsigned char) | |
sChar(signed char) | |
uShort(unsigned short) | |
sShort(signed short) |
This file contains 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
################################## | |
# ddwrt.conf | |
# | |
# Reverse Proxy DD-wrt through Apache | |
# | |
# Usage: | |
# | |
# Use DDwrtProxyHTTP /ddwrt 192.168.1.1 www.andydoestech.com | |
# | |
# ^---Makes dd-wrt accessble via http://www.andydoestech.com/ddwrt/ |
This file contains 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
##################################### | |
# | |
# For use with Monit: https://mmonit.com/monit/ | |
# | |
# New: added search box to top of page | |
# | |
# Usage: | |
# Use MonitProxy /monit 127.0.0.1 2812 | |
# ^--- Make Monit server running on 127.0.0.1:2812 available | |
# through the parent VirtualHost |
This file contains 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
/* | |
Define/Run serialized functions in JavaScript | |
Define serialized function: | |
var serialF = SerDef(function(a,b) { | |
return { | |
sum : a + b, | |
avg : (a + b)/2 |
This file contains 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
/*********************************************** | |
slideomatic.js | |
Creates slideshows of sequentially named image files (ex: 1.jpg, 2.jpg, 3.jpg, etc.) | |
Required jquery | |
Arguments: | |
|-------------|-----------------------------------------------| | |
| slideid | ID of DOM object containing slideshow | |
This file contains 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
/* | |
Required jquery | |
Installation Steps: | |
1) Add tag to <head> of your page. | |
<script type="text/javascript" src="https://bng44270.github.io/f6a914479e3c99351d8d43a603f84124/fundraiser-thermometer.js"></script> | |
2) Add a the following tag on your page. This tag will contain the thermometer. (you can change the "id" value) | |
<div id="mythermometer"></div> |
This file contains 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
import requests | |
from arguments import Arguments | |
from sys import argv as command_arguments | |
arinjson = lambda x : requests.get("http://whois.arin.net/ui/query.do?queryinput={}".format(x),headers={"Accept":"application/json"},verify=False).json() | |
# print indented outline-style representation of dictionary object | |
def dictol(this_dictionary): | |
try: | |
prefix = this_dictionary['pf'] |
This file contains 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
import requests | |
from arguments import Arguments | |
from sys import argv as command_args | |
arinjson = lambda x : requests.get("http://whois.arin.net/ui/query.do?queryinput={}".format(x),headers={"Accept":"application/json"},verify=False).json() | |
ARGS = Arguments(command_args) | |
if not ARGS.Get('a'): | |
print "usage: asn2ip.py -a <ASN>" |
This file contains 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
#Requires Python 3.6 | |
from arguments import Arguments | |
import requests | |
import tarfile | |
import io | |
import re | |
import sys | |
def usage(): |
OlderNewer