Skip to content

Instantly share code, notes, and snippets.

Avatar

Sainan

View GitHub Profile
@Sainan
Sainan / NoWelcomeStickers.css
Created January 12, 2022 15:49
Discord User CSS: No Welcome Stickers
View NoWelcomeStickers.css
button[class^='welcomeCTAButtonOuter-']
{
display: none;
}
@Sainan
Sainan / stations.cpp
Created July 23, 2021 19:31
List of radio stations that are in the wheel, in clockwise order, as of LS Tuners DLC
View stations.cpp
"RADIO_11_TALK_02", // Blaine County Radio
"RADIO_12_REGGAE", // The Blue Ark
"RADIO_13_JAZZ", // Worldwide FM
"RADIO_14_DANCE_02", // FlyLo FM
"RADIO_15_MOTOWN", // The Lowdown 9.11
"RADIO_20_THELAB", // The Lab
"RADIO_16_SILVERLAKE", // Radio Mirror Park
"RADIO_17_FUNK", // Space 103.2
"RADIO_18_90S_ROCK", // Vinewood Boulevard Radio
"RADIO_21_DLC_XM17", // Blonded Los Santos 97.8 FM
@Sainan
Sainan / CustomStickerSize.css
Last active January 12, 2022 15:49
Discord UserCSS: Custom Sticker Size
View CustomStickerSize.css
/***************************
* Custom Sticker Size v1.0 *
* https://git.io/Jc2tR *
***************************/
:root {
--sticker-size: 64px;
/* 48px is what big emojis have, but
64px looks better as stickers usually have more detail.
You decide, tho. */
@Sainan
Sainan / gist:021bd2f48f1c68d3eb002caab635b5a4
Last active April 8, 2022 09:57
All occurrences of AUDIO::PLAY_SOUND_FRONTEND as of Cayo Percio Heist DLC, sorted alphabetically and identical lines removed
View gist:021bd2f48f1c68d3eb002caab635b5a4
AUDIO::PLAY_SOUND_FRONTEND((uParam0[iParam1 /*80*/])->f_6, "Crash", "DLC_EXEC_ARC_MAC_SOUNDS", true);
AUDIO::PLAY_SOUND_FRONTEND((uParam0[iParam1 /*80*/])->f_6, "Crash_NPC", "DLC_EXEC_ARC_MAC_SOUNDS", true);
AUDIO::PLAY_SOUND_FRONTEND((uParam1[iParam2 /*80*/])->f_5, "Trail_1", "DLC_EXEC_ARC_MAC_SOUNDS", true);
AUDIO::PLAY_SOUND_FRONTEND((uParam1[iParam2 /*80*/])->f_5, "Trail_2", "DLC_EXEC_ARC_MAC_SOUNDS", true);
AUDIO::PLAY_SOUND_FRONTEND((uParam1[iParam2 /*80*/])->f_5, "Trail_3", "DLC_EXEC_ARC_MAC_SOUNDS", true);
AUDIO::PLAY_SOUND_FRONTEND((uParam1[iParam2 /*80*/])->f_5, "Trail_4", "DLC_EXEC_ARC_MAC_SOUNDS", true);
AUDIO::PLAY_SOUND_FRONTEND((uParam1[iParam2 /*80*/])->f_7, "Turn", "DLC_EXEC_ARC_MAC_SOUNDS", true);
AUDIO::PLAY_SOUND_FRONTEND((uParam1[iParam2 /*80*/])->f_7, "Turn_NPC", "DLC_EXEC_ARC_MAC_SOUNDS", true);
AUDIO::PLAY_SOUND_FRONTEND(*iParam1, sParam0, sParam7, true);
AUDIO::PLAY_SOUND_FRONTEND(*iParam3, "Recharging_Loop", "DLC_AW_Machine_Gun_Ammo_Counter_Sounds", true);
@Sainan
Sainan / README.md
Created September 20, 2020 09:11
Make logged-out Youtube a bit more enjoyable
View README.md

This is custom bypass code for Universal Bypass. If you have the extension, head into the options and insert the Javascript below into your "Custom Bypasses" section, either appending it your other custom bypasses or replacing the example code.

As for how this makes logged-out Youtube more enjoyable:

  • Automatically closes the "please log in because Google is so great" pop-ups
  • Allows you to watch age-restricted videos without logging in (SFW Example)