Skip to content

Instantly share code, notes, and snippets.

View aequabit's full-sized avatar

aequabit aequabit

  • New Babylon
View GitHub Profile
@aequabit
aequabit / youtube-translucent-background-image.user.css
Last active December 24, 2024 12:06
YouTube - Translucent Background Image
/* ==UserStyle==
@name YouTube - Translucent Background Image
@namespace github.com/openstyles/stylus
@version 0.0.5
@updateURL https://gist.github.com/aequabit/ab2d7ed6c7a6581d67582008f9011c0b/raw/youtube-translucent-background-image.user.css
@description Makes most of YouTube's elements translucent and sets a background image
@author aequabit
@var text bg-image "Background image [format: url(https://...)]" "url(https://i.imgur.com/j2UzO1c.png)"
@var text bg-filters "Background filters" "blur(6px) brightness(50%)"
@var text bg-position "Background position" "center top"
@aequabit
aequabit / odysee-direct-url-button.user.js
Last active September 5, 2024 03:18
Odysee - Direct URL Button
// ==UserScript==
// @name Odysee - Direct URL Button
// @match https://odysee.com/*/*
// @grant none
// @version 0.0.2
// @author aequabit
// @description Adds a button to the video action bar, which links to the video source file
// @downloadURL https://gist.github.com/aequabit/9390d0fc686337410d4e854ffb9549d2/raw/odysee-direct-url-button.user.js
// ==/UserScript==
@aequabit
aequabit / synctube-play-history.user.js
Last active September 9, 2024 06:05
SyncTube - Play History
// ==UserScript==
// @name SyncTube - Play History
// @match https://sync-tube.de/room/*
// @grant none
// @version 0.4
// @author aequabit
// @description Remembers which videos were played
// @downloadURL https://gist.github.com/aequabit/cc2c57e9018ac4f959a7f9007083634d/raw/synctube-play-history.user.js
// ==/UserScript==
@aequabit
aequabit / youtube-sidebar-playlists.user.js
Last active January 2, 2025 04:56
YouTube Sidebar Playlists
// ==UserScript==
// @name YouTube Sidebar Playlists
// @description Shows playlists in the sidebar again
// @version 0.0.4
// @author aequabit
// @match https://www.youtube.com/*
// @grant none
// @run-at document-start
// @downloadURL https://gist.github.com/aequabit/9f2dcd6af2e7d8958fcc1ffe8e87199a/raw/youtube-sidebar-playlists.user.js
// ==/UserScript==
@aequabit
aequabit / cpt.py
Created November 15, 2023 15:45
Cling cpt.py: Bypass CMake version detection
#! /usr/bin/env python3
# coding:utf-8
###############################################################################
#
# The Cling Interpreter
#
# Cling Packaging Tool (CPT)
#
# tools/packaging/cpt.py: Python script to launch Cling Packaging Tool (CPT)
@aequabit
aequabit / twitter-following-dumper.js
Last active August 28, 2020 17:54
Twitter Following Dumper
/**
* twitter-following-dumper
*
* output format is json { uid: string <user id>, handle: string <handle> }
*
* usage:
* - open chrome devtools
* - go to networking tab
* - go to https://twitter.com/following
* - scroll to the bottom of the page
// ==UserScript==
// @name XenForo 2 FreePr0
// @version 1.0
// @description Uncensors pr0 URLs
// @author aequabit
// @match *://*/*
// @grant unsafeWindow
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js
// ==/UserScript==
@aequabit
aequabit / xf_hide_signatures.user.js
Created April 21, 2020 10:57
XenForo 2 Hide Signatures
// ==UserScript==
// @name XenForo 2 Signature Hide
// @version 1.0
// @description Removes the signature of specified users
// @author aequabit
// @match *://*/*
// @grant GM_setValue
// @grant GM_getValue
// @grant unsafeWindow
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js
@aequabit
aequabit / arch-lvm-setup.md
Last active November 1, 2021 03:09
Arch Linux Setup with LUKS Encrypted LVM

Arch Linux Setup with LUKS Encrypted LVM

  1. Partition the disk $ fdisk /dev/sda

  2. Create EFI partition (skip for legacy)

g (creates GPT)
n
1
@aequabit
aequabit / .php_cs.php
Created June 16, 2018 13:19
Laravel PHP CS Fixer config
<?php
$finder = Symfony\Component\Finder\Finder::create()
->in(__DIR__)
->name('*.php')
->notPath('bootstrap/cache')
->notPath('storage')
->notPath('vendor')
->notName('*.blade.php')
->ignoreDotFiles(true)