Look into this: http://www.htpcguides.com/raspberry-pi-2-home-media-server-installer-image/
https://www.raspberrypi.org/documentation/installation/installing-images/
- Download image (Jesse lite) (https://www.raspberrypi.org/downloads/raspbian/)
| package main | |
| import ( | |
| "crypto/sha1" | |
| "encoding/hex" | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "path/filepath" | |
| "strconv" |
jq is a lightweight and flexible command-line JSON processor.
The examples that I'm placing here are to help remind me how to do some parsing.
echo -e '["foo","bar"]\n["foo","fizz","buzz"]' | jq -c -s 'map(.[])'