Skip to content

Instantly share code, notes, and snippets.

View newtykip's full-sized avatar
🦀
hi guys

newt :D newtykip

🦀
hi guys
View GitHub Profile
@aamiaa
aamiaa / RevertNewLayout.md
Last active July 7, 2024 14:56
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
@newtykip
newtykip / scraper.py
Created February 14, 2023 03:15
Selenium scraper that can fetch information about books given a list of Amazon URLs
from selenium.webdriver import Chrome
from selenium.webdriver.common.by import By
from selenium.webdriver.chrome.options import Options
from bs4 import BeautifulSoup
from xlsxwriter import Workbook
from time import sleep
# Fetch all of the URLs
urls = []
errors = []
@dgibbs64
dgibbs64 / SteamCMDCommmandsandCionvars
Created May 9, 2015 09:51
SteamCMD Commands and Convars
Convars:
app_info_http_min = "0" :
app_info_http_num_sockets = "8" :
AsyncFileIODisableWrite = "0" :
AsyncFileIOExpectOutstandingIO = "16" :
AsyncFileIOForceGenericIO = "0" :
AsyncFileIOMaxPending = "128" :
AsyncFileIOReadHandleCache = "32" :
AsyncFileIOWriteHandleCache = "128" :
batterypercent = "0" :