Additional manual: https://ramsdenj.com/2016/08/29/arch-linux-on-the-surface-pro-4.html
Follow the instructions in disk partition windows.
#!/usr/bin/python2 | |
# based on: https://gist.github.com/pindia/3836713 | |
from itertools import izip, product, tee | |
# Logic functions: take and return iterators of truth values | |
def AND(a, b): | |
for p, q in izip(a, b): | |
yield p and q |
Follow the instructions in disk partition windows.
#!/bin/bash | |
# iBeacon Scan by Arda Karaduman | |
# + MQTT pub by Alexey Andreyev ([email protected]) | |
function parse_ib_uuid { | |
UUID=`echo $1 | sed 's/^.\{69\}\(.\{47\}\).*$/\1/'` | |
UUID=`echo $UUID | sed -e 's/\ //g' -e 's/^\(.\{8\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.\{12\}\)$/\1-\2-\3-\4-\5/'` | |
} | |
function parse_ib_major { |
# Uncrustify 0.60 | |
# | |
# Qt specific options | |
# | |
set FOR foreach | |
set FOR forever | |
# | |
# General options |