Skip to content

Instantly share code, notes, and snippets.

View barraIhsan's full-sized avatar
🦀
Learning Rust

barraIhsan barraIhsan

🦀
Learning Rust
View GitHub Profile
@alextorma
alextorma / LockScreenUi.patch
Last active December 25, 2024 03:48
KDE Plasma 6 24-hr Clock on Lockscreen
--- /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml.original 2024-08-27 03:48:33.088548792 -0400
+++ /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml 2024-08-27 10:50:45.599963229 -0400
@@ -224,6 +224,13 @@
anchors.horizontalCenter: parent.horizontalCenter
y: (mainBlock.userList.y + mainStack.y)/2 - height/2
Layout.alignment: Qt.AlignBaseline
+ Component.onCompleted: {
+ function updateClockString() {
+ clock.children[0].text = Qt.formatTime(clock.data[0].data["Local"]["DateTime"], 'hh:mm:ss');
+ }
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 16, 2025 11:28
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under Discover -> Quests
@barraIhsan
barraIhsan / README.md
Last active March 27, 2025 16:15
YouTube Notification Count Remover

YouTube Notification Count Remover

Description

The YouTube Notification Count Remover is a user script that removes the notification count from the title bar on YouTube, resulting in improved visibility of video titles.

Before:

Before

@agyild
agyild / FSR.glsl
Last active April 7, 2025 18:29
AMD FidelityFX Super Resolution v1.0.2 for mpv
// Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
@barraIhsan
barraIhsan / README.md
Last active April 1, 2025 03:56
Youtube Premium Logo

YouTube Premium Logo

Description

The YouTube Premium Logo userscript replaces the YouTube logo with the YouTube Premium logo.
idk why you need this, but using an adblocker[^1] + this script, will give the appearance that you have YouTube Premium.

Note

This userscript just replaces the youtube logo you see on the navbar and
inside the collapsible menu. This will NOT grant you premium feature.

@ppartarr
ppartarr / archdualboot.md
Last active April 3, 2025 23:02
Comprehensive guide to dual boot arch & windows

Dual booting Arch linux & Windows 10

There are already dozens of tutorials to setup an Arch and Windows dual boot - welcome to a dozen + 1. Like most others this is a step by step guide. Unlike most others the steps are ordered in a way that makes sense (starting with the download first - duh!) so you won't have to restart your computer a gazillion times.

I did this on a single SSD Dell XPS 15 with windows 10 preinstalled. It's obviously possible to follow this guide if you're installing Arch onto a different drive or if you're running older hardware. If you run into any problems please be sure to read through the Arch Installation Guide and the Arch Dual boot with Windows wiki.

To get started you will need:

  • a stable internet connection
  • a USB key with 1GB storage
  • a cup of coffee & and a can do attitude
@John-Paul-R
John-Paul-R / FabricModList.md
Last active April 9, 2025 06:09
A list of (almost all) mods for Fabric

Fabric Mod List

This page contains a list of the current Minecraft Fabric mods. (As of 2021-08-19 08:05:23 Timezone: UTC+0000 (GMT))

To search for mods by name, category, or download count, visit the website, fibermc.com!

Note: You can view a mod's source files by following the "Source" link on its CurseForge page, assuming that the mod's creator has made such files public.

There are currently 2954 mods in this list.

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active April 16, 2025 11:49
Conventional Commits Cheatsheet

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default