Skip to content

Instantly share code, notes, and snippets.

View gabldotink's full-sized avatar
👓

Gabriel “gabldotink” gabldotink

👓
View GitHub Profile
@gabldotink
gabldotink / readme.md
Last active November 11, 2024 21:41
Wayback Machine exclusions and Save Page Now blocklist (very, very incomplete)

Wayback Machine exclusions and Save Page Now blocklist

This gist (permanent link) contains an incomplete, unofficial list of web pages that are either:

  1. excluded from the Wayback Machine—that is, not publicly visible
  2. on the blocklist for the Wayback Machine’s Save Page Now service

wayback_exclusions

Pages that this file represents are prohibited from viewing in the Wayback Machine. Attempting to view captures from these pages will display an error message:

This URL has been excluded from the Wayback Machine.

Moved to https://github.com/pukkandan/yt-dlp-returnyoutubedislike
@MaxXor
MaxXor / btrfs-guide.md
Last active July 19, 2025 00:42
Btrfs guide to set up an LUKS-encrypted btrfs raid volume with included maintenance & recovery guide

Encrypted Btrfs storage setup and maintenance guide

Initial setup with LUKS/dm-crypt

This exemplary initial setup uses two devices /dev/sdb and /dev/sdc but can be applied to any amount of devices by following the steps with additional devices.

Create keyfile:

dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkey
@MatthewRalston
MatthewRalston / roflcopter.md
Created February 14, 2018 19:03
ROFLcopter ASCII text art

ROFLcopter ASCII

If you hear SOI SOI SOI, you better RUN RUN RUN ’cause the ROFLCOPTER ASCII army is coming for you!

THE ORIGINAL ROFLCOPTER

 ROFL:ROFL:ROFL:ROFL
         _^___
 L __/ [] \
@rodrigoborgesdeoliveira
rodrigoborgesdeoliveira / ActiveYouTubeURLFormats.txt
Last active June 14, 2025 17:05 — forked from ScottCooper92/gist:ea11b690ba4b1278e049
Example of the YouTube videos URL formats
http://www.youtube.com/watch?v=-wtIMTCHWuI
http://youtube.com/watch?v=-wtIMTCHWuI
http://m.youtube.com/watch?v=-wtIMTCHWuI
https://www.youtube.com/watch?v=lalOy8Mbfdc
https://youtube.com/watch?v=lalOy8Mbfdc
https://m.youtube.com/watch?v=lalOy8Mbfdc
http://www.youtube.com/watch?v=yZv2daTWRZU&feature=em-uploademail
http://youtube.com/watch?v=yZv2daTWRZU&feature=em-uploademail
http://m.youtube.com/watch?v=yZv2daTWRZU&feature=em-uploademail
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active July 20, 2025 13:22
Hyperlinks in Terminal Emulators
@karlhorky
karlhorky / pr.md
Last active January 9, 2025 09:01 — forked from piscisaureus/pr.md
Fetch all GitHub pull requests to local tracking branches

NOTE

You may not need local branches for all pull requests in a repo.

To fetch only the ref of a single pull request that you need, use this:

git fetch origin pull/7324/head:pr-7324
git checkout pr-7324
# ...
@alexpchin
alexpchin / Add_Existing_Project_To_Git.md
Created June 1, 2014 20:14
Add Existing Project To Git Repo

#Adding an existing project to GitHub using the command line

Simple steps to add existing project to Github.

1. Create a new repository on GitHub.

In Terminal, change the current working directory to your local project.

##2. Initialize the local directory as a Git repository.

git init
@beccasaurus
beccasaurus / goto-branch.sh
Last active January 5, 2023 15:34
Quick hack for checkout git branches into different directories (for when I'm actively working on different branches and want different working directories)
# Working on lots of different branches of different repos
# has been a pain lately, especially when trying to address
# issues in multiple branches at once.
GOTO_BRANCH_DIR="$HOME/.goto-branch"
GOTO_BRANCH_REPOS="$GOTO_BRANCH_DIR/repos"
GOTO_BRANCH_BRANCHES="$GOTO_BRANCH_DIR/branches"
_goto-branch_usage() {
echo "Usage: goto-branch repo-name [branch-name | master]"
@taldanzig
taldanzig / gitpushpull.md
Created January 23, 2013 06:38
Make push/pull work with a remote non-bare repository

Make push/pull work with a remote non-bare repository

Sometimes it is necessary (and desireable) to work on a git repository on multiple development machines. We want to be able to push and pull between repositories without having to use an intermediary bare repository, and for this to work symetrically in both repositories.

First clone we clone an existing repository:

git clone ssh://user@hostname:/path/to/repo

By default this will name the remote as origin, but let's assume we want to reserve that name for a master repository that commits will eventually get pushed to: