Skip to content

Instantly share code, notes, and snippets.

View 43trh's full-sized avatar
🎯
Focusing

43trh 43trh

🎯
Focusing
View GitHub Profile
@43trh
43trh / .block
Created April 24, 2025 02:54 — forked from tompiler/.block
Zoomable candlestick chart
license: mit
@thoughtsunificator
thoughtsunificator / script.user.js
Created February 5, 2025 01:37
[userscript] Block ads on Youtube
// ==UserScript==
// @license MIT
// @copyright Copyright (c) 2019, Romain Lebesle <[email protected]> (https://thoughtsunificator.me)
// @namespace https://thoughtsunificator.me
// @name Block ads on Youtube
// @author Romain Lebesle <[email protected]> (https://thoughtsunificator.me)
// @supportURL https://thoughtsunificator.me/
// @version 1.2
// @description Block ads on Youtube
// @run-at document-start
@shadowdreamer
shadowdreamer / fetchInterceptor.user.js
Last active February 6, 2025 23:30
XHR & Fetch Interceptor
// ==UserScript==
// @name XHR & Fetch Interceptor
// @namespace http://tampermonkey.net/
// @version 0.2
// @description 拦截并修改XHR和Fetch请求响应 douyin
// @author You
// @match *://*.douyin.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
@43trh
43trh / filedownloader.py
Created February 2, 2025 12:12 — forked from bitoffdev/filedownloader.py
filedownloader.py
# Python file downloader for Pythonista by OMZ Software
# By: EJM Software ---- http://ejm.cloudvent.net
# Source: https://gist.github.com/89edf288a15fde45682a
# *****************************************
# This simple script uses the requests module to download files
# and the ui module to show a progress bar
# You can use this bookmarklet to download files from Safari:
# javascript:window.location='pythonista://filedownloader?action=run&argv='+encodeURIComponent(document.location.href);
import ui, console, clipboard, sys, requests, zipfile
@JLCareglio
JLCareglio / #README.md
Last active February 8, 2025 21:11
🇺🇸 Adds a floating button to toggle Picture-in-Picture mode for videos on mobile devices. 🇦🇷 Agrega un botón flotante para alternar el modo Imagen en Imagen para videos en dispositivos móviles.

Floating PIP Button

This UserScript adds a floating button that enables Picture-in-Picture (PIP) mode for videos on mobile devices.

imageimageimage

License: MIT Tampermonkey YouTube

@43trh
43trh / Alpine_Linux_WSL_minirootfs_install.md
Created October 5, 2024 06:35 — forked from gmifflen/Alpine_Linux_WSL_minirootfs_install.md
Install Alpine Linux Via Minirootfs Archive.

Install Alpine Linux on WSL via Minirootfs Archive

Prerequisites

  • Basic knowledge of PowerShell (pwsh) and *sh (Bash) in case of any unaccounted issues along the way.

Steps

(> is PowerShell, $ is *sh root, % is *sh user, # are comments)

@43trh
43trh / helloworld-win32-service.py
Created August 5, 2024 15:28 — forked from drmalex07/helloworld-win32-service.py
An example Windows service implemented with pywin32 wrappers. #python #windows-service #pywin32
import win32serviceutil
import win32service
import win32event
import servicemanager
import socket
import time
import logging
logging.basicConfig(
filename = 'c:\\Temp\\hello-service.log',
@43trh
43trh / AdbCommands
Created August 5, 2024 13:25 — forked from Pulimet/AdbCommands
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.
@steve981cr
steve981cr / How-to-Release-an-Electron-App-on-the-Mac-App-Store.md
Last active April 20, 2025 17:47
Step by step instructions on how to release an Electron app on the Mac App Store. Uses Electron-builder to package the app.
@xfangfang
xfangfang / switch-gdb-cheatsheet.md
Created May 28, 2023 08:49 — forked from jam1garner/switch-gdb-cheatsheet.md
GDB for Switch Modding Cheatsheet/Tutorial

This is a mini-tutorial of sorts for getting started with gdb on the Switch, with the target audience being people who want to mod and/or reverse games, with no prerequisite knowledge of gdb. The goal will be to walk you through some of the basic workflows needed to use a debugger on the Switch, while being brief enough for skimming for when you forget things.

If some part is unclear, your OS doesn't have install instructions, or you feel part of your workflow should be added here, feel free to comment any additions.

(If you only need a quick reference Jump to the Appendix)

Installing GDB

First off you'll need a version of GDB compatible with aarch64. This can be obtained via either a distribution of