Skip to content

Instantly share code, notes, and snippets.

bind 1 slot1
bind 2 slot2
bind 3 slot3
bind 4 slot4
bind 5 slot5
bind 6 slot6
bind 7 slot7
bind 8 slot8
bind 9 slot9
bind 0 slot10
@echo off
setlocal EnableDelayedExpansion
chcp 65001 > nul
:: 65001 - UTF-8
set "arg=%1"
if "%arg%" == "admin" (
echo Started with admin rights
) else (
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/c \"\"%~f0\" admin\"' -Verb RunAs"
@echo off
chcp 65001 > nul
:: 65001 - UTF-8
set "arg=%1"
if "%arg%" == "admin" (
echo Started with admin rights
) else (
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/c \"\"%~f0\" admin\"' -Verb RunAs"
exit /b
googlevideo.com
youtubei.googleapis.com
ytimg.com
yt3.ggpht.com
yt4.ggpht.com
youtube.com
youtubeembeddedplayer.googleapis.com
ytimg.l.google.com
jnn-pa.googleapis.com
youtube-nocookie.com
cloudflare-ech.com
dis.gd
discord-attachments-uploads-prd.storage.googleapis.com
discord.app
discord.co
discord.com
discord.design
discord.dev
discord.gift
discord.gifts
173.245.48.0/20
103.21.244.0/22
103.22.200.0/22
103.31.4.0/22
141.101.64.0/18
108.162.192.0/18
190.93.240.0/20
188.114.96.0/20
197.234.240.0/22
198.41.128.0/17
This file has been truncated, but you can view the full file.
000.pe
000webhostapp.com
00112.ru
002spb.ru
003.su
007007.bar
007dom.ru
0095.ru
00seeds.com
0104.info
rr2---sn-8ph2xajvh-5n4l.googlevideo.com discord.com rutracker.org linkedin.com soundcloud.com nnmclub.to fitgirl-repacks.site
cloudflare-ech.com cdn.discordapp.com quora.com instagram.com x.com btdig.com ntc.party torproject.org
@SmileyAG
SmileyAG / ffmpeg_help_encoder_h264_nvenc.txt
Created March 13, 2025 03:29
ffmpeg -h encoder=h264_nvenc > ffmpeg_help_encoder_h264_nvenc.txt
Encoder h264_nvenc [NVIDIA NVENC H.264 encoder]:
General capabilities: dr1 delay hardware
Threading capabilities: none
Supported hardware devices: cuda cuda d3d11va d3d11va
Supported pixel formats: yuv420p nv12 p010le yuv444p p016le yuv444p16le bgr0 bgra rgb0 rgba x2rgb10le x2bgr10le gbrp gbrp16le cuda d3d11
h264_nvenc AVOptions:
-preset <int> E..V....... Set the encoding preset (from 0 to 18) (default p4)
default 0 E..V.......
slow 1 E..V....... hq 2 passes
medium 2 E..V....... hq 1 pass
@SmileyAG
SmileyAG / steam2_depots.py
Created March 13, 2025 01:36
The original author of the script is Nicknine.
# Guideline:
# 1. Install Python 3.x
# 1.1. If available, select the option to specify Python in the PATH, otherwise you will need to do this manually in the settings for environment variables.
# 2. Open command prompt (cmd.exe) for install pycryptodome and vdf packages:
# 2.1. pip install pycryptodome
# 2.2. pip install vdf
# 3. Create a directory and place this Python script and legacydepotdata.vdf file in it
# 4. In this directory create two folders: content and output
# 5. Move all files from chunks_*.zip archive to content folder
# 6. Find out the depot and version of the manifest (info is in steam2_names.txt and steam2_versions.txt files)