Skip to content

Instantly share code, notes, and snippets.

View fabian-thomas's full-sized avatar
👋

Fabian Thomas fabian-thomas

👋
View GitHub Profile
@fabian-thomas
fabian-thomas / orgzly-sync.sh
Last active February 24, 2024 20:59
Orgzly auto syncronisation for sync tools like syncthing. See orgzly/orgzly-android#8.
#!/data/data/com.termux/files/usr/bin/bash
# https://github.com/orgzly/orgzly-android/issues/8
orgzly_sync() {
# if you are using orgzly-revived use the following instead:
# am broadcast -n com.orgzlyrevived/com.orgzly.android.ActionReceiver -a com.orgzly.intent.action.SYNC_START
am broadcast -n com.orgzly/com.orgzly.android.ActionReceiver -a com.orgzly.intent.action.SYNC_START
}
@adisbladis
adisbladis / env1-shell.nix
Created July 17, 2019 11:53
Merge multilple shell.nix files using mkShell
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = [
pkgs.hello
];
shellHook = ''
echo env1
'';