Skip to content

Instantly share code, notes, and snippets.

Avatar

Lizhang Xie LizhangX

  • Copart
  • Dallas, TX
View GitHub Profile
@LizhangX
LizhangX / rpi_omv5_backup_sd_steps.md
Last active May 11, 2020
My steps to worry-free/robust backup raspi 4 micro SD card with OMV5. (Using .img)
View rpi_omv5_backup_sd_steps.md

Description:

These are my steps to completely backup raspi 4 micro SD card without worrying about what is needed or what is not. In my opinion, it is more robust and Linux noob friendly. It will backup everything in the sd card for easy future restore with balenaEtcher to a new sd card. I choose this sd card -> Lexar high performance 633x microSDHC UHS-1 V10 A1 U1 from EC's video https://youtu.be/YUResed38uo for it's high iops which is great for SBCs.

Prerequisites:

Linux/Mac(either one), Windows machine, external hard drive/usb, new micro sd card.

Backup:

@LizhangX
LizhangX / React_form_example.jsx
Created Feb 26, 2018
React Form Example from React
View React_form_example.jsx
class FlavorForm extends React.Component {
constructor(props) {
super(props);
this.state = {value: 'coconut'};
this.handleChange = this.handleChange.bind(this);
this.handleSubmit = this.handleSubmit.bind(this);
}
handleChange(event) {
@LizhangX
LizhangX / testing.py
Created Oct 20, 2017
hello world gist
View testing.py
print "hello world"