Skip to content

Instantly share code, notes, and snippets.

Facundo Bianco vando

Block or report user

Report or block vando

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@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
View HDD info in Debian
apt-get install --no-install-recommends -y hdparm lshw
hdparm -I /dev/sda | sed -n '/Number/p;/size.*GB/p'
lshw -class disk -class storage
@vando
vando / s3cmd.sh
Created Jun 21, 2017
Install S3CMD v1.5.0 in old Debian release
View s3cmd.sh
virtualenv s3cmd-virtualenv
source s3cmd-virtualenv/bin/activate
pip install 's3cmd==1.5.0' \
python-magic \
python-gnupg \
python-dateutil
You can’t perform that action at this time.