Skip to content

Instantly share code, notes, and snippets.

View okineadev's full-sized avatar
🥝

Okinea Dev okineadev

🥝
View GitHub Profile

If it's so easy to guess a uuid, here you go

I ran crypto.randomUUID() twice on my machine.

The first ID was 15041508-fd38-4eda-bc1d-7b74e4738cd9

The second? That's your challenge.

I encrypted a text file with the following command:

@CodeIter
CodeIter / termux-pacman-glibc-setup.sh
Last active March 22, 2025 19:20
Setup `glibc-runner` with pacman on Termux and install Deno.JS and Bun.JS .
#!/usr/bin/env -S bash -xeuo pipefail
set -xeuo pipefail
pkg install pacman patchelf \
which time ldd tree
echo
echo
@okineadev
okineadev / free_macos_machine_for_testing.md
Created May 9, 2024 08:31
How to get a free macOS machine for testing?

How to get a free macOS machine for testing?

If you have an application that you want to test on different architectures and operating systems (including macOS) - then you can use the runners that GitHub provides for free for open source projects

First of all, remember these simple rules:

  • Don't abuse virtual machines
  • Do not use them for illegal purposes and for DDoS attacks

I found a way to disable Google Discover completely on miui home screen (like on previous versions, disables the swipe left).

adb shell settings put system open_personal_assistant 0

or you can type as root on any terminal

settings put system open_personal_assistant 0

to disable Swipe up to search in the home screen

@eggplants
eggplants / refresh_cache_on_camo.sh
Created September 3, 2023 01:39
How to remove all cache of camo image icons in GitHub images
#!/usr/bin/env bash
curl -s https://github.com/... | grep -oE 'https://camo[^"]+' | while read i;do curl -X PURGE "$i";echo;done
@doeslater
doeslater / remove_mi_bloatware.txt
Last active December 21, 2023 14:23
Xiaomi MIUI bloatware
# ADB commands
## List users
adb shell pm list users
replace number with user number from previous command.
adb shell pm uninstall -k --user 10 com.mipay.wallet.in
adb shell pm uninstall -k --user 10 com.android.thememanager
adb shell pm uninstall -k --user 10 com.mi.globalbrowser
adb shell pm uninstall -k --user 10 com.mi.android.global.minusscreen
adb shell pm uninstall -k --user 10 com.android.thememanager
@bashbunni
bashbunni / .zshrc
Created October 27, 2022 21:41
CLI Pomodoro for Mac
# I'll be doing another one for Linux, but this one will give you
# a pop up notification and sound alert (using the built-in sounds for macOS)
# Requires https://github.com/caarlos0/timer to be installed
# Mac setup for pomo
alias work="timer 60m && terminal-notifier -message 'Pomodoro'\
-title 'Work Timer is up! Take a Break 😊'\
-appIcon '~/Pictures/pumpkin.png'\
-sound Crystal"
@mh0w
mh0w / tqdm and trange.py
Last active October 4, 2024 17:16
tqdm and trange
from tqdm import tqdm, trange
import time # used in this example to delay progress
# Initiate 0-100 progress bar, start at 15, with format shown below
# One bar will be shown and updated
# Will display one 0-100 progress bar, showing just percentage and the bar
pbar = tqdm(total=100, initial=15, bar_format='Loading: {percentage:3.0f}%|{bar:10}')
# Loading: 15%|█▌
time.sleep(2)
@huytd
huytd / wordle.md
Last active April 1, 2025 00:28
Wordle in less than 50 lines of Bash

image

How to use:

./wordle.sh

Or try the unlimit mode:

@ArtMan-8
ArtMan-8 / Github-actions.md
Last active November 21, 2023 17:31
Базовая настройка github actions для запуска тестов и автоматической сборки проекта на gh-pages

Настройка github actions для тестов и сборки на gh-pages

Прежде всего нужно создать ключ для доступа к репозиториям. Один ключ можно использовать для разных репозиториев. Для этого идём в github, в настройки разработчика, и переходим к персональным токенам и жмём сюда для генерации ключа.


При генерации ключа отмечаем поля repo, workflow, user, даём название и копируем сам ключ.