-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make sure everything in this repo has a correct URL to the current sc…
…ript, as well as some sort of author attribution and license-like statement
- Loading branch information
Showing
42 changed files
with
188 additions
and
81 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,10 @@ | |
# By Jason Antman <[email protected]> 2012. | ||
# | ||
# The latest version of this script can always be found at: | ||
# $HeadURL$ | ||
# This version is: $LastChangedRevision$ | ||
# <https://github.com/jantman/misc-scripts/blob/master/VipToInternalHosts.pl> | ||
# | ||
# The post describing this script and giving updates can be found at: | ||
# <http://blog.jasonantman.com/?p=1129> | ||
# <http://blog.jasonantman.com/2012/04/perl-script-to-convert-f5-bigip-vip-address-to-list-of-internal-pool-member-addresses> | ||
# | ||
#---------------------------------------------------------------------------- | ||
# This script was based off of one found in the F5 Networks iControl Wiki. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,10 @@ | |
# Perl script to de/encode F5 BigIp persistence cookies. | ||
# | ||
# The latest version of this script can always be obtained from: | ||
# <http://svn.jasonantman.com/misc-scripts/bigipcookie.pl> via HTTP ot SVN | ||
# <https://github.com/jantman/misc-scripts/blob/master/bigipcookie.pl> | ||
# | ||
# Update information and description can be found at: | ||
# <http://blog.jasonantman.com/?p=931> | ||
# <http://blog.jasonantman.com/2012/02/f5-bigip-manually-changing-session-persistence-cookies-on-the-client-side/> | ||
# | ||
# Copyright 2012 Jason Antman <[email protected]> <http://www.jasonantman.com>. | ||
# | ||
|
@@ -38,9 +38,6 @@ | |
# - Tyler Krpata <http://www.tylerkrpata.com/2009/06/decode-f5-bigip-cookie-in-one-line-of.html> | ||
# for the Perl one-liner that this logic is based on. | ||
# | ||
# $HeadURL$ | ||
# $LastChangedRevision$ | ||
# | ||
# Changelog: | ||
# | ||
# 2012-02-02 Jason Antman <[email protected]>: | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,11 @@ | |
This is a quick hack. Lots of problems. | ||
By Jason Antman <[email protected]> <http://www.jasonantman.com> | ||
https://github.com/jantman/misc-scripts/blob/master/cookies_from_pdml.py | ||
Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com> | ||
Free for any use provided that patches are submitted back to me. | ||
The latest version of this script can be found at: | ||
<https://github.com/jantman/misc-scripts/blob/master/cookies_from_pdml.py> | ||
""" | ||
|
||
from lxml import etree | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,10 @@ | |
> pip install disqus-python anyjson | ||
Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com> | ||
Free for any use provided that patches are submitted back to me. | ||
The latest version of this script can be found at: | ||
<https://github.com/jantman/misc-scripts/blob/master/disqus_backup.py> | ||
""" | ||
|
||
import anyjson | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
""" | ||
dot_find_cycles.py - uses Pydot and NetworkX to find cycles in a dot file directed graph. | ||
Very helpful for | ||
Very helpful for Puppet stuff. | ||
By Jason Antman <[email protected]> 2012. | ||
|
@@ -22,9 +22,6 @@ | |
The canonical source of this script can always be found from: | ||
<http://blog.jasonantman.com/2012/03/python-script-to-find-dependency-cycles-in-graphviz-dot-files/> | ||
$HeadURL$ | ||
$LastChangedRevision$ | ||
CHANGELOG: | ||
Wednesday 2012-03-28 Jason Antman <[email protected]>: | ||
- initial script creation | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,10 @@ | |
Default output is a directory of HTML files, with an index file and per-chat files. | ||
Copyright 2012 Jason Antman <[email protected]> All Rights Reserved. | ||
Free for any use provided that patches are submitted back to me. | ||
The latest version of this script can be found at: | ||
<https://github.com/jantman/misc-scripts/blob/master/dump_skype_logs.py> | ||
Requires Python Modules: | ||
sqlite3 | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,16 @@ | |
both by existence and head commit. | ||
Reqires GitPython>=0.3.2.RC1 | ||
################## | ||
Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com> | ||
Free for any use provided that patches are submitted back to me. | ||
The latest version of this script can be found at: | ||
<https://github.com/jantman/misc-scripts/blob/master/git_repo_diff.py> | ||
CHANGELOG: | ||
- initial script | ||
""" | ||
|
||
import os | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,9 @@ | |
The canonical version of this script lives at: | ||
https://github.com/jantman/misc-scripts/blob/master/github_clone_setup.py | ||
Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com> | ||
Free for any use provided that patches are submitted back to me. | ||
Requirements | ||
============ | ||
* Python 2.7+ (uses subprocess.check_output) | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
* Copyright 2010 Jason Antman <[email protected]> <http://www.jasonantman.com> | ||
* | ||
* The canonical source of the latest version of this script is: | ||
* <http://svn.jasonantman.com/misc-scripts/js2phpdoc.php> | ||
* <https://github.com/jantman/misc-scripts/blob/master/js2phpdoc.php> | ||
* | ||
* Information on usage and installation can be found at: | ||
* <http://blog.jasonantman.com/2010/08/documentation-generation-for-web-apps-php-and-javascript/> | ||
|
@@ -57,9 +57,6 @@ | |
* @author jantman <[email protected]> <http://www.jasonantman.com> | ||
* @author rhorber <[email protected]> | ||
* | ||
* $LastChangedRevision$ | ||
* $HeadURL$ | ||
* | ||
* CHANGELOG: | ||
* | ||
* 2010-08-25 jantman: | ||
|
@@ -195,4 +192,4 @@ function usage() | |
echo "js2phpdoc.php [--help] <input directory> <output directory>\n"; | ||
} | ||
|
||
?> | ||
?> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,16 @@ | |
information about libvirt (qemu/KVM) guests. | ||
test on opskvmtie13 | ||
################## | ||
Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com> | ||
Free for any use provided that patches are submitted back to me. | ||
The latest version of this script can be found at: | ||
<https://github.com/jantman/misc-scripts/blob/master/libvirt_csv.py> | ||
CHANGELOG: | ||
- initial script | ||
""" | ||
|
||
import libvirt | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,7 @@ | |
* | ||
* The following URL always points to the newest version of this script. If you obtained it from another source, you should | ||
* check here: | ||
* $HeadURL$ | ||
* $LastChangedRevision$ | ||
* <https://github.com/jantman/misc-scripts/blob/master/linodeDnsToCsv.php> | ||
* | ||
* CHANGELOG: | ||
* 2011-12-17 Jason Antman <[email protected]>: | ||
|
@@ -88,4 +87,4 @@ | |
} | ||
|
||
|
||
?> | ||
?> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,10 @@ | |
# Credit for this script goes to "Guspaz" on the Linode forums, who published it | ||
# in his post at: <https://forum.linode.com/viewtopic.php?p=53727&sid=481e147062078fe2f9728de24baabc37#p53727> | ||
# | ||
################## | ||
# Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com> | ||
# Free for any use provided that patches are submitted back to me. | ||
# | ||
# The most recent version of this script is available at: | ||
# <https://github.com/jantman/misc-scripts/blob/master/linode_ddns_update.sh> | ||
# | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,11 +3,15 @@ | |
# Simple script to list all records in Linode DNS via API, | ||
# along with their Domain ID and Record ID | ||
# | ||
# Copyright 2013 Jason Antman <[email protected]> <http://www.jasonantman.com> | ||
# | ||
# This requires the requests and json packages. | ||
# | ||
################## | ||
# Copyright 2013 Jason Antman <[email protected]> <http://www.jasonantman.com> | ||
# Free for any use provided that patches are submitted back to me. | ||
# | ||
# The latest version of this script can be found at: | ||
# <https://github.com/jantman/misc-scripts/blob/master/linode_list_records.py> | ||
########################################################################################## | ||
|
||
import sys | ||
import requests | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,10 @@ | |
# | ||
# Script using PyGithub to list an organization's repos and some info about them. | ||
# | ||
# Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com> | ||
# Free for any use provided that patches are submitted back to me. | ||
# | ||
# The latest version of this script can be found at: | ||
# <https://github.com/jantman/misc-scripts/blob/master/list_github_org_repos.py> | ||
# | ||
# Requires PyGithub - `pip install PyGithub` (tested against 1.23.0) | ||
|
@@ -10,6 +14,9 @@ | |
# Assumes you have a GitHub API Token, either in ~/.ssh/apikeys.py or | ||
# in a GITHUB_TOKEN environment variable. | ||
# | ||
# CHANGELOG: | ||
# - initial script | ||
# | ||
|
||
from github import Github | ||
import os | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,18 @@ | |
# | ||
# Simple, naive regex matching. Assumes you style your manifests properly. | ||
# | ||
################## | ||
# Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com> | ||
# Free for any use provided that patches are submitted back to me. | ||
# | ||
# The latest version of this script can be found at: | ||
# <https://github.com/jantman/misc-scripts/blob/master/make_puppet_param_markdown.py> | ||
# | ||
# CHANGELOG: | ||
# 2014-02-06 Jason Antman <[email protected]>: | ||
# - initial script | ||
########################################################################################## | ||
|
||
|
||
import os.path | ||
import re | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,10 @@ | |
# By Jason Antman <[email protected]> 2012. | ||
# | ||
# The latest version of this script can always be found at: | ||
# $HeadURL$ | ||
# This version is: $LastChangedRevision$ | ||
# <https://github.com/jantman/misc-scripts/blob/master/nagios_log_problem_interval.pl> | ||
# | ||
# The post describing this script and giving updates can be found at: | ||
# <http://blog.jasonantman.com/?p=1169> | ||
# <http://blog.jasonantman.com/2012/05/script-to-chart-intervals-between-problem-and-recovery-from-nagiosicinga-log-files/> | ||
# | ||
#---------------------------------------------------------------------------- | ||
# This script was based off of one found in the F5 Networks iControl Wiki. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Script to transform multiple nmap XML output files (presumably of the same host/port range with different scan options) into a HTML table | ||
* | ||
* The canonical source of the latest version of this script is: | ||
* <http://svn.jasonantman.com/misc-scripts/nmap-xml-to-table.php> | ||
* <https://github.com/jantman/misc-scripts/blob/master/nmap-xml-to-table.php> | ||
* | ||
* Copyright 2011 Jason Antman <[email protected]> <http://www.jasonantman.com> all rights reserved. | ||
* Distribution and use of this script is unlimited, provided that you leave this notice intact and send any corrections/additions back to me. | ||
|
@@ -13,8 +13,6 @@ | |
* | ||
* USAGE: nmap-xml-to-table.php [xml file] [xml file] [...] | ||
* | ||
* $LastChangedRevision$ | ||
* $HeadURL$ | ||
* | ||
*/ | ||
|
||
|
@@ -205,4 +203,4 @@ function getScanResults($file) | |
|
||
?> | ||
</body> | ||
</html> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,11 @@ | |
# | ||
# Simple script to log environment variables and original command for forced ssh commands | ||
# | ||
# by Jason Antman <[email protected]> <http://www.jasonantman.com> | ||
# Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com> | ||
# Free for any use provided that patches are submitted back to me. | ||
# | ||
# $HeadURL$ | ||
# $LastChangedRevision$ | ||
# The latest version of this script can be found at: | ||
# <https://github.com/jantman/misc-scripts/blob/master/print-cmd.sh> | ||
# | ||
|
||
echo "============`date`================\n" >> print-cmd.log | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,9 @@ | |
# Script to rebuild a SRPM 1:1, useful when you want to build a RHEL/CentOS 6 | ||
# SRPM on a RHEL/CentOS 5 system that doesn't support newer compression (cpio: MD5 sum mismatch) | ||
# | ||
# by Jason Antman <[email protected]> | ||
# Copyright 2014 Jason Antman <[email protected]>. All Rights Reserved. | ||
# Free for any use provided that patches are submitted back to me. | ||
# | ||
# The latest version of this script will always live at: | ||
# <https://github.com/jantman/misc-scripts/blob/master/rebuild_srpm.sh> | ||
# | ||
|
Oops, something went wrong.