Skip to content

Instantly share code, notes, and snippets.

@1kko
1kko / docker qemu with metaquest2.md
Last active April 15, 2025 15:03
Docker via QEMU & Controlling it from Ubuntu proot

Guide: Docker via QEMU & Controlling it from Ubuntu proot

Date: Tuesday, April 15, 2025 at 11:20 PM KST

This guide provides instructions for setting up and using Docker within Termux on an ARM64 device like the Meta Quest 2:

  1. Part 1: Running the Docker Daemon inside a lightweight x86_64 Alpine Linux Virtual Machine using QEMU, installed via ISO with an automated script.
  2. Part 2: Installing the Docker Client inside your existing ARM64 Ubuntu 24.04 proot environment and configuring it to control the Docker Daemon running in the QEMU VM.

Important Considerations:

@1kko
1kko / metaquest2_termux.md
Last active April 15, 2025 15:45
Guide: Ubuntu 24.04 + XFCE on Meta Quest 2 via Termux & VNC (with Tailscale & Firefox ESR)

Guide: Ubuntu 24.04 + XFCE on Meta Quest 2 via Termux & VNC (with Tailscale & Firefox ESR)

Date: Tuesday, April 15, 2025 at 10:20:59 PM KST

This guide details the steps to set up the Quest 2 host environment and then install Ubuntu (expected to be 24.04 LTS) with the XFCE4 desktop environment inside Termux on a Meta Quest 2 headset. Access to the graphical desktop is achieved using a VNC client connecting over a Tailscale secure network. It includes instructions for Firefox ESR and Korean language support.

Disclaimer:

  • Performance: Expect sluggish performance compared to a native PC setup. This runs via compatibility layers (proot) within Android. Firefox ESR, while stable, can still be demanding.
  • Usability: Interacting with a desktop UI in VR can be challenging. A Bluetooth keyboard and mouse connected to the Quest 2 are highly recommended.
  • Third-Party Software: This guide involves SideQuest and, optionally, APKPure. Use third-party sources and sideloading responsibly and at y
@1kko
1kko / repo.sh
Last active May 14, 2024 09:58
Bash - performs search of specific directory up to 2 depth and change directory into it
# This script performs search of specific directory up to 2 depth and change directory into it.
# This is helpful for cases like having many repositories and need to cd into it.
# Install
# 1. Install fzf(https://github.com/junegunn/fzf#related-projects). eg: sudo apt install fzf (
# 2. Copy this source and paste into paste into your: nano ~/.bashrc
# 3. Edit the srchDir variable for your environment
# 4. Save and start new session of terminal
# Usage
Hello World Lorem ipsum
@1kko
1kko / opendoor.json
Created December 16, 2019 13:50
testing json
{'status':'door is opened'}
@1kko
1kko / gist:40ca6dfc853099e6055e92a90bed937e
Last active April 12, 2024 17:32
JQuery Bugs Music List to Json - 벅스 뮤직 플레이리스트 내보내기
// Chrome 웹브라우저에서 벅스 로그인 후 목록보이는 상태에서 F12키를 누른후
// Console창에 아래 코드 복붙 후 엔터.
// 나오는 리스트는 http://www.playlist-converter.net/ 에 텍스트 붙여넣기 해서 원하는 음악사이트로 플레이리스트를 이동.
var output=[]
$('table.list.trackList > tbody > tr').each(function () {
title = $(this).find('th > p > a').attr('title');
// sometimes title is disabled due to the copyright issues. This case just get the text.
if (title === undefined) {
title = $(this).find('th > p').text().trim();