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
MOVED to: https://github.com/szepeviktor/wordpress-plugin-construction |
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 node | |
//# prerequisites: | |
//# npm -g install request path | |
//# TODO: modify user agent string | |
var USER, savepath, | |
request = require('request'), | |
path = require('path'), | |
fs = require('fs'), |
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
# put this in directory called /ajax.googleapis.com/ | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^ index.php [L] | |
</IfModule> |
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
MOVED to: https://github.com/szepeviktor/wordpress-plugin-construction |
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
MOVED to: https://github.com/szepeviktor/debian-server-tools |
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 | |
OUT="GeoIPhuWhois.txt" | |
OUT2="ip.ludost.txt" | |
if ! [ -f GeoIPCountryWhois.csv ] | |
then | |
wget -q http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip | |
7z x GeoIPCountryCSV.zip > /dev/null | |
fi |
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 | |
set -e | |
# Use this script to copy shared (libs) files to nginx chrooted | |
# jail server. This is tested on 64 bit Linux (Redhat and Friends only) | |
# ---------------------------------------------------------------------------- | |
# Original Written by Vivek Gite <http://www.cyberciti.biz/> | |
# (c) 2006 nixCraft under GNU GPL v2.0+ | |
# ---------------------------------------------------------------------------- | |
# See url for usage: |
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
MOVED to: https://github.com/szepeviktor/wplib | |
use: wp-lib --root=/var/www/webroot/wordpress setup --secret |
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
# Fail2Ban configuration file for allowing hosts | |
# | |
# | |
[INCLUDES] | |
before = iptables-blocktype.conf | |
[Definition] |
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
MOVED to: https://github.com/szepeviktor/wplib |