Skip to content

Instantly share code, notes, and snippets.

View lemon-mint's full-sized avatar
🫠
Predicting Next Tokens

lemon-mint

🫠
Predicting Next Tokens
View GitHub Profile
@FreddieOliveira
FreddieOliveira / docker.md
Last active May 22, 2024 08:19
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@seia-soto
seia-soto / alpinelinux-mirror.sh
Last active January 28, 2021 01:16
mirror.seia.io
#!/usr/bin/env sh
echo -e "[$(date)] - <alpinelinux> sync is about to start" >> /_seia/projects/mirror/log
# make sure we never run 2 rsync at the same time
lockfile="/tmp/alpine-mirror.lock"
if [ -z "$flock" ] ; then
exec env flock=1 flock -n $lockfile "$0" "$@"
echo -e "[$(date)] - <alpinelinux> stopped the sync because there is lockfile" >> /_seia/projects/mirror/log
fi
@Gumball12
Gumball12 / _worth-reading.md
Last active July 30, 2023 14:42
나를 위해 저장하는 읽어볼 만한 글들 모음
use std::thread;
use std::sync::mpsc;
use std::sync::Arc;
use std::sync::Mutex;
enum Message {
NewJob(Job),
Terminate,
}