- graylog2-server (Current: 0.20.5)
- graylog2-web (Current: 0.20.5)
- graylog2-radio Current: 0.20.5)
- graylog2-stream-dashboard (Current: 0.90.0)
deb http://finja.brachium-system.net/~jonas/packages/graylog2_repro/ wheezy main
| #!/bin/bash | |
| # Make this executable and name it .git/hooks/pre-commit to have commits | |
| # randomly rejected with a prompt to rethink it. The odds are higher for | |
| # longer commits | |
| set -eu | |
| # How many lines a commit must have before it's considered long and should | |
| # have the highest odds of getting an extra prompt |
| #!/bin/sh | |
| # extend non-HiDPI external display on DP* above HiDPI internal display eDP* | |
| # see also https://wiki.archlinux.org/index.php/HiDPI | |
| # you may run into https://bugs.freedesktop.org/show_bug.cgi?id=39949 | |
| # https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/883319 | |
| EXT=`xrandr --current | sed 's/^\(.*\) connected.*$/\1/p;d' | grep -v ^eDP | head -n 1` | |
| INT=`xrandr --current | sed 's/^\(.*\) connected.*$/\1/p;d' | grep -v ^DP | head -n 1` | |
| ext_w=`xrandr | sed 's/^'"${EXT}"' [^0-9]* \([0-9]\+\)x.*$/\1/p;d'` |
| map $http_origin $allow_origin { | |
| default ""; | |
| "~^https?://(?:[^/]*\.)?(stevebuzonas\.(?:com|local))(?::[0-9]+)?$" "$http_origin"; | |
| } | |
| map $request_method $cors_method { | |
| default "allowed"; | |
| "OPTIONS" "preflight"; | |
| } |
| #!/bin/bash | |
| # | |
| # Converts LDIF data to DW-table. | |
| # Doesn't handle comments very well. Use -LLL with ldapsearch to remove them. | |
| # | |
| # 2010-03-07, dsimmons@squiz.co.uk | |
| # 2016-01-21, finkregh@mafia-server.net | |
| # rewrite to output dokuwiki-data | |
| # |
| ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: Did not receive identification string from ::ffff:[\.0-9]+$ | |
| ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: fatal: Read from socket failed: Connection reset by peer \[preauth\]$ | |
| ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: I(llegal|nvalid) user [^[:space:]]* from ([:.[:xdigit:]]+|UNKNOWN)$ | |
| ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: invalid public DH value: <= 1 \[preauth\]$ | |
| ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: Disconnecting: bad client public DH value \[preauth\]$ | |
| ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: Disconnecting: Change of username or service not allowed: \([[:alpha:]]+,ssh-connection\) -> \([[:alpha:]]+,ssh-connection\) \[preauth\]$ | |
| ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: Received disconnect from [:.[:xdigit:]]+: 3: com.jcraft.jsch.JSchException: Auth fail \[preauth\]$ | |
| ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[: |
| curl -XPUT "http://localhost:9200/graylog2/message/_mapping" -d'{"message": {"_ttl" : { "enabled" : true, "default" : "7d" }}}' |
deb http://finja.brachium-system.net/~jonas/packages/graylog2_repro/ wheezy main
| # The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited | |
| # | |
| # Current known FCC address ranges: | |
| # https://news.ycombinator.com/item?id=7716915 | |
| # | |
| # Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft | |
| # | |
| # In your nginx.conf: | |
| location / { |
| #!/usr/bin/python | |
| # setup: pip install requests beautifulsoup4 | |
| from decimal import Decimal | |
| import requests | |
| from bs4 import BeautifulSoup | |
| import sys | |
| import getpass |
| # {{{ Android phone sync (PS) and backup | |
| PS_BACKUP_DIR=~/Android/Backup # Where to keep backups | |
| PS_BACKUP_KEEP=60 # Days to keep backups | |
| PS_BACKUP_ENCRYPT_TO="0x00000000" # GPG key ID to sign and encrypt to | |
| PS_IP="192.168.0.100" # The IP your device will be found at | |
| PS_SSH="Nexus" # The SSH host of your phone, or an SSH alias | |
| PS_STAGING=~/Android/Sync # The staging folder for sync, sans trailing slash | |
| PS_SDCARD=/sdcard # The sync root on the phone, sans trailing slash | |
| PS_RSYNC_OPT="-vzuLr --no-perms" # Extra options to pass to rsync |