Responsive Horizontal Tab Menu Slider with left and right arrow key navigation. Built with Stylus and jQuery.
Show case your content with this easy to implement presentation.
| # urls | |
| https://badgen.net/badge/support/UKRAINE/?color=0057B8&labelColor=FFD700 | |
| https://badgen.net/badge/stand%20with/UKRAINE/?color=0057B8&labelColor=FFD700 | |
| # embedded badge in github markdown | |
|  | |
|  |
| -- When using Whitelist and Blacklist last result wins! | |
| -- So maybe redis latency will decide ;) | |
| rspamd_config.PER_USER_WL = { | |
| -- CAUTION: This will whitelist the mail for every recipient when there is | |
| -- match for any recipient | |
| -- ADD a WL entry with: SADD [email protected] [email protected] | |
| -- This function searches redis like this: | |
| -- "SSCAN" "[email protected]" "0" "MATCH" "[email protected]" |
| #! /usr/bin/env python3 | |
| # apt install python3-apt | |
| import apt | |
| cache = apt.Cache() | |
| for pkg in cache: | |
| if cache[pkg.name].is_installed: | |
| continue | |
| if cache[pkg.name].candidate: | |
| continue | |
| print(pkg.name) |
| # shortform git commands | |
| alias g='git' | |
| # push changes to an empty git repository for the first time | |
| git push --set-upstream origin master | |
| # Remove + and - from start of diff lines | |
| git diff --color | sed "s/^\([^-+ ]*\)[-+ ]/\\1/" | less -r | |
| # clear out git hooks |
| --- | |
| # vim: tabstop=2 expandtab shiftwidth=2 softtabstop=2 smartindent nu ft=yaml | |
| # run a upgrade and optional | |
| # check later if the expected version of a desired package is installed | |
| # run needrestart | |
| # | |
| # example: ansible-playbook -e run_versioncheck=true -e apt_upgrade=full aptupgrade.yml | |
| - name: run apt upgrade |
| #! /bin/bash | |
| # complementing https://github.com/zerwes/opnsense-fail2ban | |
| # script will check all banned IPs listed in a list of fail2ban jails | |
| # and compare them against a opnsense alias, | |
| # removing the elements that are not in the ban list from fail2ban | |
| # | |
| # this will ensure that banned IPs that for what reaseon ever are left | |
| # in the opnsense alias are cleaned up (avoiding neverending bans) |
| #!/bin/bash | |
| # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 smartindent nu ft=bash | |
| declare -i RET=0 | |
| STATUS="OK" | |
| O=$(REDISCLI_AUTH="$(sed '/^masterauth/!d;s/.* //g' /etc/redis/redis.conf)" redis-cli ping 2>&1) | |
| RET=$? | |
| if [ $RET -gt 0 ]; then | |
| RET=2 | |
| STATUS="CRITICAL" |
| # Any configuration directives you include here will override | |
| # RT's default configuration file, RT_Config.pm | |
| # | |
| # To include a directive here, just copy the equivalent statement | |
| # from RT_Config.pm and change the value. We've included a single | |
| # sample value below. | |
| # | |
| # This file is actually a perl module, so you can include valid | |
| # perl code, as well. | |
| # |