Skip to content

Instantly share code, notes, and snippets.

View unstabler's full-sized avatar
🧀
cheese rulez!

Gyuhwan Park★ unstabler

🧀
cheese rulez!
View GitHub Profile
@Dalgona
Dalgona / rem1_escaped.txt
Last active June 23, 2017 01:04
ZERO KARA!!!
\x1b[48;5;216m \x1b[48;5;223m\x1b[38;5;216m▄▄ \x1b[48;5;216m\x1b[38;5;223m▄ \x1b[48;5;222m\x1b[38;5;216m▄\x1b[48;5;228m\x1b[38;5;222m▄ \x1b[48;5;229m\x1b[38;5;228m▄\x1b[38;5;186m▄▄▄\x1b[48;5;186m\x1b[38;5;144m▄\x1b[48;5;101m\x1b[38;5;242m▄\x1b[48;5;110m\x1b[38;5;153m▄\x1b[48;5;153m \x1b[38;5;110m▄ \x1b[38;5;110m▄\x1b[48;5;195m\x1b[38;5;153m▄\x1b[48;5;110m\x1b[38;5;153m▄\x1b[48;5;241m\x1b[38;5;243m▄\x1b[48;5;102m \x1b[48;5;244m\x1b[38;5;243m▄\x1b[48;5;242m\x1b[38;5;241m▄\x1b[48;5;240m\x1b[38;5;241m▄\x1b[48;5;241m\x1b[38;5;102m▄\x1b[48;5;246m\x1b[38;5;242m▄\x1b[48;5;153m\x1b[38;5;110m▄\x1b[48;5;244m\x1b[38;5;110m▄\x1b[48;5;101m\x1b[38;5;241m▄\x1b[48;5;185m\x1b[38;5;144m▄\x1b[48;5;228m \x1b[38;5;222m▄\x1b[48;5;222m\x1b[38;5;223m▄▄\x1b[48;5;223m \x1b[38;5;216m▄\x1b[48;5;216m \x1b[0m
\x1b[48;5;216m \x1b[48;5;223m\x1b[38;5;216m▄▄ \x1b[48;5;216m\x1b[38;5;223m▄▄ \x1b[48;5;222m\x1b[38;5;216m▄\x1b[48;5;228m\x1b[38;5;222m▄▄ \x1b[48;5;186m\x1b[38;5;144m▄
@xnuk
xnuk / hyeong.md
Last active June 29, 2025 16:39
난해한 혀엉.... 언어

난해한 혀엉... 언어 v0.4.5

  • (U+2026), (U+22EF), (U+22EE)는 모두 .(U+002E)가 3번 연속으로 나열된 것과 같은 것으로 봅니다.
  • "한글 음절 문자"는 가(U+AC00) 이상 힣(U+D7A3) 이하의 유니코드 문자들을 의미합니다.

스택

@esetomo
esetomo / .env.production
Created April 29, 2017 16:52
MastodonでConoHaさんのオブジェクトストレージを使う設定
SWIFT_ENABLED=true
SWIFT_USERNAME=gncuなんとか
SWIFT_TENANT=gnctなんとか
SWIFT_PASSWORD=[APIパスワード]
SWIFT_AUTH_URL=https://identity.tyo1.conoha.io/v2.0/tokens
SWIFT_CONTAINER=mayodon
SWIFT_OBJECT_URL=https://media.s-tomo.jp/mayodon
@TheComputerGuy96
TheComputerGuy96 / lpmorplaylpm
Created April 30, 2017 16:55
Modified /system/bin/lpm and /system/bin/playlpm file to boot a Samsung device into Android if charger is inserted
#!/system/bin/sh
# Run "chmod 755 /system/bin/playlpm; chown 0:2000 /system/bin/playlpm || chmod 0:2000 /system/bin/lpm; chown 0:2000 /system/bin/lpm" with root access after creating this file
/system/bin/reboot
@thenaterhood
thenaterhood / Read-only FS on Raspberry Pi.md
Last active May 1, 2025 22:45 — forked from yeokm1/Read-only FS on Arch Linux ARM.md
Set up a raspberry pi with ArchLinux or Raspbian with a Read-only root filesystem

Read-only FS on Raspberry Pi

Most embedded devices use a read-only root filesystem. This can make them more resilient to unexpected shutdowns that could otherwise cause data corruption. Depending on your application, you might consider your Pi to be an embedded system. This can also help with some issues that can come from SD card unreliability.

Full instructions and explanations are obtained from this link but you can run these commands directly. I modified some of the instructions for personal convenience.

Login with default username and password: (ArchLinux Arm: alarm, alarm, Raspbian: pi, raspberry)

Optionally enable root over SSH. The rest of these instructions assume you are in root.

nano /etc/ssh/sshd_config

@mosquito
mosquito / README.md
Last active June 22, 2025 08:16
Add doker-compose as a systemd unit

Docker compose as a systemd unit

Create file /etc/systemd/system/[email protected]. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin, you should use paths specific for your environment.

[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service
@momoseijin
momoseijin / Using S3 on Mastodon
Last active November 11, 2023 06:42
Using S3 on Mastodon
S3_ENABLED=true
S3_BUCKET=media.yourdomain.com ← 自分の作ったバケット名(mediaなどをつけてエイリアスを使う場合はOptionalも設定する)
AWS_ACCESS_KEY_ID=ABCDEFGHIJKLMNOPQRST ← 設定されたアクセスキー
AWS_SECRET_ACCESS_KEY=ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcd ← 設定されたシークレットキー
S3_REGION=ap-northeast-1 ← 東京リージョンならこれ
S3_PROTOCOL=https
S3_ENDPOINT=https://s3-ap-northeast-1.amazonaws.com ← 東京リージョンならこれ
# Optional alias for S3 (e.g. to serve files on a custom domain, possibly using Cloudfront or Cloudflare)
S3_CLOUDFRONT_HOST=media.yourdomain.com ←ここに自分の設定した S3Bucket と Cloudflare で合わせた CNAME 入れる
@RebelLion420
RebelLion420 / TermuxArchSetup2024.md
Last active April 29, 2025 13:35
How to set up Arch Linux in Termux on Android

NOTICE: This will take up about 3 GB of space on your device, before syncing any repos or projects.

Install Termux from the Play Store and launch it

Once it finishes unpacking:

pkg update

pkg upgrade -y

@gokart23
gokart23 / run-arm-chroot-on-x86.md
Last active May 14, 2025 23:04
Run ARM chroot on x86 machine (both ArchLinux)

Steps

  1. Install qemu-user-static (yay -S qemu-user-static).
    • This might need you to install pcre-static and update PGP keys (follow the tips in the comments here).
  2. If not already present, install systemd-binfmt, the revamped version of binfmt-support tools
    • Your system has to support transparent Qemu user emulation, but fortunately, that is mostly enabled once the steps here have been followed.
  3. Check the status of the systemd-binfmt unit (systemctl status systemd-binfmt) and (re)start if needed (sudo systemctl restart systemd-binfmt)
    • This unit has ARM support by default, but check the current documentation to make install it if needed
  4. Mount the root partition of the ARM system into a folder (for e.g., sudo mount /dev/sdb2 arm_mountpoint)
  5. Copy the QEMU ARM static binary (/usr/bin/qemu-arm-static on my distro) to the mounted root directory's usr/bin
@css459
css459 / arch-linux-devterm-a06.md
Created January 22, 2022 21:23
Installing Arch Linux on ClockworkPi DevTerm A06 (WIP)

Installing Arch Linux on ClockworkPi DevTerm A06

Cole Smith

January 22, 2022

Introduction

This document will walk you through installing Arch Linux ARM on the DevTerm A06. At the time of writing, only Armbian is supported on the DevTerm.