Skip to content

Instantly share code, notes, and snippets.

View iSnakeBuzz's full-sized avatar
🎯
Focusing

Martín iSnakeBuzz

🎯
Focusing
View GitHub Profile
@iSnakeBuzz
iSnakeBuzz / withDisableForcedDarkModeAndroid.js
Created May 15, 2024 00:00 — forked from hirbod/withDisableForcedDarkModeAndroid.js
Expo Config Plugin to disable forced Dark mode.
// disable forced dark mode to prevent weird color changes on
// certain android devices (Xiaomi MIUI and others enforcing dark mode with view analyzing)
// create a file like "plugins/withDisableForcedDarkModeAndroid.js". Insert this content and edit your app.config.js/app.json
/*
"expo": {
...
...
...
"plugins": [
@iSnakeBuzz
iSnakeBuzz / generator.go
Created July 25, 2023 21:40
MongoDB Like Unique ID Generator
package main
import (
"crypto/rand"
"encoding/binary"
"fmt"
"time"
)
type ObjectId [12]byte