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
/*! | |
* jQuery Form Plugin | |
* version: 3.51.0-2014.06.20 | |
* Requires jQuery v1.5 or later | |
* Copyright (c) 2014 M. Alsup | |
* Examples and documentation at: http://malsup.com/jquery/form/ | |
* Project repository: https://github.com/malsup/form | |
* Dual licensed under the MIT and GPL licenses. | |
* https://github.com/malsup/form#copyright-and-license | |
*/ |
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
#!/usr/bin/env python | |
""" FileSplitter - Simple Python file split/concat module. | |
What it does | |
-==========- | |
1. Split a text/binary file into equal sized chunks or by lines | |
and save them separately. |
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
#!/bin/bash | |
SETNM='cf' | |
IPFIL='/root/CloudFlare/cloudflare.ips' | |
INTERNAL='/root/CloudFlare/internal.ips' | |
declare -a PORTS=("80" "443" "2408") | |
/usr/bin/firewall-cmd --get-ipsets --permanent | grep $SETNM | |
if [ $? -eq 0 ]; then | |
echo "ipset $SETNM already exists, lets update the entries." |
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
#!/bin/bash | |
SETNM='tor' | |
SRVIP='REPLACE_WITH_YOUR_IP' | |
/usr/bin/firewall-cmd --get-ipsets --permanent | grep $SETNM | |
if [ $? -eq 0 ]; then | |
echo "ipset $SETNM already exists, lets update the entries." | |
#/usr/bin/firewall-cmd --permanent --delete-ipset=$SETNM && exit 0 # Delete the Set to test script | |
else |
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
#!/usr/bin/php | |
<?php | |
/* | |
* Call: php json2csv.php SOMEFILE.json > OUT.csv | |
*/ | |
global $sefh; | |
$sefh = fopen('php://stderr','a'); | |
$jsontemplate; |