Based on:
- I assume that
/dev/nvme0n1is the system's disk, and/dev/sdais USB drive.
Based on:
/dev/nvme0n1 is the system's disk, and /dev/sda is USB drive.| #!/bin/bash | |
| # compiled from https://docs.docker.com/engine/installation/linux/debian/#/debian-jessie-80-64-bit | |
| sudo apt-get update | |
| sudo apt-get dist-upgrade -y | |
| sudo apt-get install apt-transport-https ca-certificates -y | |
| sudo sh -c "echo deb https://apt.dockerproject.org/repo debian-jessie main > /etc/apt/sources.list.d/docker.list" | |
| sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D |
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "io/ioutil" | |
| ) | |
| /* | |
| sample json |
| while { | |
| let x = foo(); | |
| bar(x); | |
| x != 0 | |
| } {} | |