Inspired by this
# modify keepassxc browser path
In the KeePassXC UI.
- Tools
- Settings
- Browser Integration
- General
- Enable Browser Integration
# Settings | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
# Increase scrollback buffer size from 2000 to 50000 lines | |
set -g history-limit 50000 | |
# Refresh 'status-left' and 'status-right' more often, from every 15s to 5s | |
set -g status-interval 5 | |
# Upgrade $TERM |
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 |
#!/bin/bash | |
# for coreos with flannel ... | |
# Example use ./iptables.sh --source 172.16.23.0/24 --destination 172.16.23.1 --local 10.2.0.2 --dry-run true | |
while [[ $# > 1 ]] | |
do | |
ARGS="$1" | |
case $ARGS in | |
-s|--source) |