Skip to content

Instantly share code, notes, and snippets.

View SiKing's full-sized avatar
🍻
still drinking

SiKing

🍻
still drinking
View GitHub Profile
@SiKing
SiKing / 01-write_image_to_card.sh
Last active January 18, 2017 00:55
Burn the Raspbian OS image to an SD card.
#!/bin/bash -e
#
# Goal:
# Burn the Raspbian OS image to an SD card.
#
# Prerequisites:
# 1. Download image from https://www.raspberrypi.org/downloads/raspbian/.
# 2. Unzip the image.
# 3. Set the following variables:
#