Skip to content

Instantly share code, notes, and snippets.

Facundo Bianco vando

View GitHub Profile
@vando
vando / enhacer4yt.json
Created Feb 17, 2020
Backup "Enhacer for YouTube" Firefox addon
View enhacer4yt.json
{"version":"2.0.99","settings":{"autofocusevents":"ads,annotations,cinema,size,boost,loop,speed,filters","autopausevideos":true,"backgroundcolor":"#000000","backgroundopacity":85,"blur":0,"brightness":100,"cinemamode":false,"cinemamodewideplayer":true,"contrast":100,"controlvolume":false,"controlvolumemousebutton":false,"customtheme":"","date":1580731962983,"defaultvolume":false,"disableautoplay":false,"disablepreloading":false,"enablefilters":false,"executescript":false,"expanddescription":false,"grayscale":0,"huerotate":0,"filter":"none","ignoreplaylists":true,"message":false,"invert":0,"newestcomments":false,"overridespeeds":true,"pauseforegroundtab":false,"pausevideos":true,"permissions":false,"pinnedplayer":false,"pinnedplayerposition":"_top-left","pinnedplayersize":"_400x225","quality1":"hd1080","quality2":"hd720","quality3":"large","quality4":"medium","removeads":false,"removeannotations":true,"reversemousewheeldirection":false,"saturate":100,"script":"","selectquality":false,"sepia":0,"slideeffect":fa
@vando
vando / README.md
Last active Dec 19, 2019
RetroPie in Odroid XU4
View README.md
@vando
vando / export.sh
Created Sep 20, 2018
Export all public GPG key in your keychain at once
View export.sh
for FNGP in `gpg --list-public-keys | sed -n '/^ /s/.* //p'`
do
gpg --export ${FNGP} >> /tmp/gpg-all-public-keys.asc
done
View un-revoke_revoked_key.md

GPG: Un-revoke a revoked key (UID)

Edit your key

gpg --expert --edit-key you@example.com

Select the user ID and re-sign it

View Dragon's Lair.cue
FILE "DRAGON'S LAIR.BIN" BINARY
TRACK 01 MODE2/2352
INDEX 01 00:00:00
@vando
vando / cdiburn.sh
Created Jan 11, 2018
Burn CDI images (Dreamcast) in Debian
View cdiburn.sh
#!/bin/bash
#
# Script from http://dcemulation.org/phpBB/viewtopic.php?f=48&t=98311
# I just updated it for running into Debian 9.
if whereis -b cdirip | grep -vq /bin
then
echo "cdirip isn't installed, please run:"
echo ""
echo " wget -qO - https://github.com/jozip/cdirip/archive/v0.6.3.tar.gz | tar -zxvf - -C /tmp"
View Mario_Adventure_Manual.txt
Mario Adventure Simple Manual
--------------------------------------------------------------------------
How to Patch
Depending on the version of the SMB3 rom you have, you'll have to use a different patch.
Mario_Adventure_0.ips is for the SMB3 rom Super Mario Bros. 3 (PRG 0) U.nes rom file name.
Mario_Adventure_1.ips is for the SMB3 rom Super Mario Bros. 3 (PRG 1) U.nes rom file name.
They are not the same, so if one doesn't work, try the other, if that doesn't work, get a
@vando
vando / fetch-calibre-recipes.sh
Created Jul 28, 2017
Calibre: Fetch only recipes from git repository
View fetch-calibre-recipes.sh
mkdir calibre-recipes-git
cd calibre-recipes-git
git init
git remote add origin https://github.com/kovidgoyal/calibre
git config core.sparsecheckout true
echo '*.recipe' > .git/info/sparse-checkout
git pull --depth=1 origin master
@vando
vando / ignorelid.sh
Created Jul 3, 2017
Prevent laptop suspends when lid is closed
View ignorelid.sh
sed -i '/HandleLidSwitch=/{s/#//;s/suspend/ignore/}' /etc/systemd/logind.conf && \
service systemd-logind restart
You can’t perform that action at this time.