57 karma · joined April 5, 2010
I have a raspberry pi with a USB drive attached. The OS is ubuntu, so I can use ZFS. The drive is backed up to backblaze S3 using restic in a cron job. The backup and ZFS health is monitored with healthchecks.io
The data sync across all the devices including the raspberry pi is done using resilio sync.
I view my photos when I am home using an app written by myself: photograf (https://github.com/ptek/photograf) It runs on the same raspberry.
When having a call after another, and trying to be efficient during the day, there is just less time to be creative…
What I have been doing by hand for some time is putting code for different customers in different directories and having a conditional in `~/.gitconfig` to determine what config applies there:
[includeIf "gitdir:~/projects-private/**"]
path = ./.gitconfig-private
[includeIf "gitdir:~/projects-client/**"]
path = ./.gitconfig-work
Then in .gitconfig-private or .gitconfig-work I have all the usual gitconfig settings that apply, for example the [user] section...Switching to the right directory thus automatically changes the settings.
And for python there is a nice Article on CodingHorror: http://j.mp/aCxlI3 Hope it's useful :)