Skip to content

Instantly share code, notes, and snippets.

View mfonville's full-sized avatar

Maarten Fonville mfonville

  • Fonville IT
  • The Netherlands
View GitHub Profile
@mfonville
mfonville / export-ble-infos.py
Created November 2, 2017 09:27 — forked from Mygod/export-ble-infos.py
Export your Windows Bluetooth LE keys into Linux!
#!/usr/bin/python3
"""
Export your Windows Bluetooth LE keys into Linux!
Thanks to: http://console.systems/2014/09/how-to-pair-low-energy-le-bluetooth.html
Usage:
$ ./export-ble-infos.py <args>
# cp -r ./bluetooth /var/lib
@mfonville
mfonville / keybase.md
Created July 24, 2016 09:07
Keybase GitHub Proof

Keybase proof

I hereby claim:

  • I am mfonville on github.
  • I am fonville (https://keybase.io/fonville) on keybase.
  • I have a public key whose fingerprint is 9821 BE0A 8F1F 1C8E 8590 C4B7 FB0C 92AF 0EA2 B9D1

To claim this, I am signing this object:

@mfonville
mfonville / disable-reboot.pkla
Created May 17, 2016 14:18
Prevent default logged in from rebooting or shutting down the machine
#save as /etc/polkit-1/localauthority/99-dontrebootserver/disable-reboot.pkla
[Disable power-off]
Identity=unix-user:*
Action=org.freedesktop.login1.power-off;org.freedesktop.login1.power-off-multiple-sessions
ResultActive=no
[Disable reboot]
Identity=unix-user:*
Action=org.freedesktop.login1.reboot;org.freedesktop.login1.reboot-multiple-sessions
ResultActive=no