Skip to content

Instantly share code, notes, and snippets.

View omargtdev's full-sized avatar
👁️
An awesome developer

Omar Gutierrez Tafur omargtdev

👁️
An awesome developer
View GitHub Profile
@strobelt
strobelt / install_neovim.sh
Last active December 12, 2024 00:21
Install latest NeoVim in Debian
# Download latest neovim release from GitHub releases and pipe it to tar to extract it to /usr
curl -sL https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz \
| sudo tar -xzf - --strip-components=1 --overwrite -C /usr
@oprypin
oprypin / instructions.md
Last active January 29, 2025 05:35
systemd user unit + timer example

Save these files as ~/.config/systemd/user/some-service-name.*

Run this now and after any modifications: systemctl --user daemon-reload

Try out the service (oneshot): systemctl --user start some-service-name

Check logs if something is wrong: journalctl -u --user-unit some-service-name

Start the timer after this user logs in: systemctl --user enable --now some-service-name.timer