Skip to content

Instantly share code, notes, and snippets.

View ysfchn's full-sized avatar

Yusuf Cihan ysfchn

View GitHub Profile
@ysfchn
ysfchn / sandisk_wireless_flash_firmware.py
Last active April 15, 2025 15:37
A script to read & unpack firmware files of Sandisk's discontinued wireless flash drive series.
# pyright: basic
#
# Copyright (C) 2025 Yusuf Cihan
# @ysfchn https://ysfchn.com
#
# This program is a free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@ysfchn
ysfchn / links.md
Last active September 23, 2024 11:34
@ysfchn
ysfchn / peyexe.bat
Last active May 25, 2023 20:55
Super simple batch file to pack a Python project into a SFX. See below for instructions.
@echo off
setlocal
rem #
rem # peyexe
rem #
rem # Super simple batch file to pack a Python project into a single-executable exe using 7z SFX.
rem #
rem # ysfchn (https://ysfchn.com)
rem #
rem # Before getting started, make sure you have:
@ysfchn
ysfchn / DynamicArrangements.java
Last active December 6, 2021 00:55
DynamicArrangements extension for App Inventor.
/** ~~~~~
* Created with the AppyBuilder Code Editor.
* This is a template for basic Extension.
* Modify this template to customize your extension.
*
* **** NOTE: DO NOT use a package name.
* **** The package name will be created for you automatically.
* **** Adding a package name will cause a compile error
*/
import android.content.Context;