Skip to content

Instantly share code, notes, and snippets.

View TonPC64's full-sized avatar
:shipit:
Gopher

Chanwit Piromplad TonPC64

:shipit:
Gopher
View GitHub Profile
@nabilfreeman
nabilfreeman / minimal-android-emulator-macos.md
Last active October 16, 2026 15:17
Minimal Android Emulator Setup for macOS - No Android Studio Required (Perfect for Expo & React Native)

Minimal Android Emulator Setup for macOS (No Android Studio Required)

The Problem: You Just Want an Emulator

If you're a React Native or Expo developer, you've probably experienced this frustration: you just want to test your app on an Android emulator, but every guide tells you to install the massive Android Studio IDE. Suddenly you're downloading gigabytes of tools you'll never use, your shell is polluted with Java paths and Android environment variables, and your pristine development setup feels bloated.

You don't want to become an Android developer. You just want to see your cross-platform app running on an Android device.

Maybe you're like me:

  • You use Expo with EAS Build for all your native builds
@bouroo
bouroo / thai-id-card.go
Last active January 7, 2026 06:50
Thai National ID Card reader in GO
package main
import (
"bytes"
"context"
"errors"
"fmt"
"io"
"log"
"os"
@alvaropinot
alvaropinot / map-to-object.js
Created October 3, 2017 17:58
"FUNctional" 😜 Map πŸ—Ί to object πŸ”‘
const obj = { a: 1, c: 3, b: 2 }
// Map from object.
const myMap = new Map(Object.entries(obj))
// Map to Object.
// NOTE: Keys will be cast to strings by `.toString`, so any "complex" key like for example `[1, 2]` will become `1,2`
const newObj = [...myMap.entries()]
.reduce((acc, [key, value]) => (Object.assign(acc, { [key]: value })), {})
@parmentf
parmentf / GitCommitEmoji.md
Last active November 12, 2026 10:56
Git Commit message Emoji

Inspired by dannyfritz/commit-message-emoji

See also gitmoji.

Commit type Emoji
Initial commit πŸŽ‰ :tada:
Version tag πŸ”– :bookmark:
New feature ✨ :sparkles:
Bugfix πŸ› :bug: