Skip to content

Instantly share code, notes, and snippets.

View mnabila's full-sized avatar
🏡
Working from home

M. Nabil Adani mnabila

🏡
Working from home
View GitHub Profile
@mnabila
mnabila / main.go
Created January 30, 2024 02:57
zerolog output to different file by level error
package main
import (
"fmt"
"io"
"os"
"time"
"github.com/rs/zerolog"
)
@mnabila
mnabila / JetBrains trial reset.md
Created February 28, 2024 08:17
Reset all JetBrains products trial in Linux

In some cases, only these lines will work

for product in IntelliJIdea WebStorm DataGrip PhpStorm CLion PyCharm GoLand RubyMine; do
    rm -rf ~/.config/$product*/eval 2> /dev/null
    rm -rf ~/.config/JetBrains/$product*/eval 2> /dev/null
done

But if not, try these

@mnabila
mnabila / redroid_android_13.sh
Last active August 29, 2025 18:40
create docker container for redroid
#/bin/env bash
docker volume create redroid_data
docker create --name android13 --privileged -v redroid_data:/data -p 5555:5555 \
redroid/redroid:13.0.0-latest \
androidboot.redroid_width=1080 \
androidboot.redroid_height=1920 \
androidboot.redroid_dpi=441 \
androidboot.use_memfd=true \
ro.dalvik.vm.native.bridge=libhoudini.so