Skip to content

Instantly share code, notes, and snippets.

View RubenKelevra's full-sized avatar

@RubenKelevra RubenKelevra

View GitHub Profile
# x11-driver-video-sisimedia
# 2014-08-22
Section "Device"
Identifier "sis671"
Driver "sisimedia"
Screen 0
EndSection
Section "Monitor"
@RubenKelevra
RubenKelevra / netperf routing.txt
Last active September 22, 2015 21:27
Enable routing on Netperf
netperf -L 192.168.0.20 -H 192.168.1.23 -t udp_stream -l 60 -- -R 1
The "-- -R 1" part enables subnet-routing
@RubenKelevra
RubenKelevra / ZFS lost mirror device.txt
Created September 3, 2015 08:45
ZFS lost mirror device
I'm using zfs for mirroring on my hypervisors, mitingated from lvm/mdadm-raid1.
Some days ago my zfs-mirroring stopped working, leading to a degraded state. ZFS said,
one of the mirror-devices, which should be normally named sda4, is now called
238018108320 or something like this, and on the last row of zpool status, theres an
entry like "was: /dev/sda4".
Zfs can't open the device again, I tried:
zpool offline data /dev/sda4
@RubenKelevra
RubenKelevra / RethinkDB-story01.txt
Last active August 27, 2015 07:14
Blog: RethinkDB for system-statistics of freifunk-nodes
This story is about: How do we fetch, process and display nice statistics for
freifunk-nodes, running a free, open WiFi-Network.
Else we want to implement pushes for the owner of each freifunk-node, when
something goes wrong or offline.
Status Quo:
Currently we use some hacky bash scripts[1] which generates a text-file, curl it
to a php running server over https and dropping the latest values to a