Skip to content

Instantly share code, notes, and snippets.

@apeeters
apeeters / xiaomi_mijia_aqara_battery_types.md
Created August 30, 2020 15:32
Xiaomi Mijia Aqara battery types

| Battery | Device | Name | |---|---|---|---|---| | CR1632 | MCCGQ11LM | Xiaomi Aqara door & window contact sensor (contact) |

Keybase proof

I hereby claim:

  • I am apeeters on github.
  • I am apeeters (https://keybase.io/apeeters) on keybase.
  • I have a public key ASBIj-LNdGXNPssjlg66vdYH_fIg6-nxKpR5H3Idp0K3QAo

To claim this, I am signing this object:

@apeeters
apeeters / gist:cb684b94f2a698524bc667ca922b0409
Created November 24, 2017 10:11 — forked from powdahound/gist:958148
HipChat API message with HTML
<?php
// HipChat PHP library: https://github.com/hipchat/hipchat-php
include 'HipChat.php';
$token = "<your token>";
$room = "Development";
$message = 'Some <b>html</b>, &lt;entities&gt;, and a <a href="https://www.hipchat.com">link</a>.<br />We can even use line breaks!';
$hc = new HipChat($token);
#!/bin/bash
##########################################################################
#
# Use this script to :
# - download the pxelinux.0 (A), kernel (B) and initrd (C) for debian wheezy
# - add all the non free firmware to the initrd
# - update your tftp directory
#
# Example of a tftp directory :
# /srv/tftp/
@apeeters
apeeters / README.rst
Created September 8, 2013 18:46 — forked from dol/README.rst

Custom puppet version preinstall for vagrant

Add the following line to you 'Vagrantfile':

config.vm.provision :shell do |s|
  s.path = "preinstall.sh"
  s.args = "3.1.1-1puppetlabs1"