Skip to content

Instantly share code, notes, and snippets.

@seaque
seaque / AnalyticsPatch.txt
Created February 17, 2024 12:25
Remove Android application analytics.
[MIN_ENGINE_VER]
1
[PACKAGE]
*
[MATCH_REPLACE]
TARGET:
AndroidManifest.xml
MATCH:
<meta-data.*?analytics.*?/>
REGEX:
@seaque
seaque / custom.css
Last active February 17, 2024 08:28
Custom CSS for BetterDiscord / Replugged / Vencord.
@import url(//dablulite.github.io/css-snippets/BetterFloatingEditor/import.css);
/* @import url(//dablulite.github.io/css-snippets/SuperUserArea/import.css); */
@import url(//fonts.googleapis.com/css2?family=Karla:wght@400;500;600;700&display=swap);
/* @import url(//markchan0225.github.io/RoundedDiscord/RoundedDiscord.theme.css); */
@import url(//raw.githubusercontent.com/Panniku/vc-snippets/main/tabsv2_desktop.css);
@import url(//minidiscordthemes.github.io/SettingsIcons/SettingsIcons.theme.css);
@import url(//lazuee.github.io/css-snippets/discord/channel-list-toggle/import.css);
/* Includes variables */
:root {
@seaque
seaque / apk-context-menu.reg
Created June 11, 2023 13:17
ADB and JADX context menu options for APK files in Windows.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\SystemFileAssociations\.apk]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.apk\Shell]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.apk\Shell\Android]
"Icon"="C:\\tools\\apktool\\android.ico"
"Subcommands"=""
@seaque
seaque / download.sh
Last active February 24, 2024 19:31
ReVanced related scripts.
repos=( cli patches integrations )
for i in "${repos[@]}"
do
curl -s https://api.github.com/repos/revanced/revanced-"$i"/releases/latest \
| grep "browser_download_url" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -qi -
done
@seaque
seaque / ffmpeg-trim.bat
Last active March 1, 2024 08:16
FFmpeg batch file for trimming videos with downmix 5.1 to stereo and subtitles from source video.
@echo off
:again
set /P start="Start: "
set /P end="End: "
set /P bit="Bitrate: "
set /P max="Maxrate: "
ffmpeg ^
-ss %start% ^
@seaque
seaque / ffmpeg-subs-extract.bat
Last active June 5, 2023 09:13
ffmpeg batch files.
@echo off
:again
ffmpeg ^
-i "%~1" ^
"%~p1%~n1.srt"
if NOT ["%errorlevel%"]==["0"] goto:error
echo %~n1 Done!
shift
@seaque
seaque / my-ublock-dynamic-rules.txt
Last active May 2, 2024 16:57
uBlock Origin static filters and dynamic rules.
* * 3p-frame block
* * 3p-script block
* cloudflare.com * noop
* disquscdn.com * noop
* hcaptcha.com * noop
* recaptcha.net * noop
github.com avatars.githubusercontent.com * noop
github.com github.com * noop
github.com githubassets.com * noop
drive.google.com content.googleapis.com * noop
[user]
name = Emirhan Hasanoğlu
email = emirhanhasanoglu@proton.me
username = seaque
[alias]
st = status
co = checkout
br = branch
[core]
autocrlf = true
@seaque
seaque / clown.svg
Last active November 10, 2022 20:29
Twitter Clown Badge, should be used with @chaoticvibing Twitter Blue Nerd Script
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@seaque
seaque / round_ui_items.css
Last active April 28, 2024 19:49
Firefox user.js and userChrome.css
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/round_ui_items.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* Make bunch of things in the main UI round */
:root{ --toolbarbutton-border-radius: 24px !important }
#urlbar-input-container > box:hover,
#urlbar-input-container > box[open],
#main-menubar > menu,
#scrollbutton-up,