Skip to content

Instantly share code, notes, and snippets.

View RichNSD's full-sized avatar
🙂
Who needs to sleep when you can get error codes.

Richard Joubert RichNSD

🙂
Who needs to sleep when you can get error codes.
View GitHub Profile
@andypiper
andypiper / ish-apks.txt
Last active December 12, 2024 12:53
Setup iSH / Alpine Linux on iPad
# edit the login message
vi /etc/motd
# switch to usable repos - iSH defaults often failed with EOF errors
echo https://dl-cdn.alpinelinux.org/alpine/v3.13/main > /etc/apk/repositories
echo https://dl-cdn.alpinelinux.org/alpine/v3.13/community >> /etc/apk/repositories
# install some basics
apk add zsh bash
apk add sed attr dialog dialog-doc bash bash-doc bash-completion grep grep-doc
@twolfson
twolfson / .gitignore
Last active June 23, 2024 11:39
Proof of concept for creating .ico files in JS
node_modules/
@neatshell
neatshell / myscript
Last active May 31, 2024 14:19
simple bash template that handles mandatory and optional arguments
#!/bin/bash
script="myscript"
#Declare the number of mandatory args
margs=2
# Common functions - BEGIN
function example {
echo -e "example: $script -m0 VAL -m1 VAL -o1 -o2 VAL"
}
@alienlebarge
alienlebarge / Parse Start and Due Dates.applescript
Last active April 9, 2023 02:55
Parse start and due date for TaskPaper
property dueTag : "due"
property startTag : "start"
property repeatTag : "repeat"
property todayTag : "today"
property pastDueTag : "overdue"
property upcomingTag : "upcoming"
property doneTag : "done"
property inProgressTag : "inprogress"
property errorTag : "error"
property removeTags : {upcomingTag, todayTag, pastDueTag, inProgressTag}