Skip to content

Instantly share code, notes, and snippets.

View tadaskay's full-sized avatar
🎧
Retrowave

Tadas Krivickas tadaskay

🎧
Retrowave
View GitHub Profile
@htruong
htruong / raspberry-pi-chroot-armv7-qemu.md
Last active June 18, 2023 18:00 — forked from jkullick/raspberry-pi-chroot-armv7-qemu.md
Chroot into Raspberry Pi ARMv7 Image with Qemu
# raspbian stretch lite on ubuntu

### You can write the raspbian image onto the sd card,
# boot the pi so it expands the fs, then plug back to your laptop/desktop
# and chroot to it with my script 
# https://gist.github.com/htruong/7df502fb60268eeee5bca21ef3e436eb
# sudo ./chroot-to-pi.sh /dev/sdb
# I found it to be much less of a pain in the ass and more reliable
# than doing the kpartx thing

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

Mac OS X Traffic Lights

Useful in Electron apps when the default title bar must be hidden. There are some slight issues with this rendering in browser, but it looks perfect inside Electron :)

A Pen by atdrago on CodePen.

License.

[user]
name = Dainius Vaznys
email = dainius.vaznys@4finance.com
[push]
default = current
[pretty]
condensed = "format:%C(green)%h %C(white dim)%cd %<|(40,trunc)%an %C(reset)%s"
[format]
pretty = condensed
[log]