Skip to content

Instantly share code, notes, and snippets.

@CennoxX
CennoxX / startup.lua
Last active August 22, 2025 10:03 — forked from patstew/startup.py
notepad++ startup.lua
local function indent_auto_detect()
for i = 0, editor.LineCount - 1 do
local pos = editor:PositionFromLine(i)
local indent = editor.LineIndentPosition[i] - pos
if indent > 0 then
if string.byte("\t") == editor.CharAt[pos] then
print("Indentation: Tabs")
editor.UseTabs = true
return
elseif indent == 2 or indent == 3 or indent == 4 or indent == 8 then
@CennoxX
CennoxX / termux-deno-setup.sh
Last active October 8, 2025 09:01 — forked from CodeIter/termux-pacman-glibc-setup.sh
Install deno on Termux by setting up glibc-runner with pacman
#!/usr/bin/env -S bash -xeuo pipefail
pkg update && pkg upgrade
pkg install which time ldd tree
set -xeuo pipefail
pkg install pacman patchelf which time ldd tree
echo
pacman-key --init
echo