Inspired by this
# modify keepassxc browser path
In the KeePassXC UI.
- Tools
- Settings
- Browser Integration
- General
- Enable Browser Integration
| local wezterm = require 'wezterm' | |
| local config = wezterm.config_builder() | |
| config.color_scheme = 'Aci (Gogh)' | |
| local act = wezterm.action | |
| config.keys = { | |
| { key = 'v', mods = 'CTRL', action = act.PasteFrom 'Clipboard' }, | |
| } | |
| return config |
| # Settings | |
| ## start counting tmux sessions from 1 | |
| set -g base-index 1 | |
| setw -g pane-base-index 1 | |
| ## increase history | |
| set -g history-limit 50000 | |
| ## Refresh 'status-left' and 'status-right' more often | |
| set -g status-interval 5 |
Inspired by this
# modify keepassxc browser path
In the KeePassXC UI.
- Tools
- Settings
- Browser Integration
- General
- Enable Browser Integration
| FROM alpine | |
| COPY names-generator / | |
| EXPOSE 8080 | |
| CMD ["/names-generator"] |
| #!/bin/bash | |
| # first A record, second authoritive DNS | |
| RECORDS=(example.com ns.example.com mustermann.de ns.google.de) | |
| LOGPATH="/var/log/iplog" | |
| COUNTER=1 | |
| for RECORD in ${RECORDS[@]}; do | |
| if [[ ! $(($COUNTER % 2)) -eq 0 ]]; then | |
| DOMAIN=$RECORD |
| #!/bin/bash | |
| # Usage: ./mkimage.sh jessie | |
| MIRROR="http://archive.raspbian.org/raspbian" | |
| RELEASE="$1" | |
| TAG="debian:$RELEASE" | |
| DIR=$(mktemp -d) | |
| debootstrap --variant=minbase $RELEASE $DIR $MIRROR | |
| tar --numeric-owner -C $DIR -c . | docker import - $TAG |
| # Generate SSL | |
| openssl req -newkey rsa:2048 -nodes -keyout domain.key -x509 -days 365 -out domain.crt | |
| # Generate DH | |
| openssl dhparam -out dhparam.pem 4096 | |
| ssl_certificate /etc/nginx/ssl/domain.crt; | |
| ssl_certificate_key /etc/nginx/ssl/domain.key; | |
| ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
| ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH'; | |
| ssl_prefer_server_ciphers on; |
| # Radicale Dockerfile | |
| # | |
| # VERSION 0.3 | |
| FROM alpine:latest | |
| # Base packages | |
| RUN apk update && apk upgrade | |
| RUN apk add ca-certificates python nginx py-setuptools apache2-utils |
| # Radicale Dockerfile | |
| # | |
| # VERSION 0.3 | |
| FROM alpine:latest | |
| # Base packages | |
| RUN apk update && apk upgrade | |
| RUN apk add ca-certificates git python python-dev py-setuptools py-pip build-base libffi-dev |
| #!/bin/ksh | |
| LOG="/tmp/access_pot.log" | |
| BLACKLIST="/root/config/pf/persistent-block.list" | |
| set -A RFCS 10 172 192 | |
| while true; do | |
| if [[ -a $LOG ]]; then | |
| tail -f $LOG | while read LINE; do |