Skip to content

Commit 3168f2f

Browse files
committed
make sure everything in this repo has a correct URL to the current script, as well as some sort of author attribution and license-like statement
1 parent e527c79 commit 3168f2f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+188
-81
lines changed

VipToInternalHosts.pl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
# By Jason Antman <[email protected]> 2012.
77
#
88
# The latest version of this script can always be found at:
9-
# $HeadURL$
10-
# This version is: $LastChangedRevision$
9+
# <https://github.com/jantman/misc-scripts/blob/master/VipToInternalHosts.pl>
1110
#
1211
# The post describing this script and giving updates can be found at:
13-
# <http://blog.jasonantman.com/?p=1129>
12+
# <http://blog.jasonantman.com/2012/04/perl-script-to-convert-f5-bigip-vip-address-to-list-of-internal-pool-member-addresses>
1413
#
1514
#----------------------------------------------------------------------------
1615
# This script was based off of one found in the F5 Networks iControl Wiki.

bigipcookie.pl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
# Perl script to de/encode F5 BigIp persistence cookies.
55
#
66
# The latest version of this script can always be obtained from:
7-
# <http://svn.jasonantman.com/misc-scripts/bigipcookie.pl> via HTTP ot SVN
7+
# <https://github.com/jantman/misc-scripts/blob/master/bigipcookie.pl>
88
#
99
# Update information and description can be found at:
10-
# <http://blog.jasonantman.com/?p=931>
10+
# <http://blog.jasonantman.com/2012/02/f5-bigip-manually-changing-session-persistence-cookies-on-the-client-side/>
1111
#
1212
# Copyright 2012 Jason Antman <[email protected]> <http://www.jasonantman.com>.
1313
#
@@ -38,9 +38,6 @@
3838
# - Tyler Krpata <http://www.tylerkrpata.com/2009/06/decode-f5-bigip-cookie-in-one-line-of.html>
3939
# for the Perl one-liner that this logic is based on.
4040
#
41-
# $HeadURL$
42-
# $LastChangedRevision$
43-
#
4441
# Changelog:
4542
#
4643
# 2012-02-02 Jason Antman <[email protected]>:

cmd-wrapper.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
*
1515
* USAGE: cmd-wrapper [pre|post]
1616
*
17-
* $HeadURL$
18-
* $LastChangedRevision$
17+
* The latest version of this script can be found at:
18+
* <https://github.com/jantman/misc-scripts/blob/master/cmd-wrapper.c>
1919
*
2020
********************************************/
2121

collectRsyslogInfo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
* on behalf of the taxpayers of the State of New Jersey and/or the students of Rutgers University,
99
* The State University of New Jersey.
1010
*
11-
* $HeadURL$
12-
* $LastChangedRevision$
11+
* The latest version of this script can be found at:
12+
* <https://github.com/jantman/misc-scripts/blob/master/collectRsyslogInfo.php>
1313
*
1414
****************************************************************************************************
1515
* Usage:

cookies_from_pdml.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@
44
55
This is a quick hack. Lots of problems.
66
7-
By Jason Antman <[email protected]> <http://www.jasonantman.com>
8-
https://github.com/jantman/misc-scripts/blob/master/cookies_from_pdml.py
7+
Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com>
8+
Free for any use provided that patches are submitted back to me.
9+
10+
The latest version of this script can be found at:
11+
<https://github.com/jantman/misc-scripts/blob/master/cookies_from_pdml.py>
912
"""
1013

1114
from lxml import etree

disqus_backup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
> pip install disqus-python anyjson
1313
1414
Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com>
15-
1615
Free for any use provided that patches are submitted back to me.
16+
17+
The latest version of this script can be found at:
18+
<https://github.com/jantman/misc-scripts/blob/master/disqus_backup.py>
1719
"""
1820

1921
import anyjson

dot_find_cycles.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
dot_find_cycles.py - uses Pydot and NetworkX to find cycles in a dot file directed graph.
55
6-
Very helpful for
6+
Very helpful for Puppet stuff.
77
88
By Jason Antman <[email protected]> 2012.
99
@@ -22,9 +22,6 @@
2222
The canonical source of this script can always be found from:
2323
<http://blog.jasonantman.com/2012/03/python-script-to-find-dependency-cycles-in-graphviz-dot-files/>
2424
25-
$HeadURL$
26-
$LastChangedRevision$
27-
2825
CHANGELOG:
2926
Wednesday 2012-03-28 Jason Antman <[email protected]>:
3027
- initial script creation

dumpFirefoxSession.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
* modifications are sent back to me and this notice is kept intact, and the changelog is updated.
88
**********************************************
99
* Canonical URL to current version:
10-
* <http://svn.jasonantman.com/misc-scripts/dumpFirefoxSession.php>
11-
**********************************************
12-
* $HeadURL$
13-
* $LastChangedRevision$
10+
* <https://github.com/jantman/misc-scripts/blob/master/dumpFirefoxSession.php>
1411
**********************************************
1512
* Dependencies:
1613
* PHP5 with JSON
@@ -137,4 +134,4 @@ function usage()
137134
fwrite(STDERR, "\tUSAGE: dumpFirefoxSession.php [--text | --html ] [path to sessionstore.js]\n");
138135
}
139136

140-
?>
137+
?>

dumpMysqlGrants.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
# Many thanks to him.
77
#
88
# The most up-to-date version of this script can be found at:
9-
# $HeadURL$
10-
# $LastChangedRevision$
9+
# <https://github.com/jantman/misc-scripts/blob/master/dumpMysqlGrants.sh>
1110
#
1211

1312
mygrants()

dump_skype_logs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
Default output is a directory of HTML files, with an index file and per-chat files.
77
88
Copyright 2012 Jason Antman <[email protected]> All Rights Reserved.
9+
Free for any use provided that patches are submitted back to me.
10+
11+
The latest version of this script can be found at:
12+
<https://github.com/jantman/misc-scripts/blob/master/dump_skype_logs.py>
913
1014
Requires Python Modules:
1115
sqlite3

find_outdated_puppets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Script to look at a Puppet Dashboard unhidden-nodes.csv and extract the latest report time for each node.
44
Optionally, list nodes with runtime BEFORE a string.
55
6-
USAGE:
6+
ABANDONED - no longer used or maintained.
77
88
"""
99
import csv

get_addons.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/env python
22
"""
33
Update my WoW addons on mac
4+
5+
NOTE: As of December 2014 I no longer use or maintain this script;
6+
instead, I use the Alpha version of the Curse Client for Mac.
47
"""
58

69
import sys

git_repo_diff.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44
both by existence and head commit.
55
66
Reqires GitPython>=0.3.2.RC1
7+
8+
##################
9+
Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com>
10+
Free for any use provided that patches are submitted back to me.
11+
12+
The latest version of this script can be found at:
13+
<https://github.com/jantman/misc-scripts/blob/master/git_repo_diff.py>
14+
15+
CHANGELOG:
16+
- initial script
717
"""
818

919
import os

github_clone_setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
The canonical version of this script lives at:
1616
https://github.com/jantman/misc-scripts/blob/master/github_clone_setup.py
1717
18+
Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com>
19+
Free for any use provided that patches are submitted back to me.
20+
1821
Requirements
1922
============
2023
* Python 2.7+ (uses subprocess.check_output)

js2phpdoc.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Copyright 2010 Jason Antman <[email protected]> <http://www.jasonantman.com>
1111
*
1212
* The canonical source of the latest version of this script is:
13-
* <http://svn.jasonantman.com/misc-scripts/js2phpdoc.php>
13+
* <https://github.com/jantman/misc-scripts/blob/master/js2phpdoc.php>
1414
*
1515
* Information on usage and installation can be found at:
1616
* <http://blog.jasonantman.com/2010/08/documentation-generation-for-web-apps-php-and-javascript/>
@@ -57,9 +57,6 @@
5757
* @author jantman <[email protected]> <http://www.jasonantman.com>
5858
* @author rhorber <[email protected]>
5959
*
60-
* $LastChangedRevision$
61-
* $HeadURL$
62-
*
6360
* CHANGELOG:
6461
*
6562
* 2010-08-25 jantman:
@@ -195,4 +192,4 @@ function usage()
195192
echo "js2phpdoc.php [--help] <input directory> <output directory>\n";
196193
}
197194

198-
?>
195+
?>

kickRsyslog.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
* on behalf of the taxpayers of the State of New Jersey and/or the students of Rutgers University,
1010
* The State University of New Jersey.
1111
*
12-
* $HeadURL$
13-
* $LastChangedRevision$
12+
* The latest version of this script can be found at:
13+
* <https://github.com/jantman/misc-scripts/blob/master/kickRsyslog.php>
1414
*
1515
*/
1616

libvirt_csv.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44
information about libvirt (qemu/KVM) guests.
55
66
test on opskvmtie13
7+
8+
##################
9+
Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com>
10+
Free for any use provided that patches are submitted back to me.
11+
12+
The latest version of this script can be found at:
13+
<https://github.com/jantman/misc-scripts/blob/master/libvirt_csv.py>
14+
15+
CHANGELOG:
16+
- initial script
717
"""
818

919
import libvirt

linodeDnsToCsv.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
*
2525
* The following URL always points to the newest version of this script. If you obtained it from another source, you should
2626
* check here:
27-
* $HeadURL$
28-
* $LastChangedRevision$
27+
* <https://github.com/jantman/misc-scripts/blob/master/linodeDnsToCsv.php>
2928
*
3029
* CHANGELOG:
3130
* 2011-12-17 Jason Antman <[email protected]>:
@@ -88,4 +87,4 @@
8887
}
8988

9089

91-
?>
90+
?>

linode_ddns_update.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
# Credit for this script goes to "Guspaz" on the Linode forums, who published it
88
# in his post at: <https://forum.linode.com/viewtopic.php?p=53727&sid=481e147062078fe2f9728de24baabc37#p53727>
99
#
10+
##################
11+
# Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com>
12+
# Free for any use provided that patches are submitted back to me.
13+
#
1014
# The most recent version of this script is available at:
1115
# <https://github.com/jantman/misc-scripts/blob/master/linode_ddns_update.sh>
1216
#

linode_list_records.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33
# Simple script to list all records in Linode DNS via API,
44
# along with their Domain ID and Record ID
55
#
6-
# Copyright 2013 Jason Antman <[email protected]> <http://www.jasonantman.com>
7-
#
86
# This requires the requests and json packages.
97
#
8+
##################
9+
# Copyright 2013 Jason Antman <[email protected]> <http://www.jasonantman.com>
10+
# Free for any use provided that patches are submitted back to me.
1011
#
12+
# The latest version of this script can be found at:
13+
# <https://github.com/jantman/misc-scripts/blob/master/linode_list_records.py>
14+
##########################################################################################
1115

1216
import sys
1317
import requests

list_github_org_repos.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
#
33
# Script using PyGithub to list an organization's repos and some info about them.
44
#
5+
# Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com>
6+
# Free for any use provided that patches are submitted back to me.
7+
#
8+
# The latest version of this script can be found at:
59
# <https://github.com/jantman/misc-scripts/blob/master/list_github_org_repos.py>
610
#
711
# Requires PyGithub - `pip install PyGithub` (tested against 1.23.0)
@@ -10,6 +14,9 @@
1014
# Assumes you have a GitHub API Token, either in ~/.ssh/apikeys.py or
1115
# in a GITHUB_TOKEN environment variable.
1216
#
17+
# CHANGELOG:
18+
# - initial script
19+
#
1320

1421
from github import Github
1522
import os

make_puppet_param_markdown.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@
66
#
77
# Simple, naive regex matching. Assumes you style your manifests properly.
88
#
9+
##################
10+
# Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com>
11+
# Free for any use provided that patches are submitted back to me.
12+
#
13+
# The latest version of this script can be found at:
14+
# <https://github.com/jantman/misc-scripts/blob/master/make_puppet_param_markdown.py>
15+
#
16+
# CHANGELOG:
17+
# 2014-02-06 Jason Antman <[email protected]>:
18+
# - initial script
19+
##########################################################################################
20+
921

1022
import os.path
1123
import re

nagios_log_problem_interval.pl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
# By Jason Antman <[email protected]> 2012.
66
#
77
# The latest version of this script can always be found at:
8-
# $HeadURL$
9-
# This version is: $LastChangedRevision$
8+
# <https://github.com/jantman/misc-scripts/blob/master/nagios_log_problem_interval.pl>
109
#
1110
# The post describing this script and giving updates can be found at:
12-
# <http://blog.jasonantman.com/?p=1169>
11+
# <http://blog.jasonantman.com/2012/05/script-to-chart-intervals-between-problem-and-recovery-from-nagiosicinga-log-files/>
1312
#
1413
#----------------------------------------------------------------------------
1514
# This script was based off of one found in the F5 Networks iControl Wiki.

nmap-xml-to-table.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Script to transform multiple nmap XML output files (presumably of the same host/port range with different scan options) into a HTML table
55
*
66
* The canonical source of the latest version of this script is:
7-
* <http://svn.jasonantman.com/misc-scripts/nmap-xml-to-table.php>
7+
* <https://github.com/jantman/misc-scripts/blob/master/nmap-xml-to-table.php>
88
*
99
* Copyright 2011 Jason Antman <[email protected]> <http://www.jasonantman.com> all rights reserved.
1010
* 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 @@
1313
*
1414
* USAGE: nmap-xml-to-table.php [xml file] [xml file] [...]
1515
*
16-
* $LastChangedRevision$
17-
* $HeadURL$
1816
*
1917
*/
2018

@@ -205,4 +203,4 @@ function getScanResults($file)
205203

206204
?>
207205
</body>
208-
</html>
206+
</html>

print-cmd.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
#
33
# Simple script to log environment variables and original command for forced ssh commands
44
#
5-
# by Jason Antman <[email protected]> <http://www.jasonantman.com>
5+
# Copyright 2014 Jason Antman <[email protected]> <http://www.jasonantman.com>
6+
# Free for any use provided that patches are submitted back to me.
67
#
7-
# $HeadURL$
8-
# $LastChangedRevision$
8+
# The latest version of this script can be found at:
9+
# <https://github.com/jantman/misc-scripts/blob/master/print-cmd.sh>
910
#
1011

1112
echo "============`date`================\n" >> print-cmd.log

rebuild_srpm.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
# Script to rebuild a SRPM 1:1, useful when you want to build a RHEL/CentOS 6
44
# SRPM on a RHEL/CentOS 5 system that doesn't support newer compression (cpio: MD5 sum mismatch)
55
#
6-
# by Jason Antman <[email protected]>
6+
# Copyright 2014 Jason Antman <[email protected]>. All Rights Reserved.
7+
# Free for any use provided that patches are submitted back to me.
8+
#
79
# The latest version of this script will always live at:
810
# <https://github.com/jantman/misc-scripts/blob/master/rebuild_srpm.sh>
911
#

0 commit comments

Comments
 (0)