Skip to content

Instantly share code, notes, and snippets.

View felix-kyun's full-sized avatar
✌️
¯\_(ツ)_/¯

Praise Jacob felix-kyun

✌️
¯\_(ツ)_/¯
  • India
  • 09:04 (UTC +05:30)
View GitHub Profile
@felix-kyun
felix-kyun / lcrypt.lua
Created September 5, 2022 18:25
a minimal and fast lua based text encrypter
#! /usr/bin/env lua
--[[ made by 0×FELIX ]]
local function show_help()
io.write [[
lcrypt - v0.0.1-alpha
a fast lua based text encrypter
@felix-kyun
felix-kyun / termux_charge_limit
Created May 9, 2022 19:12
battery charge limiter for termux, NEEDS ROOT!
#! /usr/bin/env bash
# TODO: add a light weight loader
MIN=70
MAX=85
CONTROL_FIlE=/sys/class/power_supply/battery/charging_enabled
REFRESH_INTERVAL=60
BIN=termux-battery-info
@felix-kyun
felix-kyun / dl.sh
Last active May 4, 2022 12:51
simple script to downlad music using yt-dl
#!/bin/bash
# usage
# dl.sh link sub-directory(optional)
# by default it uses yt-dlp change the $BIN to change it.
# script stores cache in .cache dir
# and keeps a archive just to prevent duplicate downloads
# archive is located in Music directory named ".download.txt"
# it also downloads thumbnails by default