Notities

From Projects - ronaldteune.nl
Jump to: navigation, search

f3read output for my broken SD card

./f3read /media/.....

                  SECTORS      ok/corrupted/changed/overwritten
Validating file 1.h2w ... 2097152/        0/      0/      0
Validating file 2.h2w ... 2097152/        0/      0/      0
Validating file 3.h2w ... 2097152/        0/      0/      0
Validating file 4.h2w ... 1622495/   474657/      0/      0
Validating file 5.h2w ...       0/  2097152/      0/      0
Validating file 6.h2w ...       0/  2097152/      0/      0
Validating file 7.h2w ...       0/  2097152/      0/      0
Validating file 8.h2w ...       0/  2097152/      0/      0
Validating file 9.h2w ...       0/  2097152/      0/      0
Validating file 10.h2w ...       0/  2097152/      0/      0

(...)

Find files newer than a certain date

http://stackoverflow.com/a/18705427/3049976

find /directory -newermt $(date +%Y-%m-%d -d '1 day ago') -type f -print

live tv

wget http://ida.omroep.nl/npoplayer/i.js?s=http://www.npo.nl/live/npo-2
(function(npoplayer){ npoplayer.token = "aa09u5i04o4qfjdtitc16i3394"; }(npoplayer));
wget "http://ida.omroep.nl/aapi/?callback=jQuery18308831475791569496_1428082441201&type=jsonp&stream=http://livestreams.omroep.nl/live/npo/tvlive/ned2/ned2.isml/ned2.m3u8&token=nmjd3vaqj50bpm1luno975pmm7&version=4.0"
jQuery18308831475791569496_1428082441201({"success":true,"stream":"http:\/\/livestreams.omroep.nl\/live\/npo\/tvlive\/ned2\/ned2.isml\/ned2.m3u8?hash=dece5d70e0a9a160e6ebc38d41bd704b&type=jsonp&protection=url"})
setSource("http:\/\/l2cmde7ca8fc9a00551ed257000000.e0e5ecb0e1884f37.kpnsmoote1a.npostreaming.nl\/d\/live\/npo\/tvlive\/ned2\/ned2.isml\/ned2.m3u8")


#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=279840,CODECS="mp4a.40.2,avc1.66.30",RESOLUTION=288x162
ned3-audio%3D64000-video%3D200000.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=665680,CODECS="mp4a.40.2,avc1.66.30",RESOLUTION=416x234
ned3-audio%3D128000-video%3D500000.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=877680,CODECS="mp4a.40.2,avc1.66.30",RESOLUTION=544x306
ned3-audio%3D128000-video%3D700000.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1089680,CODECS="mp4a.40.2,avc1.66.30",RESOLUTION=608x342
ned3-audio%3D128000-video%3D900000.m3u8


edit: sinds een tijdje moet er dit gebeuren met het token na ophalen (credits gaan naar 'Gerard')
"Het token heeft een lengte van 26 TEKENS. Alleen de eerste 2 CIJFERS van de MIDDELSTE 16 TEKENS van het token worden verwisseld.
Mocht er binnen die middelste 16 tekens helemaal GEEN of maar 1 CIJFER voorkomen dan worden simpelweg het 12e en 13e TEKEN verwisseld."

7805

http://www.ti.com/product/LM3485?keyMatch=lm3485&tisearch=Search-EN

http://hackaday.com/2015/05/13/hackaday-prize-entry-a-7805-replacement/

https://sochicken.nl/permacultuur