Skip to content

Instantly share code, notes, and snippets.

View zsoerenm's full-sized avatar

Soeren Schoenbrod zsoerenm

  • RWTH Aachen University
  • Aachen
View GitHub Profile

Unpack Android system.new.dat.br

pacman -S brotli p7zip
curl -L -o /usr/local/bin/sdat2img.py https://github.com/xpirt/sdat2img/raw/master/sdat2img.py && chmod +x sdat2img.py

brotli -d system.new.dat.br
sdat2img.py system.transfer.list system.new.dat system.img
7z -y -bsp0 -bso0 x system.img
@waveform80
waveform80 / motion_215.py
Last active September 8, 2021 16:23
Motion detection with a circular buffer and file recording in picamera
#!/usr/bin/env python
import io
import time
import picamera
import picamera.array
import numpy as np
from PIL import Image, ImageDraw
@auser
auser / googleServices.js
Last active May 11, 2018 09:18
Part of the code for the Beginner's Guide to AngularJS
'use strict';
var __gapiAvailable = function() {
return typeof(gapi) !== 'undefined';
}
angular.module('myApp.services', [])
.value('version', '0.0.1');
// Our google services module