Skip to content

Instantly share code, notes, and snippets.

View LudovicoPiero's full-sized avatar
🌧️
Come, let's watch the rain as it's falling down.

Ludovico LudovicoPiero

🌧️
Come, let's watch the rain as it's falling down.
  • T̵̛͙̗̙̍͋̈́̄̔̽̇̓̃̔̕͘̕Ǒ̷̦̟̪̯̼̝̻̝͎̋͜͜R̷̡̖̰̩̉͒͋͆O̶͉͍͙̜̹͙̭̼͓̠̗̖̥̎͊̈́͒̏̓̏̍̃̍̓̅̽͝͝N̸̨̫͍̭̲͖͈̭̫̟̳̋̾̒̑̈́͂̾̽̎͌Ţ̷̡̠̻̱̜̝̌͌̔Ò̵̪̻̤_̶̧̩͙͈͓͖͖͓͚͂̈̔̋̾̽̂́́̚͠͠ͅḲ̸̖̭̙̩̝̱̭̼͕̥̞͍̖̩͊̈́͛͆̃͒͑̃̒͌̀͌͝͝Y̷̛͙̘̣̙̫͓͔͇͉͎̻͒̒̀̽̄̚͠Ǫ̶̡̛̘̜͓̙̥͖͉͈̻̻̖̈́̔̈̽̊̔̋̊̒T̸̲̫̣̟͎̩̩̙͎͖̈́̒̄̒̓͆̆̕͘O̵̯̭͕̻̬̾̈́͘
View GitHub Profile
@jfeilbach
jfeilbach / grub.md
Last active November 14, 2025 07:39
Make Linux fast

In /etc/default/grub, modify:

noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off 

Then sudo update-grub

from https:// make-linux-fast-again.com/ This domain does not seem to be maintained any longer.

@mx00s
mx00s / install.sh
Last active May 9, 2025 07:00
NixOS install script based on @grahamc's "Erase Your Darlings" blog post
#!/usr/bin/env bash
#
# NixOS install script synthesized from:
#
# - Erase Your Darlings (https://grahamc.com/blog/erase-your-darlings)
# - ZFS Datasets for NixOS (https://grahamc.com/blog/nixos-on-zfs)
# - NixOS Manual (https://nixos.org/nixos/manual/)
#
# It expects the name of the block device (e.g. 'sda') to partition
@fleetimee
fleetimee / autoexec.cfg
Last active September 29, 2025 14:52
Dota 2
// DOTA autoexec.cfg REFERENCE preset - get latest from https://dev.dota2.com/showthread.php?t=194985
// Save as: Steam\steamapps\common\dota 2 beta\game\dota\cfg\autoexec.cfg (make sure extension is .cfg not .cfg.txt)
//
// To optimally read/edit this cfg, use a text processor featuring 132 chars per line and syntax highlighting to C++
// Disable options/binds/commands you do not want forced by this cfg by starting lines with // C++ style line comment
// Some reference hotkeys and options use tweaked values. Will override user settings if enabled (un-commented).
//
// What's new [2020-06-20]
// Not much, just added a few missing binds and ui options; no longer forcing render quality to 0.71
//
@evanrelf
evanrelf / README.md
Last active October 9, 2023 20:45
Install NixOS on ZFS With Opt-In State

Install NixOS on ZFS With Opt-In State

Commands

# nvme0n1
# ├─nvme0n1p1    BOOT
# └─nvme0n1p2    LUKS CONTAINER
#   └─cryptroot  LUKS MAPPER
#     └─vg-swap  SWAP
@Soheab
Soheab / API's.md
Last active November 8, 2025 20:55
See here some of the API's you can use in your discord bot or anything

Some APIs for you.

Here are some APIs you can use in your Discord bot or any other project. For any help or questions on how to use one, please contact the owner of the API and not me.

A bigger list of APIs can be found at: https://github.com/public-apis/public-apis


[TOKEN] = API requires a token to access some if not all endpoints.

@lohanidamodar
lohanidamodar / V2-Style-advance.css
Last active June 28, 2025 01:44 — forked from mewforest/YouTube Chat CSS.css
Styles for YouTube streaming live-chat (tested in OBS)
@import url("https://fonts.googleapis.com/css?family=Candal");
@import url("https://fonts.googleapis.com/css?family=Changa One");
@import url("https://fonts.googleapis.com/css?family=Imprima");
/* Background colors*/
body {
overflow: hidden;
background-color: rgba(0,0,0,0);
}
/* Transparent background. */
@Bondrake
Bondrake / trim-generations.sh
Last active February 29, 2024 01:10
NixOS script to keep 10 generations or 7 days, whichever is more (configurable, profile is selectable)
#!/usr/bin/env bash
set -euo pipefail
## Defaults
keepGensDef=10; keepDaysDef=7
keepGens=$keepGensDef; keepDays=$keepDaysDef
## Usage
usage () {
printf "Usage:\n\t trim-generations.sh (defaults are: Keep-Gens=$keepGensDef Keep-Days=$keepDaysDef Profile=user)\n\n"
@rtkay123
rtkay123 / Smart HTTP Git and CGIT on Nginx server with Auth on push
Last active November 1, 2025 11:30
Installing Git and Cgit to Debian NGINX server (with smart http and authentication on push)
# Just some notes on enabling smart http with nginx as well as authentication on push for repos
# install git, cgit and apache2-utils (for authentication)
apt install git cgit apache2-utils fcgiwrap
# create a git user
useradd -m -d /srv/git git
su git
cd
mkdir .ssh && chmod 700 .ssh
touch .ssh/authorized_keys && chmod 600 .ssh/authorized_keys
@Gavinok
Gavinok / init.el
Last active November 10, 2024 15:12
A minimal emacs configuration using evil mode and use-package
;;; Startup
;;; PACKAGE LIST
(setq package-archives
'(("melpa" . "https://melpa.org/packages/")
("elpa" . "https://elpa.gnu.org/packages/")))
;;; BOOTSTRAP USE-PACKAGE
(package-initialize)
(setq use-package-always-ensure t)
(unless (package-installed-p 'use-package)
@eusonlito
eusonlito / oppo-coloros-bloatware-disable
Last active September 16, 2025 15:36
Disable and Enable Oppo ColorOS bloatware. AVOID TO UNINSTALL PACKAGES OR YOUR PHONE CAN BE BRICKED ON FUTURE UPDATES.
pm disable-user --user 0 com.caf.fmradio
pm disable-user --user 0 com.coloros.activation
pm disable-user --user 0 com.coloros.activation.overlay.common
pm disable-user --user 0 com.coloros.alarmclock
pm disable-user --user 0 com.coloros.appmanager
pm disable-user --user 0 com.coloros.assistantscreen
pm disable-user --user 0 com.coloros.athena
pm disable-user --user 0 com.coloros.avastofferwall
pm disable-user --user 0 com.coloros.backuprestore
pm disable-user --user 0 com.coloros.backuprestore.remoteservice