Skip to content

Instantly share code, notes, and snippets.

View scudo005's full-sized avatar
🎯
Focusing

scudo scudo005

🎯
Focusing
View GitHub Profile
@scudo005
scudo005 / immich.service
Last active January 17, 2025 11:24
A SystemD unit to start your Immich server at boot
# Before doing anything, enable your Docker service via systemctl.
# You can now extract the Docker image anywhere you want.
# To start the server automatically, put this unit file in /etc/systemd/system, chmod 664 the unit file and run systemctl enable immich.service to enable the unit.
# If systemctl says it can't find the unit file, and you are sure it is in the correct path, it might be that SELinux is blocking the unit file from being read by SystemD.
# First of all, check if this is the case by running sealert -l "*"; if it reports that SystemD was prevented from reading the unit file, you can make an exception
# in the SELinux context by running restorecon -v /etc/systemd/system/immich.service.
[Unit]
Description=Immich server
Requires=docker.service
After=docker.service
@scudo005
scudo005 / hosts
Last active May 10, 2025 10:40
Anti telemetry (?) hosts file for Windows 10 21H2+
# IMPORTANT: copy and paste this file's content inside your existing hosts file. DO NOT REPLACE IT.
# The hosts file is in %WinDir%\System32\Drivers\etc\hosts.
# Also, do not do it blindly, you could cause disruption in your system if you don't know what you're doing.
# Uncomment only the lines you are 100% sure about.
# Domains taken from: https://learn.microsoft.com/en-us/windows/privacy/windows-endpoints-21h1-non-enterprise-editions
# "The following endpoints are used for the Weather app."
127.0.0.1 tile-service.weather.microsoft.com
# other tile services
127.0.0.1 spclient.wg.spotify.com