Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am thijstriemstra on github.
  • I am thijstriemstra (https://keybase.io/thijstriemstra) on keybase.
  • I have a public key whose fingerprint is 8C40 DF98 F750 A753 7AAF 5512 0516 CC19 A81B A379

To claim this, I am signing this object:

@thijstriemstra
thijstriemstra / build-extension.sh
Created August 2, 2016 13:07
Compile static C-extension with multiple source files for PyQt
#!/bin/bash
set -e
set -o pipefail
source ../../settings.sh
export PATH=$PATH:$COMPILER_ROOT
export CC="${PLAT}gcc -pthread"
export AR="${PLAT}ar rcsv"
echo `${PLAT}gcc --version`
@thijstriemstra
thijstriemstra / config.diff
Created June 20, 2016 23:27
rpi toolchain config diff
< # Automatically generated make config: don't edit
< # crosstool-NG 1.15.2 Configuration
< # Tue Aug 7 15:36:12 2012
---
> # Automatically generated file; DO NOT EDIT.
> # Crosstool-NG Configuration
5a5
> CT_CONFIGURE_has_make381=y
7d6
< CT_CONFIGURE_has_svn=y
Verifying that +thijstriemstra is my blockchain ID. https://onename.com/thijstriemstra
@thijstriemstra
thijstriemstra / sim800_at.diff
Created November 12, 2015 14:32
sim800 tests
diff --git a/txgsm/protocol.py b/txgsm/protocol.py
index 6c1ac70..7071d36 100644
--- a/txgsm/protocol.py
+++ b/txgsm/protocol.py
@@ -111,8 +111,191 @@ class TxGSMProtocol(LineReceiver):
"""
d = Deferred()
d.addCallback(self.next('ATE0'))
- d.addCallback(self.next('AT+CIMI'))
+