From eb8563ac702c134b959b86a51a0ab8b286e0bfe0 Mon Sep 17 00:00:00 2001 From: eiryu Date: Mon, 6 Jun 2022 19:17:20 +0900 Subject: [PATCH] Fix typo and grammar --- RASPBIAN.md | 4 ++-- README.md | 22 +++++++++++----------- SNAPSHOTS.md | 2 +- ansible/roles/runit/README | 2 +- api/json.go | 2 +- camera_control.go | 2 +- cmd/hkcam/main.go | 2 +- ffmpeg/README.md | 6 +++--- ffmpeg/ffmpeg.go | 4 ++-- ffmpeg/loopback.go | 2 +- ffmpeg/stream.go | 2 +- html/update.go | 12 ++++++------ setup.go | 4 ++-- take_snapshot.go | 2 +- 14 files changed, 34 insertions(+), 34 deletions(-) diff --git a/RASPBIAN.md b/RASPBIAN.md index 678d61a..75a0d0a 100644 --- a/RASPBIAN.md +++ b/RASPBIAN.md @@ -110,7 +110,7 @@ e2fsck -f /dev/sda2 resize2fs -M /dev/sda2 #> The filesystem on /dev/sda2 is now 504923 (4k) blocks long. # Remember the block size (4k) and count (504923) -# Now shrink the parition to 504923 * 4k = 2019692k +# Now shrink the partition to 504923 * 4k = 2019692k # https://askubuntu.com/questions/780284/shrinking-ext4-partition-on-command-line fdisk /dev/sda # 1. Delete partition 2 @@ -119,7 +119,7 @@ d # - same START sector # - new END sector +2019692K (note '+' and uppercase 'K') n -# 3. Check parition table +# 3. Check partition table p # 3. Commit changes w diff --git a/README.md b/README.md index e35d782..be0e5c4 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,7 @@ Once the command finishes, your camera can be added to HomeKit. ## Multistream Normally in HomeKit a camera stream can only be viewed by one device at a time. -If a second device wants to to view the stream, the Apple Home app shows +If a second device wants to view the stream, the Apple Home app shows > **Camera Not Available** > Wait until someone else in this home stops viewing this camera and try again. @@ -189,7 +189,7 @@ The web interface shows the recent snapshot and lets you install updates. ## Raspberry Pi Zero W -I do get kernel panics when running hkcam with a ELP 1080P USB camera. +I do get kernel panics when running hkcam with an ELP 1080P USB camera. Updating `/boot/config.txt` with the following changes resolve those kernel panics. ``` @@ -203,11 +203,11 @@ arm_freq_min=700 Desk mount Wall mount -I've also designed an enclsoure for the Raspberry Pi Zero W and standard camera module. +I've also designed an enclosure for the Raspberry Pi Zero W and standard camera module. You can use a stand to put the camera on a desk, or combine it with brackets of the [Articulating Raspberry Pi Camera Mount](https://www.prusaprinters.org/prints/3407-articulating-raspberry-pi-camera-mount-for-prusa-m) to mount it on a wall. The 3D-printed parts are available as STL files [here](https://github.com/brutella/hkcam/tree/master/enclosure). -This enclosure is not waterproof and should not be used outside. Instead you should use an [ELP 1080P camera](https://de.aliexpress.com/item/4000562253329.html) and connect it via USB to a Raspberry Pi. +This enclosure is not waterproof and should not be used outside. Instead, you should use an [ELP 1080P camera](https://de.aliexpress.com/item/4000562253329.html) and connect it via USB to a Raspberry Pi.