Skip to content

Instantly share code, notes, and snippets.

View malisipi's full-sized avatar
🐺
Segmentation Fault (Core Dumped)

Mehmet Ali Şipi malisipi

🐺
Segmentation Fault (Core Dumped)
View GitHub Profile
@malisipi
malisipi / compact-mode.css
Last active November 30, 2025 14:55
YouTube compact mode for new ui
/* Author: https://github.com/malisipi */
* {
--yt-delhi-pill-height: 40px !important;
--yt-delhi-pill-top-height: 2px !important;
--yt-delhi-bottom-controls-height: 36px !important;
--yt-delhi-bottom-controls-height-xsmall-width-mode: 36px !important;
--yt-delhi-big-mode-pill-height: 40px !important;
--yt-delhi-big-mode-pill-top-height: 2px !important;
--yt-delhi-big-mode-bottom-controls-height: 36px !important;
@malisipi
malisipi / no_loudness_for_youtube.user.js
Last active February 24, 2024 20:48
no_loudness_for_youtube.user.js
// ==UserScript==
// @name YouTube - No Loudness
// @namespace https://malisipi.github.io/
// @version 2024-02-24
// @description Disable loudness mode of YouTube
// @author malisipi
// @match http://*.youtube.com/*
// @match https://*.youtube.com/*
// @grant none
// ==/UserScript==
@malisipi
malisipi / tray.h
Last active February 13, 2023 16:13
Extended Tray Menu API for Windows
// Licensed by MIT License
// Author: malisipi
// Source: https://gist.github.com/malisipi/ec70678d9b1c931130902ab97ac68938
#define UNICODE
#include <windows.h>
#include <shellapi.h>
struct tray_menu;
@mmozeiko
mmozeiko / !README.md
Last active December 6, 2025 21:26
Download MSVC compiler/linker & Windows SDK without installing full Visual Studio

This downloads standalone MSVC compiler, linker & other tools, also headers/libraries from Windows SDK into portable folder, without installing Visual Studio. Has bare minimum components - no UWP/Store/WindowsRT stuff, just files & tools for native desktop app development.

Run py.exe portable-msvc.py and it will download output into msvc folder. By default it will download latest available MSVC & Windows SDK from newest Visual Studio.

You can list available versions with py.exe portable-msvc.py --show-versions and then pass versions you want with --msvc-version and --sdk-version arguments.

To use cl.exe/link.exe first run setup_TARGET.bat - after that PATH/INCLUDE/LIB env variables will be updated to use all the tools as usual. You can also use clang-cl.exe with these includes & libraries.

To use clang-cl.exe without running setup.bat, pass extra /winsysroot msvc argument (msvc is folder name where output is stored).

@AndrewMast
AndrewMast / disable_vanguard.vbs
Last active December 10, 2025 01:47
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")
@Zeinok
Zeinok / wine-breeze-dark-theme.md
Last active December 1, 2025 09:37
Breeze Dark theme for Wine

Made possible with this reddit post.

Install

wine regedit wine-breeze-dark.reg

Uninstall (Reset Wine color scheme)

wine regedit wine-reset-theme.reg

@MuhammadSaim
MuhammadSaim / rarreg.key
Last active December 12, 2025 06:43
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
@mcarletti
mcarletti / opera_x264_support.sh
Last active December 1, 2025 09:42
Enable H.264 codec support for Opera browser
#!/bin/bash
# Author: Marco Carletti
# Date: May 2022
# Version: 0.2.0
# Last update: July 17, 2023
# Changed comments, tested versions and added other distros info, such as Debian and Fedora.
# Thanks to everyone for comments, suggestions, fixes and testings!
@peterspackman
peterspackman / mingw-w64-x86_64.cmake
Last active November 24, 2025 17:55
cmake toolchain file for mingw-w64 x86_64 builds on Ubuntu
# Sample toolchain file for building for Windows from an Ubuntu Linux system.
#
# Typical usage:
# *) install cross compiler: `sudo apt-get install mingw-w64`
# *) cd build
# *) cmake -DCMAKE_TOOLCHAIN_FILE=~/mingw-w64-x86_64.cmake ..
# This is free and unencumbered software released into the public domain.
set(CMAKE_SYSTEM_NAME Windows)
set(TOOLCHAIN_PREFIX x86_64-w64-mingw32)