Skip to content

Instantly share code, notes, and snippets.

Julian Pawlowski jpawlowski

Block or report user

Report or block jpawlowski

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jpawlowski / msys_hetzner-etc_network_interfaces
Created Aug 12, 2012
Debian network configuration for Proxmox VE server running on a Hetzner host
View msys_hetzner-etc_network_interfaces
# /etc/network/interfaces
auto lo
iface lo inet loopback
# device: eth0
iface eth0 inet manual
# IPv4 bridge
# (connect ONLY your firewall/router KVM instance here, this is the WAN device!)
jpawlowski /
Last active Jan 24, 2020
Sync Homebrew installations between Macs via Dropbox
# Sync Homebrew installations between Macs via Dropbox
# first get local settings
echo "Reading local settings ..."
rm -f /tmp/brew-sync.*
jpawlowski /
Last active Mar 30, 2018
LED Wifi control script for MiLight, EasyBulb, iBulb, LinkUP, Kepsun
#!/usr/bin/perl -w
# LED Wifi control script for MiLight, EasyBulb, iBulb, LinkUP, Kepsun
# ====================================================================
# Copyright (C) 2013, Julian Pawlowski <>
# All rights reserved.
# License: Simplified BSD / FreeBSD License
jpawlowski /
Last active Dec 17, 2015
extend FHEM PRESENCE module for TomatoUSB access point compatibility
use Net::SNMP;
my ($accesspoint,$client)= @_;
my $community = "public";
my $host = $accesspoint;
my $oid = ".";
View gist:9855538
### Keybase proof
I hereby claim:
* I am jpawlowski on github.
* I am loredo ( on keybase.
* I have a public key whose fingerprint is CE9F 9916 928C 0F58 6B1A E64D 1E5E F5B6 561E 1A5F
To claim this, I am signing this object:
# see
SSHD_VERSION=`/usr/sbin/sshd -v 2>&1 | grep OpenSSH | cut -d " " -f1 | cut -d "_" -f2 | cut -d"." -f2 | cut -d"p" -f1`
cat /etc/ssh/sshd_config | grep -v "KexAlgorithms" | grep -v "Ciphers" | grep -v "MACs" | grep -v "" > /etc/ssh/
cat /etc/ssh/ssh_config | grep -v "KexAlgorithms" | grep -v "Ciphers" | grep -v "MACs" | grep -v "" > /etc/ssh/
if [ "${SSHD_VERSION}" != "0" ]; then
# better algorithms only available on newer OpenSSH versions
echo "KexAlgorithms,diffie-hellman-group-exchange-sha256" >> /etc/ssh/
jpawlowski /
Last active Nov 16, 2015
FHEM: Cleans up SONOS Speak cache files. Files which have not been accessed(=played) during the last 75 days will be deleted
FILES=`ls /mnt/SonosSpeak/RINCON*`
CURRENTTIME=`date +"%s"`
echo -e "Cleaning up all files older than $PASTDAYS days ...\n\n"
jpawlowski /
Created Nov 23, 2015
Update weather maps from DWD servers for use with FHEM GDS module
mkdir -p /tmp/gds
# ftp-Server als Verzeichnis mounten:
curlftpfs /tmp/gds -o user=user:password
cd /tmp/gds/gds/specials/radar/southeast
NEUESTE_DATEI=$(ls -t | head -n 1)
cp -fpv "${NEUESTE_DATEI}" "/tmp/gds_radarmap.jpg"
jpawlowski / gist:7af3920f4814869a4b32
Last active Jan 21, 2017
Download all current video torrents of 32c3 congress at once under OS X. It uses GNU grep installed via Homebrew. Credits go to @jansauer
View gist:7af3920f4814869a4b32
brew install homebrew/dupes/grep; wget -q -O - | ggrep -oP '(?<=href=")[^"]*\.mp4(?=")' | xargs -I % bash -c 'test ! -f % && wget -q -nc ""'
jpawlowski / haproxy.cfg
Last active Nov 30, 2019
Geeking out with HAproxy on pfSense: The ultimate port 443 TLS/SSL router |
View haproxy.cfg
maxconn 2000
stats socket /tmp/haproxy.socket level admin
uid 80
gid 80
nbproc 1
chroot /tmp/haproxy_chroot
tune.ssl.default-dh-param 2048
# Modern browser compatibility only as mentioned here:
You can’t perform that action at this time.