Skip to content

Instantly share code, notes, and snippets.

View 3nws's full-sized avatar
:shipit:

Enes Kurbetoğlu 3nws

:shipit:
View GitHub Profile
@3nws
3nws / deleteSteamScreenshots.js
Created June 28, 2025 20:59
Deletes screenshots from steam cloud.
const manageButton = document.querySelector("#ScreenshotManagementToggle");
manageButton.click();
const profileMediaItems = document.querySelectorAll(".profile_media_item");
profileMediaItems.forEach((node) => OnScreenshotClicked(node.getAttribute("data-publishedfileid")));
ConfirmBatchAction('delete');
@3nws
3nws / wct.py
Last active May 11, 2025 11:22
Creates an epub of the most recent post (or optionally a specific story) on witchculttranslation.com and uploads it to dropbox.
import html5lib # type: ignore
import requests
import os
import dropbox
from ebooklib import epub
from bs4 import BeautifulSoup
from config import app_folder, app_key, app_secret, oauth2_refresh_token
@3nws
3nws / wct-all.py
Last active April 30, 2025 18:57
Script to fetch all chapters of an arc on witchculttranslation.com, create an epub and upload to dropbox.
import html5lib # type: ignore
import requests
import os
import dropbox
from ebooklib import epub
from bs4 import BeautifulSoup
from config import app_folder, app_key, app_secret, oauth2_refresh_token
@3nws
3nws / wct_arc.py
Last active January 5, 2025 12:50
Hastily written script to retrieve the latest chapter from witchculttranslation.com and convert it to an epub file and upload to dropbox
import html5lib # type: ignore
import requests
import os
import dropbox
from ebooklib import epub
from bs4 import BeautifulSoup
from config import app_folder, app_key, app_secret, oauth2_refresh_token
@3nws
3nws / disable_vanguard.vbs
Created May 25, 2024 15:00 — forked from AndrewMast/disable_vanguard.vbs
Commands to disable Riot Vanguard when you aren't playing Valorant
' Disables Vanguard from starting when you boot your computer
Call CreateObject("Shell.Application").ShellExecute("cmd.exe", "/c ""sc config vgc start= disabled & sc config vgk start= disabled""", "", "runas")
@3nws
3nws / keymap.json
Created January 31, 2024 08:48
Zed key bindings
[
// Standard macOS bindings
{
"bindings": {
"up": "menu::SelectPrev",
"pageup": "menu::SelectFirst",
"shift-pageup": "menu::SelectFirst",
"ctrl-p": "menu::SelectPrev",
"down": "menu::SelectNext",
"pagedown": "menu::SelectLast",
@3nws
3nws / settings.json
Last active May 3, 2024 07:34
Zed config
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run the `open default settings` command
// from the command palette or from `Zed` application menu.
{
"base_keymap": "VSCode",
@import url("https://gibbu.github.io/BetterDiscord-Themes/RadialStatus/base.css");
@keyframes back {
from {background-color: white;}
to {background-color: white;}
}
@keyframes pulsingBackground {
0% {
background-color: var(--color-low);
}
20% {