Skip to content

Instantly share code, notes, and snippets.

View makesomelayouts's full-sized avatar
🏠
Working from home

msl makesomelayouts

🏠
Working from home
View GitHub Profile
@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-
adj = input("Adjective: ")
verb1 = input("Verb 1: ")
verb2 = input("Verb 2: ")
famous_person = input("Famous person: ")
madlib = f"Computer programming is so {adj}! It makes me so excited all the time because I love to {verb1}. Stay hidrated and {verb2} like you are {famous_person}!"
print(madlib)
@makesomelayouts
makesomelayouts / create_password.py
Created March 17, 2023 20:36
last print() is string of shuffle random ascii letters with digits in 12 length.
import secrets
import string
print(f'ascii_letters {string.ascii_letters}')
print(f'ascii_lowercase {string.ascii_lowercase}')
print(f'ascii_uppercase {string.ascii_uppercase}')
print(f'digits {string.digits}')
print(f'punctuation {string.punctuation}')
all_chars = string.ascii_letters + string.digits