Skip to content

Instantly share code, notes, and snippets.

rxx /
Last active April 9, 2024 09:17
Fedora sync time
# Make sure services works
sudo timedatectl set-ntp true
sudo systemctl enable chronyd.service
sudo systemctl restart chronyd.service
# Check status
systemctl status chronyd.service
chronyc -n sources
grep -e ^server -e ^pool /etc/chrony.conf
rxx /
Created April 2, 2024 19:58 — forked from mohanpedala/
set -e, -u, -o, -x pipefail explanation
@import "modern-normalize";
:root {
line-height: 1.5;
h1, h2, h3, h4, h5, figure, p, ol, ul {
margin: 0;
rxx /
Last active March 24, 2024 18:38
Switch between AstroVim v4 and Kitty
rxx /
Last active April 17, 2020 11:20
Go modules and direnv
rxx /
Last active March 4, 2020 08:59 — forked from katychuang/
remove mongodb that was installed via brew
#!/usr/bin/env sh
# checks to see if running
launchctl list | grep mongo
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
launchctl remove homebrew.mxcl.mongodb-community
pkill -f mongod
rxx / .envrc
Created February 25, 2020 14:17
direnv envrc with shared .env and asdf itself
use asdf
set -a; . ./.env
rxx /
Last active February 13, 2020 09:04
System tips

Kill and restart gpg agent (Fish Shell)

pkill gpg-agent ; gpg-agent --daemon

Sign previous commit

git commit -S --amend