Skip to content

Instantly share code, notes, and snippets.

Avatar

Facundo Bianco vando

View GitHub Profile
@vando
vando / grocy.md
Created Jul 12, 2021
Install latest version of grocy.org
View grocy.md

Install Grocy 3.0.1 on Debian Buster

Install PHP 7.4

First of all, install/upgrade to PHP 7.4 that is required for Groocy 3.0.1

wget -qO - https://packages.sury.org/php/apt.gpg | apt-key add  -
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/source.list.d/php.list
apt update && apt -y install php7.4
@vando
vando / ha-python3.9-rspi.md
Last active Feb 11, 2021
Upgrade HA to latest stable version in a virtualenv
View ha-python3.9-rspi.md

Home Assistant in virtualenv: Install Python 3.9.1 on Raspberry OS

This short guide explains how to upgrade Home Assistant to latest stable version inside a Python virtual environment.

Home Assistant latest release v2021.2 requires Python >= 3.8 to run. The good news is that fully supports Python v3.9. In this guide will install Home Assistant v2021.2.3 (released on Feb 11).

First of all, you should install Python v3.9.1. There ain't a binary package so you will need to compile. Run as root

apt install --no-install-recommends -y build-essential tk-dev libncurses5-dev libncursesw5-dev \
@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