Skip to content

Instantly share code, notes, and snippets.

View bensuperpc's full-sized avatar
🕐
Working

Bensuperpc bensuperpc

🕐
Working
View GitHub Profile
@Jai-JAP
Jai-JAP / 1000-signGrub.hook
Last active December 9, 2025 12:10
Manjaro SecureBoot Setup Guide
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Path
Target = /boot/efi/EFI/Manjaro/grubx64.efi
[Action]
Description = Signing GRUB with Machine Owner Key for Secure Boot
When = PostTransaction
@MartinEesmaa
MartinEesmaa / youtube_formats.md
Last active January 8, 2026 15:43 — forked from AgentOak/youtube_formats.md
Youtube Format IDs

Note: This is all almost full YouTube ID informations. Original owner goes to AgentOak, modified version by Martin Eesmaa.

See the credits and also special thanks in below.

Before this gist has been forked, AgentOak made original gist on November 13 2019 and it was last updated on May 5 2021.

From now on, this forked gist is maintained by Martin Eesmaa since 17 September 2022.

Last updated: 08 January 2026

@bensuperpc
bensuperpc / vector_bench_add
Last active April 15, 2022 09:20
google benchmark vector type
#include <algorithm>
#include <vector>
#include <benchmark/benchmark.h>
template<class T>
static void vector_add(benchmark::State& state)
{
size_t size = state.range(0);
@redsfyre
redsfyre / nvfixbl.sh
Created June 9, 2021 19:07
Simple script I wrote for Arch Linux to use Nvidia brightness setting properly
#!/bin/bash
for x in \
nvidia-460.67-5-x86_64.pkg.tar.zst \
nvidia-dkms-460.67-1-x86_64.pkg.tar.zst \
nvidia-settings-460.67-1-x86_64.pkg.tar.zst \
nvidia-utils-460.67-1-x86_64.pkg.tar.zst \
; do
test -f $x || \
@SilouFr
SilouFr / facebook_friends_number
Last active April 6, 2021 12:21
Liste des amis qui sont présents dans la fuite des numéros sur Facebook
Prérequis : avoir le leak, un compte facebook, des amis
Extraire la liste d'amis :
Pas de script miracle, j'ai fait ça à la main :
- se rendre sur votre profile > amis. Faire charger la liste en descendant en bas de la page au fur et à mesure de son chargement.
- Une fois chargée en entier, F12, se placer sur l'élément parent des div qui contiennent chacune un amis > edit as HTML > copier le tout dans un fichier "liste_brute.txt"
Extraire les URLs des amis :
`grep -Eoi '<a [^>]+>' friends.txt | grep -Eo 'href="[^\"]+"' | sort -u | cut -d "\"" -f 2 | grep -v "friends_mutual" > friends_urls.txt`
@osipxd
osipxd / !paper-versions.md
Last active January 5, 2026 22:20
Paper versions links
@rumansaleem
rumansaleem / clean-up-arch-linux.md
Created May 28, 2019 08:51
Instructions to clean up Arch Linux (Manjaro)

Contents

  • Clean pkg cache
  • Remove unused packages (orphans)
  • Clean cache in /home
  • remove old config files
  • Find and Remove
    • duplicates
    • empty files
    • empty directories
  • broken symlinks
@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active December 27, 2025 06:03
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}
\ | | | | | | _) |
_ \ _ \ __| __ \ _ \ __| | | | __| | __ `__ \ _` | __| _ \
___ \ __/ | | | | __/ | | | | | | | | | ( | | __/
_/ _\\___|\__|_| |_|\___|_| \___/ _|\__|_|_| _| _|\__,_|\__|\___|
^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^^V^V^V^V^V^V
A Beta 1.7.3 Modpack by ScottoMotto
<*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><
Welcome to the Ultimate Aether Modpack for Minecraft Beta 1.7.3. This pack contains the original Aether mod plus many enhancements.
@csuft
csuft / dragdrop.qml
Created June 8, 2018 03:32
drag and drop in qml listview
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.0
ApplicationWindow {
id: root
width: 780
height: 150
visible: true