This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "xiaomi bloat 2", | |
| "description": "removed all recommended", | |
| "createdDate": 1781618791494, | |
| "version": "1.0", | |
| "apps": [ | |
| { | |
| "packageName": "com.google.android.adservices.api" | |
| }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # probes multiple IPs and outputs JSON object per line for analysis | |
| # | |
| # this script has only single dependency: ping | |
| set -eo pipefail | |
| IPS=(192.168.1.1 1.1.1.1 8.8.8.8) | |
| PING_TIMEOUT=2 # seconds | |
| PING_TIMEOUT_MS="$(( PING_TIMEOUT * 1000 ))" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Youtube Music Audio Only | |
| // @match https://music.youtube.com/watch* | |
| // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAllBMVEUAAAD/ADP/ADP/ADP/ADP/ADP/ADP/ADP/ADP/ADP/ADP/ADP/ADP/ADP/ADP/ADP/ADP/BDb/F0X/GUf/fZf/zNb/+/z/+vv/AzX/fJb/9ff/rb3/UXT/DT3/u8n/0Nn/L1n/tMP/Cjv/dpH/Bjj/IE3/////2+L/THD/t8X/KFP/jaT/Dz//6e3/ZIP/AjX/J1L/GEaLdxWzAAAAEXRSTlMAE2Ok0vP/Lqf6DZf+K9s48eoeiQYAAAEHSURBVHgBhZMDYgNREIbf6k+ytq1a9z9cMat6vjhjiQNJVlQN0FRFlsRPTucLdi7n0zexbpj4gmnon+WWjR/Y1iF3XPyC6+z2h9zzfe/QWH3om/8gjOIkiaMw2KIseRgg0iwvSh/wyyLPUhAG1bfkX9VNi5W2qaullo9qz4t93fXY6bt68XEWQlr6kzWLfNNosqVjkpCX/PL2430Y9yj5kqksFPoMi4/3ab66xkoR0ociVPqMykVhnm9uQZQRfahCo/7E/qYwx3f3eMePqWOaAP1KsCgQD49PABKyAa/AhfiZ5PO3JNkyPzfq5bdGsa1mh8WPm10YfuXYpeXXnj8c7vSY42XO/w21OiejUnjSMgAAAABJRU5ErkJggg== | |
| // @homepageURL https://gist.github.com/sandorex/481e4897bd816faeb010dcaf1ca88224 | |
| // @downloadURL https://gist.github.com/sandorex/481e4897bd816faeb010dcaf1ca88224/raw/d7961daccaf89ec3dc910ea98 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## AUTO RELABELER (EXPERIMENTAL) | |
| # https://gist.github.com/sandorex/bc2fe949b68d47a67fc6dd300467b1a8 | |
| # VERSION 0.1 | |
| import FreeCAD, Draft | |
| import PySide import QtGui | |
| from pathlib import Path | |
| # save backup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| from dasbus.connection import SessionMessageBus, SystemMessageBus | |
| from dasbus.loop import EventLoop | |
| bus = SessionMessageBus() | |
| loop = EventLoop() | |
| proxy = bus.get_proxy( | |
| "org.freedesktop.portal.Desktop", # service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Darken Images | |
| // @match *://*/* | |
| // @grant GM_getValue | |
| // @version 1.1 | |
| // @homepageURL https://gist.github.com/sandorex/88579385948333aa733a35d295ff0031 | |
| // @downloadURL https://gist.github.com/sandorex/88579385948333aa733a35d295ff0031/raw/7065b74d82971fa0c4a5addcb1b89ddd19ad36c8/darken_images.user.js | |
| // @author Sandorex | |
| // @description Darkens images | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # build-gsi.sh - https://gist.github.com/sandorex/031c006cc9f705c3640bad8d5b9d66d2 | |
| # other files needed: | |
| # otatools-mini - https://mega.nz/file/TLgHDD6L#Kwxb04VoJDtXa6XLHxsxbHAIusXc0VHM12dqAbvRWlQ | |
| # vbmeta.img - https://mega.nz/file/HGoGzC5J#VZUJ6n_GVCaGRzgaO2up0FhFx52swhcO0T6ewlUW5Mk | |
| # | |
| # Copyright 2023 Aleksandar Radivojevic (https://github.com/sandorex) | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and | |
| # associated documentation files (the "Software"), to deal in the Software without restriction, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Clean Youtube Playlist | |
| // @match *://www.youtube.com/playlist* | |
| // @grant GM_registerMenuCommand | |
| // @grant GM_getValue | |
| // @homepageURL https://gist.github.com/sandorex/6bdd51ef467a079c87f19ba469a8bc7c | |
| // @downloadURL https://gist.githubusercontent.com/sandorex/6bdd51ef467a079c87f19ba469a8bc7c/raw/clean_youtube_playlist.user.js | |
| // @noframes | |
| // @version 1.1.5 | |
| // @author Sandorex |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # | |
| # PROJECT HERE | |
| # | |
| # LICENSE HERE | |
| # | |
| # python-script-template.py: Template for python scripts | |
| # hack to include modules from previous directory, edit to your liking | |
| import os, sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # label-maker.py: A little script i wrote to template SVGs and convert them to | |
| # images so i could make custom labels without knowing how to | |
| # use inkscape, photoshop and the like | |
| from string import Template | |
| import csv, os | |
| # NOTE: pyvips needs vips-dev to be installed and in PATH | |
| import pyvips |
NewerOlder