Skip to content

Instantly share code, notes, and snippets.

View LizhangX's full-sized avatar

Lizhang Xie LizhangX

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

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 February 26, 2018 04:26
React Form Example from React
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 October 20, 2017 21:17
hello world gist
print "hello world"