Skip to content

Instantly share code, notes, and snippets.

View Deshdeepak1's full-sized avatar
:octocat:
Contributing in OSS.

Deshdeepak Deshdeepak1

:octocat:
Contributing in OSS.
View GitHub Profile
@Makeshift
Makeshift / tutorial.md
Last active May 6, 2025 15:51
Tutorial for automatically syncing an Obsidian vault with Git on an Android device

How to sync Obsidian with Git on Android

Limitations

  • If Termux is closed in the background by Android, the cron service will stop updating your repository and you must open Termux again. Refer to instructions for your device model to disable the killing of certain background applications.
  • This may negatively affect your devices battery life. I'm not entirely sure yet.

Setup

@kcubeterm
kcubeterm / Google-sdk-termux.md
Last active February 24, 2025 17:45
How to install google cloud sdk in termux and run cloud shell interactively.

Now Google cloud sdk support python3.9 as well. Lets start.

Without any surprise,use your copy-paste skills to fire following script into your innocent terminal.

pkg install python3 openssh
curl -o sdk.sh sdk.cloud.google.com
chmod +x sdk.sh
./sdk.sh --install-dir=$PREFIX
@hteumeuleu
hteumeuleu / mp4-to-jpg
Created June 30, 2017 13:30
Commands to generate a background sprite from an MP4 video (using ffmpeg and ImageMagick)
ffmpeg -i video.mp4 -r 1 img/frames_%04d.png
montage -tile 34x1 -geometry 640x960 *.png background.jpg
@vit1-irk
vit1-irk / termux-sbcl-binary.txt
Created July 6, 2016 09:37
Binary SBCL on Android (and Termux too)
Original: http://ii-net.tk/ii/ii-web.php?msgid=dv3z3xUssnrCkrxJSXY3
Quick installation of SBCL on Termux and some other Android systems
Does not require root access on your phone (only on PC)
Part 1 (desktop system)
====
# You can find these packages easily for your own distribution
sudo pacman -S qemu-static qemu-arch-extra-static binfmt-qemu-static