Skip to content

Instantly share code, notes, and snippets.

View khenderick's full-sized avatar

Kenneth Henderick khenderick

  • Gent, Belgium
View GitHub Profile
@konradstrack
konradstrack / change_backlight.py
Last active March 12, 2023 21:19
A script to uniformly (logarithmically) change screen brightness using xbacklight
#!/usr/bin/env python3
__author__ = 'Konrad Strack'
__copyright__ = 'Copyright 2014, Konrad Strack'
__license__ = 'MIT'
from math import log10
import sys
import subprocess
@jayjanssen
jayjanssen / gist:5697813
Created June 3, 2013 12:33
Testing multicast with iperf
this is a sample of output:
root@percona-db-2:~# iperf -s -u -B 226.94.1.1 -i 1
------------------------------------------------------------
Server listening on UDP port 5001
Binding to local address 226.94.1.1
Joining multicast group 226.94.1.1
Receiving 1470 byte datagrams
UDP buffer size: 122 KByte (default)
------------------------------------------------------------