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 | |
JAILS=`fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g'` | |
for JAIL in $JAILS | |
do | |
fail2ban-client status $JAIL | |
done |
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
public function getDateRange() | |
{ | |
$Start = new \DateTime(date('Y-m-d')); // Datum von | |
$dtEnd = new \DateTime(date('m/y')); // Datum bis | |
$dtEnd->modify('first day of next month'); | |
$dtStart = $Start->modify('-1 year'); | |
$period = new \DatePeriod( | |
$dtStart, |
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 | |
#ddev-generated | |
# Support for dbeaver | |
# This command is available if macOS and dbeaver is installed in the normal place | |
## Description: Run dbeaver with current project database | |
## Usage: dbeaver | |
## Example: "ddev dbeaver" | |
## OSTypes: darwin | |
## HostBinaryExists: /Applications/DBeaver.app |