Skip to content

Instantly share code, notes, and snippets.

View egin10's full-sized avatar
:octocat:
Work from home

Ginanjar S.B egin10

:octocat:
Work from home
View GitHub Profile
@etes
etes / pi_mount_usb.md
Last active February 3, 2026 19:09
How to setup mount / auto-mount USB Hard Drive on Raspberry Pi

How to setup mount / auto-mount USB Hard Drive on Raspberry Pi

Follow the simple steps in the order mentioned below to have your USB drive mounted on your Raspberry Pi every time you boot it.

These steps are required especially if your are setting up a Samba share, or a 24x7 torrent downloader, or alike where your Raspberry Pi must have your external storage already mounted and ready for access by the services / daemons.

Step 0. Plug in your USB HDD / Drive to Raspberry Pi If you are using a NTFS formatted drive, install the following

@corychainsman
corychainsman / Raspberry_Pi_Water_Sensor
Last active May 28, 2024 12:55
Raspberry Pi Water Sensor - Incredibly vague schematic here: http://fritzing.org/projects/raspberry-pi-water-sensor/
#!/usr/bin/python
#########
# About #
#########
# This script uses a Raspberry Pi to sense for the presense or absense of water.
# If there is water, an email is sent and a buzzer goes off.
# When it's dry again, another email is sent, and the buzzer turns off.

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: