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 / clean.sh
Created September 28, 2025 00:30
clean phantom notifications github
# Create token at https://github.com/settings/tokens
# Allow notification access in token to allow
export GITHUB_TOKEN="gh-token"
curl -s -X PUT \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
-d '{"last_read_at":"2025-09-28T00:00:00Z","read":true}' \ # IMPORTANT: Update time
https://api.github.com/notifications
@malisipi
malisipi / mingw-w64-x86_64.cmake
Created July 16, 2025 00:04 — forked from peterspackman/mingw-w64-x86_64.cmake
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)
@malisipi
malisipi / start_params.sh
Created February 19, 2025 11:40
Chrome work under wayland with hw
--gtk-version=3 --enable-features=UseOzonePlatform --ozone-platform=wayland --use-gl=desktop --enable-features=VaapiVideoDecoder --enable-features=AcceleratedVideoDecodeLinuxGL --enable-unsafe-swiftshader --ignore-gpu-blocklist --enable-zero-copy
@malisipi
malisipi / Github Remove Copilot Things.txt
Created December 19, 2024 23:07
GitHub Remove Copilot Things
' UBO filter - by malisipi
! GitHub Disable Copilot things
github.com##.copilotPreview__container
github.com##.js-notice
github.com##.AppHeader-CopilotChat
@malisipi
malisipi / ultra-compact.css
Last active September 6, 2024 16:38
Firefox User Themes
toolbar, tabs, toolbar toolbarbutton, toolbar toolbarseparator, toolbar toolbaritem, toolbar toolbarspring, toolbar .tab-background, toolbar .tab-content, toolbar arrowscrollbox {
max-height: 28px !important;
--urlbar-height: 24px !important;
--urlbar-container-height: 24px !important;
}
.titlebar-spacer {
width: unset !important;
aspect-ratio: 1 !important;
}
@malisipi
malisipi / compile.sh
Last active July 8, 2024 16:20
Compile WebUI application
gcc -DWEBUI_LOG -DNO_SSL -DNDEBUG -DNO_CACHING -DMUST_IMPLEMENT_CLOCK_GETTIME -DNO_CGI -DUSE_WEBSOCKET -DOPENSSL_API_1_1 src/webui.c main.c -o app.out -I./include src/civetweb/civetweb.c -Isrc/civetweb/ -static -g -fPICgcc -DWEBUI_LOG -DNO_SSL -DNDEBUG -DNO_CACHING -DMUST_IMPLEMENT_CLOCK_GETTIME -DNO_CGI -DUSE_WEBSOCKET -DOPENSSL_API_1_1 src/webui.c main.c -o app.out -I./include src/civetweb/civetweb.c -Isrc/civetweb/ -static -g -fPIC
console.warn("🐺");
alert("Hello World");
@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 / style.js
Last active November 21, 2023 18:51
Force to My Styles (UserScript)
// ==UserScript==
// @name Force to Use My Styles
// @namespace http://malisipi.github.io/
// @version 0.3.4
// @description Forcing to use Noto Sans
// @author malisipi
// @match http://*/*
// @match https://*/*
// @grant none
// @run-at document-start