Skip to content

Instantly share code, notes, and snippets.

View Gy-Hu's full-sized avatar
:shipit:
Coding

Guangyu (Gary) HU Gy-Hu

:shipit:
Coding
View GitHub Profile
@Gy-Hu
Gy-Hu / pet.json
Last active February 6, 2023 09:08
vscode pet
[
{
"color": "gray",
"type": "cockatiel",
"size": "nano",
"name": "Pipsqueak"
},
{
"color": "green",
"type": "snake",
@Gy-Hu
Gy-Hu / qemu_osx_rpi_raspbian_jessie.sh
Created October 8, 2019 09:37 — forked from hfreire/qemu_osx_rpi_raspbian_jessie.sh
How to emulate a Raspberry Pi (Raspbian Jessie) on Mac OSX (El Capitan)
# Install QEMU OSX port with ARM support
sudo port install qemu +target_arm
export QEMU=$(which qemu-system-arm)
# Dowload kernel and export location
curl -OL \
https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/kernel-qemu-4.1.7-jessie
export RPI_KERNEL=./kernel-qemu-4.1.7-jessie
# Download filesystem and export location