Skip to content

Instantly share code, notes, and snippets.

View siduck's full-sized avatar
☝️
Indeed with hardship comes ease

Sidhanth Rathod siduck

☝️
Indeed with hardship comes ease
View GitHub Profile
@siduck
siduck / tutorial.md
Last active July 27, 2024 10:40
Chroot any distro which has rootfs file on android + termux ( aarch64 )

In this guide artix linux will be used as an example :

First install termux-x11 apk file.

pkg install termux-x11-nightly
  • Flash busybox magisk module and reboot
  • Flash charch magisk modules and reboot
@siduck
siduck / base46.md
Last active September 7, 2024 14:28
vim.g.base46_cache = vim.fn.stdpath('data') .. '/base46_cache/'
  • Make sure to read nvconfig to know default options
  • lua/chadrc.lua file must return a table which follows the structure of nvconfig.
---@type ChadrcConfig
local M = {}
@siduck
siduck / migrate.sh
Last active September 11, 2024 11:18
Migrate from v2.0 to v2.5 ( Unix Only )
#!/bin/bash
# Run the script from home dir
cd ~
nvim_config="$HOME/.config/nvim"
nvim_data="$HOME/.local/share/nvim"
cp -r "$nvim_config" nvim_bak # backup nvim dir
cp -r "$nvim_config/lua/custom" .