Skip to content

Instantly share code, notes, and snippets.

View aegiap's full-sized avatar
💭
computering...

aegiap aegiap

💭
computering...
View GitHub Profile
@aegiap
aegiap / hb_all_books_dl.js
Created November 9, 2018 12:24 — forked from fsteffek/hb_all_books_dl.js
Humble bundle book bundles - download all books and md5sums
/*
After purchasing a humble book bundle, go to your download page for that bundle.
Open a console window for the page and paste in the below javascript
*/
function getTitle() {
var re = /^Humble\ Book\ Bundle\:\ (.*)\ \(/g;
return re.exec(document.title)[1];
}
@aegiap
aegiap / gist:cbd00fe5542412faa38848676c9a4ba7
Created April 11, 2018 21:36 — forked from Grogdor/gist:27691c45bab78617e875fd53ca2d094c
NanoPi Neo running armbian debian with ntp serial uart GPS gpio PPS from u-blox NEO-6M (GY-NEO6MV2)
Linux nanopineo 4.14.15-sunxi #28 SMP Mon Jan 29 07:24:48 CET 2018 armv7l GNU/Linux
Order "GY-NEO6MV2" GPS module from Aliexpress for $4
Add uart1 and pps-gpio fdt overlays, assign PPS pin
per https://docs.armbian.com/User-Guide_Allwinner_overlays/
Using a GPIO pin instead of a uart control pin because this
armbian kernel already has CONFIG_PPS_CLIENT_GPIO=m instead
of LDISC and not even sure it would work on a CTS pin anyway.
switch ntp for ntpsec (because ?? security, support, logging features, find that accuracy/feature comparison chart again)
use gpsd from git head, armbian/debian package is several versions/features behind
gpsd -r; missing from pkg version, probably a bad idea anyway since the neo6m rtc/batt is likely for fix/ephemeris and gps will send 1969 without sat lock
gpsd -G; not working to bind * instead of localhost, try in newer version -- need this for u-center access remotely from Windows
https://www.u-blox.com/sites/default/files/products/documents/u-blox6_ReceiverDescrProtSpec_%28GPS.G6-SW-10018%29_Public.pdf
per page 39 disable SBAS, other timepulse/timing tips
see if 'static' mode available on 6m or only T versions
chronodot ds3231 rtc tcxo with battery for initial time / no fix / no network situations