Skip to content

Instantly share code, notes, and snippets.

@makesomelayouts
makesomelayouts / change-font.reg
Created November 15, 2025 13:44
Change font in Windows 10, 11 to Comfortaa (need to have locally)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"Segoe UI (TrueType)"=""
"Segoe UI Bold (TrueType)"=""
"Segoe UI Bold Italic (TrueType)"=""
"Segoe UI Italic (TrueType)"=""
"Segoe UI Light (TrueType)"=""
"Segoe UI Semibold (TrueType)"=""
"Segoe UI Symbol (TrueType)"=""
@makesomelayouts
makesomelayouts / remove-pushed-commit.md
Created November 12, 2025 10:03
Remove last commit from GitHub

Remove last commit from GitHub:

git push origin +HEAD^:$name_of_your_branch

+HEAD^:master

+HEAD^:main

...

@makesomelayouts
makesomelayouts / change-author-in-commits.md
Last active November 6, 2025 06:21
a good solution to change commits author.

Source Video Source Code

  1. clone your repository with bare tag
git clone --bare https://github.com/yournickname/reponame.git
  1. go to your repository
@makesomelayouts
makesomelayouts / vns-on-linux.md
Created March 15, 2025 16:55 — forked from eshrh/vns-on-linux.md
Personal guide to visual novels on linux

Concise visual novel setup on linux

also see this guide which has better compatibility. This guide is forked from it. written by kamui-7

This guide is very close to exactly how I run vn's on my setup. I can't guarantee it'll work for everyone (in fact, i can probably guarantee it's broken for someone/some game)

Packages i use

sudo pacman -S wine-staging giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse libgpg-error lib32-libgpg-error alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo sqlite lib32-sqlite libxcomposite lib32-libxcomposite libxinerama lib32-libgcrypt libgcrypt lib32-libxinerama ncurses lib32-ncurses libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs lib32-gst-plugins-goo
@makesomelayouts
makesomelayouts / shikimori.css
Created November 24, 2024 14:58
Kinda dirty cringe code, but working
.p-profiles header.head .misc:after {
content: "なんでもない";
}
.cc-favourites {
display: flex;
flex-flow: row wrap;
gap: 20px;
}
@makesomelayouts
makesomelayouts / hide-el.css
Created November 22, 2024 15:27
8 ways to hide element using css
/*
- To completely hide els,
- Showing different fields based on selected payment method
- ❌ Visible to screenreader
- ❌ Occupy space
- ❌ Capture keyboard events
- ❌ Capute mouse events
- ❌ Animatable
*/
.hide {
import time
import threading
from pynput.mouse import Controller, Button
from pynput.keyboard import Listener, KeyCode
toggle_key = KeyCode(char='q')
clicking = False
mouse = Controller()
@makesomelayouts
makesomelayouts / class.py
Last active August 21, 2023 13:47
py objects
if __name__ == '__main__':
class Comment:
def __init__(self, txt):
self.text = txt
self.votes_qty = 0
from pytube import YouTube
if __name__ == "__main__":
links = [
"https://www.youtube.com/shorts/klmBTGQUkbM",
"https://www.youtube.com/watch?v=hS5CfP8n_js"
]
counter = 0
@makesomelayouts
makesomelayouts / shikimori-old.css
Last active November 24, 2024 14:57
Kinda dirty cringe code, but working :)
/* main */
.p-club_pages .new_comment .preview .b-comment .inner header,.p-club_pages .edit_comment .preview .b-comment .inner header{display:block}.edit-page .preview .b-comment>.inner>header{display:none}.edit-page .preview .b-comment>.inner>.body{padding-left:0}.b-shiki_editor aside.buttons .editor-file span{display:block}img{max-width:100%}textarea{vertical-align:top}.page_background_color{display:none}.b-header_filters .filter-line .title,.b-header_filters .filter-line a.current,.p-statistics-index .forum-nav .sections a,.p-userlist_comparer .comparer table .name a{color:inherit}:root{--color-black: #212121;--color-white: #fafafa;--color-info: #4f91e8;--color-success: #66bb6a;--color-warning: #ef8d50;--color-danger: #ef5350;--color-negative: #c5484e;--color-neutral: #549db3;--color-positive: #73a349;--color-offtop: #f58ebb;--color-violet: #a64fe8;--color-yellow: #e8dc4f;--color-magenta: #e84fde;--color-marker-offtop-rgb: 245 142 187;--color-marker-new-rgb: 79 145 232;--marker-background-opacity: .16;--l-