Skip to content

Instantly share code, notes, and snippets.

View Porco-Rosso's full-sized avatar

Porco Rosso Porco-Rosso

View GitHub Profile
@Porco-Rosso
Porco-Rosso / keepEnebyAwake.md
Last active July 5, 2019 13:49
How to stop the IKEA Eneby from going to sleep while on AUX

How to stop the IKEA Eneby from going to sleep while on AUX

for a raspberry pi, or debian-based device connected by 3.5mm jack.

tested on dietpi distro running on Rpi B gen 1 with shairplay-sync

Download quiet low tone file, rename to 15tone.wav

From the root user home folder (~/ when logged in to root)

wget https://s.put.re/w8s9Lk5A.wav -O /root/15tone.wav

@Porco-Rosso
Porco-Rosso / bonjour.sh
Last active June 14, 2018 11:27
script to enable .local mDNS/bonjour service
#! /bin/bash
# This script is to enable bonjour/mDNS services on a debian based system.
# Run as root because YOLO
# execute by running:
# bash <(curl -s https://gist.githubusercontent.com/Porco-Rosso/9e191b17cf530712a0d13496bff06b66/raw/1ee56884a43683eb722baf9661e898de34f98a02/bonjour.sh)
# Script to configure /etc/network/interfaces
printf "\033[1;31mUpdating apt-get cache\033[0m\n"
apt-get update
printf "\033[1;31mTeaching computer to speak french\033[0m\n"
047d49f5e22adf21c6212474ffcb4216f8abd9c13616fd28b41bccbf25b2b207fa0de8b86a1bdbf88d90b7bea156246d751dacaf1ed8020c64d05c7bb5488adcf7
@Porco-Rosso
Porco-Rosso / proxmox-ct-bootstrap.sh
Last active February 16, 2024 11:43
# This script is to help bootstrap the default debian lxc containers for proxmox
#! /bin/bash
# This script is to help bootstrap the default lxc containers for proxmox.
# remember to chmod +x it!
# Use at your own risk!
# update system & install basic packages
printf "\033[1;31mLets just pimp out this bitch with some newer threads and bling\033[0m\n"
apt update && apt upgrade -y
apt install nano -y