Skip to content

Instantly share code, notes, and snippets.

View xrobin's full-sized avatar

Xavier Robin xrobin

View GitHub Profile
@xrobin
xrobin / robo3T_desktop_entry.md
Last active March 27, 2020 10:03 — forked from LogansUA/robomongo_desktop_entry.md
Example of desktop entry on Ubuntu system for Robo 3T

Creating desktop entry

$ touch /usr/share/applications/robo3t.desktop

Edit

$ vim /usr/share/applications/robo3t.desktop
@xrobin
xrobin / fail2ban-allstatus.sh
Created January 19, 2017 10:38 — forked from kamermans/fail2ban-allstatus.sh
Show status of all fail2ban jails at once
#!/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