Skip to content

Instantly share code, notes, and snippets.

Avatar

Porco Rosso Porco-Rosso

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

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 Jun 14, 2018
script to enable .local mDNS/bonjour service
View bonjour.sh
#! /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"
View genesis_public_key
047d49f5e22adf21c6212474ffcb4216f8abd9c13616fd28b41bccbf25b2b207fa0de8b86a1bdbf88d90b7bea156246d751dacaf1ed8020c64d05c7bb5488adcf7
@Porco-Rosso
Porco-Rosso / proxmox-ct-bootstrap.sh
Last active Mar 25, 2020
# This script is to help bootstrap the default openvz containers for proxmox. It enables dhcp, enables console access, bonjour, and sets a custom bash prompt. Only supports debian 8 (officially)!
View proxmox-ct-bootstrap.sh
#! /bin/bash
# This script is to help bootstrap the default openvz containers for proxmox.
# It enables dhcp and enables console access, nothing else really.
# Only supports debian 8!
# remember to chmod +x it!
# Use at your own risk!
#### No longer needed, static IPs
# Script to configure /etc/network/interfaces
#printf "\033[1;31mConfiguring your network interface, playa\033[0m\n"
#echo ""
You can’t perform that action at this time.