Skip to content

Instantly share code, notes, and snippets.

View 573's full-sized avatar

Daniel Kahlenberg 573

View GitHub Profile
@573
573 / android-set-ntp-server.md
Created March 15, 2024 20:47 — forked from xujiaao/android-set-ntp-server.md
Set the NTP server of your android device
tags
Android
Android Things

Set the NTP server of your android device

@573
573 / readme.md
Created March 15, 2024 13:27
nix tip: build custom WSL kernel NixOS-WSL usbip
@573
573 / readme.md
Last active March 15, 2024 08:50
nix tip: debug analyze analyse why depends on certain dependency path-info why-depends
@573
573 / readme.md
Created March 12, 2024 08:30
git tip: have a git repository separate from work tree to sync the former via syncthing and the latter via dropbox
@573
573 / readme.md
Last active March 8, 2024 20:56
git tip: remote upstream branch

See https://stackoverflow.com/a/37770744, I simply created a new branch (i. e. pushhere) using the guide using these two commands:

git checkout -b pushhere
git push --set-upstream origin pushhere -f
git fetch origin pushhere
git checkout pushhere
git branch --set-upstream-to origin/pushhere
@573
573 / readme.md
Last active February 29, 2024 14:59
glove80 moergo keyboard
@573
573 / readme.md
Created February 27, 2024 15:02
nix tip: use a mixin to inject config for certain user for an app
@573
573 / readme.md
Created February 24, 2024 22:07
unfree packages in nix*
@573
573 / readme.md
Created February 23, 2024 22:37
nix tip: check the derivation of custom module
 nix eval --raw .#nixOnDroidConfiguration
s.sams9.config.home-manager.config.custom.programs
.emacs-nano.finalPackage --impure

if error-free also approach building

 nix build .#nixOnDroidConfiguration
s.sams9.config.home-manager.config.custom.programs
@573
573 / readme.md
Last active February 21, 2024 16:07
nix tip: using two or more derivations of one and the same binary without collisions