Skip to content

Instantly share code, notes, and snippets.

View oyi77's full-sized avatar
🎯
Focusing

Paijo oyi77

🎯
Focusing
View GitHub Profile
@oyi77
oyi77 / how_to_make_windows_bootable_from_mac.md
Last active August 9, 2025 11:30
How to make Windows Bootable from Mac OS!

Create a Bootable Windows USB on macOS (Full Guide)

This guide shows how to use jaran.sh to prepare a USB installer for Windows on macOS. It covers prerequisites, safety checks, how the script works, customization, and troubleshooting.

Why use this script?

Creating a Windows USB on macOS often fails when install.wim exceeds 4 GB, because FAT32 doesn’t support files that large. This script automatically splits the WIM into .swm parts using wimlib-imagex, while handling modern macOS quirks (read-only FAT32 mounts, Homebrew install, etc.).

Prerequisites

  • macOS (Intel or Apple Silicon)
  • Windows ISO image (Win10/Win11 recommended)
@oyi77
oyi77 / modem_handler.py
Created February 18, 2023 15:02
Modem Pool Communication
from serial.tools import list_ports
import serial
import os, sys, inspect
from loguru import logger as logging
import datetime
import re
import json
import time
from gsmmodem.modem import GsmModem
from time import sleep
@oyi77
oyi77 / product.html
Created July 24, 2020 17:12
Product Snippet For Toko WA
<div class='productPhoto'>
<!-- ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 📷 Photo -->
<!-- ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ / 📷 Photo -->
</div>
<div class='productDetail' data-stock='on'>
<!-- ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 🔖 Price -->
<span itemprop='price' class='productPrice' data-discount-percent='0'>140000</span>