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
@echo off | |
SETLOCAL enabledelayedexpansion | |
echo. | |
echo [107;30m Recursive PHP lint parser [0m | |
echo Will do "php -l" for all php files under given directory tree, telling deprecations and/or syntax errors. | |
echo Assumes "php.exe" is on PATH | |
echo. | |
if "%1"=="" goto :usage | |
if NOT exist "%1" ( |
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 | |
# Search in SVN repositores -- by Juanga 2019 | |
# Based on https://svn.haxx.se/users/archive-2006-09/1016.shtml | |
echo " " | |
echo -n "*** Will search "$1" in PHP code inside all SVN repositories " | |
if [[ -z $1 ]]; then |
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 | |
# Automatic MaxMindDB GeoLite2 download (city version) | |
# * that downloads ONLY when new database is available (which is cool and nice with MaxMind servers) * | |
# * by Juanga Covas 2019 | |
# logs to download.log and download-nothing.log | |
# recommended cron: 0 6 * * * cd /root/maxminddb; sh download.sh > download-last-cron.log | |
final_path="/var/cache/lighttpd" |