Skip to content

Instantly share code, notes, and snippets.

View ItsShamed's full-sized avatar
❄️
Officially NixOS-pilled

tsrk. ItsShamed

❄️
Officially NixOS-pilled
View GitHub Profile
@ItsShamed
ItsShamed / epita-intra-auto-theme-switcher.user.js
Last active March 24, 2024 12:10
EPITA Forge Intranet Auto Theme switcher
// ==UserScript==
// @description Automatically synchronises EPITA Forge Intranet theme with the OS System theme
// @match https://intra.forge.epita.fr/*
// @name Forge Intranet Auto Theme Switcher
// @author tsrk.
// @version 0.4
// @license WTFPL
// @icon https://intra.forge.epita.fr/favicon.ico
// @downloadURL https://gist.github.com/ItsShamed/eea864d177c2e67b23a911d7c42eb74e/raw/epita-intra-auto-theme-switcher.user.js
// @updateURL https://gist.github.com/ItsShamed/eea864d177c2e67b23a911d7c42eb74e/raw/epita-intra-auto-theme-switcher.user.js
@ItsShamed
ItsShamed / epita_intra_notifs.user.js
Last active March 4, 2024 18:33
Epita INTRA NOTIFS
// ==UserScript==
// @name Epita Intra NOTIFS
// @namespace http://tampermonkey.net/
// @version 0.2
// @description try to take over the world!
// @author tsrk.
// @match https://intra.forge.epita.fr/epita-ing-assistants-acu/*
// @match https://intra.forge.epita.fr/epita-ing-assistants-yaka/*
// @match https://intra.forge.epita.fr/epita-ing-assistants-yaka/cpp-workshop-2026/root/exercises/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=epita.fr
@ItsShamed
ItsShamed / wooclap-colour-overrides.user.css
Created February 26, 2024 17:04
Wooclap Colour Overrides
/* ==UserStyle==
@name Wooclap Colour Overrides
@namespace github.com/openstyles/stylus
@version 1.0.0
@description Simple customisable CSS for Wooclap
@author tsrk.
@license MIT
@preprocessor stylus
@var color globalThemeColor "Global Theme Color" #005DFF
==/UserStyle== */
@ItsShamed
ItsShamed / troll.sh
Last active December 2, 2022 17:35
Troll script to run on a separate TTY for a NixOS environment with i3 as the WM (with default config) that sends the close window keystroke at a defined interval
# Change this if the default display is not :0
export DISPLAY=:0
# Install xdotool if not installed
xdotool --version >/dev/null 2>&1
if [ $? -ne 0 ]; then
nix profile install nixpkgs#xdotool;
fi
@ItsShamed
ItsShamed / .ideavimrc
Last active August 27, 2022 01:49
Windows "dotfiles"
let mapleader=" "
set surround
set NERDTree
Plug 'terryma/vim-multiple-cursors'
set highlightedyank
let g:highlightedyank_highlight_duration = "250"
let g:highlightedyank_highlight_color = "rgba(176, 255, 115, 155)"
Plug 'kana/vim-textobj-entire'
@ItsShamed
ItsShamed / rules.md
Last active November 2, 2021 22:29
EpiMine Rules

EpiMine Minecraft server rules

Welcome to the EpiMine server !

Here are the rules one must apply at any moment when playing on the Minecraft server as well when talking in the Discord server. Not fullfiling those rules will lead to sanctions such as temporary ban or even a definitive ban from both servers. The decision of sanctions is at the discretion of the staff. EpiMine is not affiliated in any way with EPITA and is only lead by students.

@ItsShamed
ItsShamed / osdb.md
Last active August 5, 2021 10:27
osdb.md

This documentation may be incomplete, feel free to add missing info.

.osdb (file format)

.osdb files are binary files used by Piotrekol's Collection Manager to store osu! beatmaps collections and allow players to share their collections.

File versioning

The file version is represented as a string at the file head, it enables or disables features and may change the structure of the file.

Version integer String equivalent Comment