Git Commit Message
All Git Commit Messages MUST meet with this Text Format:
:emoji: Subject (Only One NewLine) Message Body (Only One NewLine) Ref <###>
|> via https://raspberrypi.stackexchange.com/questions/311/how-do-i-backup-my-raspberry-pi|
|With gzip, to save a substantial amount of space:|
|sudo dd if=/dev/rdiskx bs=1m | gzip > /Users/tmorrow/Documents/rpi0-arch.gz|
|And, to copy the image back onto the SD:|
|gzip -dc /path/to/backup.gz | sudo dd of=/dev/rdiskx bs=1m|
I recently had several days of extremely frustrating experiences with service workers. Here are a few things I've since learned which would have made my life much easier but which isn't particularly obvious from most of the blog posts and videos I've seen.
I'll add to this list over time – suggested additions welcome in the comments or via twitter.com/rich_harris.
Chrome 51 has some pretty wild behaviour related to
console.log in service workers. Canary doesn't, and it has a load of really good service worker related stuff in devtools.
To render a component:
electron server.js --html "<x-app></x-app>" --scripts ./entry-point
--html is the HTML that you want to render and
--scripts is the entry point that will be loaded prior to rendering the HTML. The entry point should contain all your component definitions that you need for the HTML to be rendered.
Arch Linux is both lightweight and highly customizable, and is the perfect distro for creating a kiosk using the low-powered RasPi 2. Full details about Arch Linux on the RasPi 2 can be found on the [Official Arch Linux ARM wiki] (https://archlinuxarm.org/platforms/armv7/broadcom/raspberry-pi-2).