Skip to content

Instantly share code, notes, and snippets.

@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
@thijstriemstra
thijstriemstra / update-videojs.sh
Last active December 9, 2016 16:29
bump video.js version in examples and
#!/bin/bash
export OLD_VERSION=5.9.2
export NEW_VERSION=5.10.8
# check if language files exist
wget --delete-after https://vjs.zencdn.net/$NEW_VERSION/lang/nl.js
# update videojs in examples and documentation
find examples/ -type f -name '*.html' -exec sed -i '' -e "s/$OLD_VERSION/$NEW_VERSION/" {} \;
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'))
+
@thijstriemstra
thijstriemstra / gist:f1900272b8d680bda765
Created January 3, 2015 17:43
wavesurfer destroy before rendering complete
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>wavesurfer.js</title>
<link href="data:image/gif;" rel="icon" type="image/x-icon" />
<!-- Bootstrap -->
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet">