Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / RevertNewLayout.md
Last active May 27, 2024 03:13
Revert New Discord Layout

The original snippet no longer works!

On 02/09/2024 at around 8pm UTC, Discord flipped an experiment (2023-09_mobile_redesign_override_toggles) which ignores the layout toggle that this script relied on.

If you want to continue using the old layout, you can either use a modded mobile client (such as Vendetta) to disable that experiment, or downgrade to an old version of the app.

Method 1 - Downgrading (Android)

Tip

Use this one if you want a fast, beginner-friendly solution and don't mind using a version from November 2023

  1. Download version 205.15 of Discord mobile app from ApkMirror
@ThioJoe
ThioJoe / Icon-Upscale.bat
Last active January 29, 2024 03:54
Low-Res Icon Upscaler Batch Script
@echo off
setlocal enabledelayedexpansion
rem | Lines beginning with 'rem' are comments
rem -------------------------------------------------------------------------------------------
rem | "Icon Upscaler" Script by ThioJoe: https://github.com/ThioJoe
rem | I created this script specifically for upscaling very low res (such as 256x256) icons like those in Windows. It uses a combination of Image Magick (to first improve the transparency edges) and the RealCugan-ncnn-vulkan upscaler which seems to perform the best for this use case. Of course, the script can be used for all sorts of images, but I have found this to yield the best results of any other method, and better than just using an upscaler alone.
@leviem1
leviem1 / fangxiao-domains-pihole-blocklist-11-2022
Last active May 6, 2023 11:15
PiHole blocklist for phishing domains used by Fangxiao: bleepingcomputer.com/news/security/42-000-sites-used-to-trap-users-in-brand-impersonation-scheme/
This file has been truncated, but you can view the full file.
0.0.0.0 002sen.cn
0.0.0.0 003bty.cyou
0.0.0.0 005nj7z.cn
0.0.0.0 006ks4g.cn
0.0.0.0 0072875.xyz
0.0.0.0 0099q7e.cn
0.0.0.0 009gfy.cyou
0.0.0.0 00ckpr.cn
0.0.0.0 00cojpj.cn
0.0.0.0 00cvl.cn
@luavixen
luavixen / fandom.ublock
Created February 7, 2022 15:33
uBlock Origin rules that make Fandom (fandom.com) feel more like a normal wiki site.
fandom.com##.global-navigation
fandom.com##.main-container:style(margin: 0 !important; width: 100% !important)
fandom.com##.fandom-sticky-header:style(left: 0 !important)
fandom.com##.top-ads-container
fandom.com##.bottom-ads-container
fandom.com##.page__right-rail
fandom.com###mixed-content-footer
fandom.com##.notifications-placeholder
fandom.com###WikiaBar
fandom.com##.wds-global-footer__bottom-bar
@krcm0209
krcm0209 / README.md
Last active May 29, 2024 23:46
Using AdGuard DNS over HTTPS (DoH) on Windows 11

Why

You may want to use AdGuard's DNS over HTTPS[^2] service if you

  1. Want to make it harder for your ISP to know what websites you are requesting
  2. Want to block most traditional ads from your web browsing experience across your entire PC

Setup instructions

  1. Open PowerShell
@C4illin
C4illin / Steam Codes
Last active June 2, 2024 18:25
This gist is used to keep track of steam games
a/1395310
s/197845
a/368230
s/516145
a/1204740
a/638490
a/1273710
a/884660
a/893390
s/239770
@C4illin
C4illin / Update-AUPackages.md
Last active June 3, 2024 00:14
Update-AUPackages Report #powershell #chocolatey
@cosmojg
cosmojg / anonsites.txt
Created September 10, 2018 14:09
Anon's Favorite Websites
* Blogs
http://studiopixel.sakura.ne.jp/ ## Cavestory devblog
http://toastytech.com/index.html ## Old tech blog
http://www.fromthemachine.org/MALOVIOUS.html ## Ramblings about current events
https://omaera.org/ ## Anons from Chile personal site, very minimalist
http://9ch.in/ ## OG personal site
* Services
https://wiby.me ## Simple sebpage search engine