- 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
| input { | |
| tcp { | |
| type => "apt-history" | |
| port => 3333 | |
| } | |
| } | |
| filter { | |
| # First, glue all lines together into one event! |
| /* Reset | |
| ------------------------------------------------------------ */ | |
| body#ttrssMain, | |
| body#ttrssPrefs, | |
| body#ttrssLogin, | |
| body { | |
| color: #000; | |
| font-family: "Arial", sans-serif; | |
| font-size: 100%; /* Set to default browser size, 16px */ | |
| line-height: 1.5; |
| import SimpleHTTPServer | |
| class CORSHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
| def send_head(self): | |
| """Common code for GET and HEAD commands. | |
| This sends the response code and MIME headers. | |
| Return value is either a file object (which has to be copied | |
| to the outputfile by the caller unless the command was HEAD, | |
| and must be closed by the caller under all circumstances), or |
| # Reverse the order of all intervals from /etc/rsnapshot.conf | |
| #interval hourly 3 | |
| #interval daily 7 | |
| #interval weekly 4 | |
| ##interval monthly 3 | |
| # | |
| # all single commands below should be possible to be scripted within a bash loop | |
| # by defining a function called interval and a process afterwards.. | |
| # to get all defined intervals from /etc/rsnapshot you can use grep |
| #!/bin/sh | |
| sudo rsync -aHXh --delete "/.snapshot/`ls -v1 /.snapshot | grep daily | tail -n1`/" "/home/alerticus/mnt/sata/backup/alerticus-thinkpad/root/" | |
| sudo rsync -aHXh --delete "/home/.snapshot/`ls -v1 /home/.snapshot | grep daily | tail -n1`/" "/home/alerticus/mnt/sata/backup/alerticus-thinkpad/home/" |
| # | |
| # A CORS (Cross-Origin Resouce Sharing) config for nginx | |
| # | |
| # == Purpose | |
| # | |
| # This nginx configuration enables CORS requests in the following way: | |
| # - enables CORS just for origins on a whitelist specified by a regular expression | |
| # - CORS preflight request (OPTIONS) are responded immediately | |
| # - Access-Control-Allow-Credentials=true for GET and POST requests |
| # {{{ 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 |
| #!/usr/bin/python | |
| # setup: pip install requests beautifulsoup4 | |
| from decimal import Decimal | |
| import requests | |
| from bs4 import BeautifulSoup | |
| import sys | |
| import getpass |
| # 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 / { |
deb http://finja.brachium-system.net/~jonas/packages/graylog2_repro/ wheezy main