- 1-2 hours of your life
- build envirment for the Kernel
- device with Ubuntu and nvflash
- AC100
- mini-usb cabel
- usb-stick >512MB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Uncrustify 0.60 | |
# | |
# Qt specific options | |
# | |
set FOR foreach | |
set FOR forever | |
# | |
# General options |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 { |
Additional manual: https://ramsdenj.com/2016/08/29/arch-linux-on-the-surface-pro-4.html
Follow the instructions in disk partition windows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |