Skip to content

Instantly share code, notes, and snippets.

View ochen1's full-sized avatar
๐Ÿ‘‹
Hello, world!

Oliver Chen ochen1

๐Ÿ‘‹
Hello, world!
View GitHub Profile
@ochen1
ochen1 / answerfile
Last active February 21, 2021 22:44 — forked from oofnikj/answerfile
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
@ochen1
ochen1 / litterbox
Created January 12, 2025 08:00 — forked from MineBartekSA/litterbox
LitterBox - A implementation of litterbox.catbox.moe API in bash
#!/bin/bash
#
# LitterBox v1.0 - Safe for filenames with spaces
# An implementation of litterbox.catbox.moe API in Bash
# Author: MineBartekSA (Original Script)
# Modified for safer filename handling
# Check if cURL is installed
if ! command -v curl &> /dev/null; then
echo -e "\e[91mcURL not found!\e[0m"