Skip to content

Instantly share code, notes, and snippets.

View facundobianco's full-sized avatar

Facundo Bianco facundobianco

View GitHub Profile
@facundobianco
facundobianco / install-aws-cli.sh
Last active January 27, 2022 14:30
Install AWS CLI locally (without sudo)
#!/bin/bash
wget -O awscliv2.zip https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip
unzip awscliv2.zip
mkdir ~/.local/share/aws-cli ~/.local/bin
./aws/install -i ~/.local/share/aws-cli -b ~/.local/bin
echo 'export PATH="$PATH:~/.local/bin"' >> ~/.bashrc
@facundobianco
facundobianco / grocy.md
Created July 12, 2021 23:55
Install latest version of grocy.org

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
@facundobianco
facundobianco / ha-python3.9-rspi.md
Last active February 11, 2021 15:29
Upgrade HA to latest stable version in a virtualenv

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 \
@facundobianco
facundobianco / enhacer4yt.json
Created February 17, 2020 17:37
Backup "Enhacer for YouTube" Firefox addon
{"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
@facundobianco
facundobianco / README.md
Last active December 19, 2019 15:19
RetroPie in Odroid XU4
@facundobianco
facundobianco / export.sh
Created September 20, 2018 19:48
Export all public GPG key in your keychain at once
for FNGP in `gpg --list-public-keys | sed -n '/^ /s/.* //p'`
do
gpg --export ${FNGP} >> /tmp/gpg-all-public-keys.asc
done

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

FILE "DRAGON'S LAIR.BIN" BINARY
TRACK 01 MODE2/2352
INDEX 01 00:00:00