ziadoz/raspberry-pi-3-setup là dự án mã nguồn mở trên GitHub với 35 sao. My Raspberry Pi 3 setup instructions and notes
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
[Desktop Entry]
Version=1.0
Name=Kodi
GenericName=Media Center
Comment=Manage and view your media
Exec=kodi-standalone
Icon=kodi
Terminal=false
Type=Application
Categories=AudioVideo;Video;Player;TV;
Note: Update the lines above with your own NAS IP address, mount directory, username, UID and GID accordingly. For devices running older versions of Samba you may need to add ,vers=1.0 after ro or rw above.
Now run this to mount the NAS:
sudo mount -a
Create a handy symlink to the NAS on the desktop:
sudo ln -s /media/NAS ~/Desktop/NAS
Mount USB Drive
Find the UUID of the USB drive:
sudo blkid
ls -l /dev/disk/by-uuid/
The output should look something like the following. Note the UUID value:
Once you're happy it works you can add it to your user's crontab:
crontab -e
Add the following contents to it to run it every night at 1am:
SHELL=/bin/bash
0 1 * * * $HOME/Backups/backup.sh
You can add the --exclude option to exclude a specific pattern of files or directories, and the --delete-after option to ensure files deleted from the target are also removed from the destination.
You can see the last backup log by viewing the file contents:
cat ~/Logs/nas_backups_YYYY-MM-DD.txt
You can see what environment variables are available in the cron environment by adding the following to your crontab (you'll need to add whatver * * * * * you want):
env >> $HOME/Backups/cron_env.txt
You can also ensure any macOS hidden "dotfiles" are deleted by create a dotfiles.sh script:
# This rule is needed for basic functionality of the controller in
# Steam and keyboard/mouse emulation
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666"
# This rule is necessary for gamepad emulation; make sure you
# replace 'pgriffais' with the username of the user that runs Steam
KERNEL=="uinput", MODE="0660", GROUP="group", OPTIONS+="static_node=uinput"
Note: Replace group with the group of user (e.g. pi).
Now reload udev:
sudo udevadm control --reload
Start the driver and your controller should work:
sc-desktop.py start
To start the driver automatically at the desktop create the file:
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/ziadoz/raspberry-pi-3-setup là nguồn chính thức.
ziadoz/raspberry-pi-3-setup có bao nhiêu sao?
ziadoz/raspberry-pi-3-setup có 35 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/ziadoz/raspberry-pi-3-setup. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
ziadoz/raspberry-pi-3-setup có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho ziadoz/raspberry-pi-3-setup. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
ziadoz/raspberry-pi-3-setup có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho ziadoz/raspberry-pi-3-setup. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
ziadoz/raspberry-pi-3-setup là gì?
ziadoz/raspberry-pi-3-setup (ziadoz/raspberry-pi-3-setup) là dự án đa ngôn ngữ trên GitHub. Theo mô tả gốc: My Raspberry Pi 3 setup instructions and notes
Đọc đầy đủ README ở tab phía trên.
raspberry-pi-3-setup có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về raspberry-pi-3-setup.