Skip to content

Instantly share code, notes, and snippets.

View Procsiab's full-sized avatar
🧪
Implementing mad experiments...

Lorenzo Prosseda Procsiab

🧪
Implementing mad experiments...
  • EXTRAORDY - La formazione ufficiale Red Hat
  • Italy
View GitHub Profile
@DavidePrincipi
DavidePrincipi / castanet.sh
Last active May 5, 2026 19:05 — forked from interfect/castanet.sh
Set up a Chromecast from a Linux PC, without an Android or iOS mobile device and without Google Home
#!/usr/bin/env bash
# castanet.sh: Script to connect a chromecast to a WiFi network.
#
# Allows you to put your Chromecast on WiFi and do Chromecast initial setup
# without using the Google Home app at all, just using a normal Linux computer.
#
# You do need your Chromecast to be on Ethernet, or (untested) to join its setup WiFi
# network with your PC, and you also need to find out its IP yourself with e.g.
# Wireshark.
@aynik
aynik / rtttl_to_casio.py
Created August 14, 2024 04:38
RTTTL folder to Casio buzzer sequence structs
#!/usr/bin/env python3
import sys
import os
from ptttl.parser import PTTTLParser
from math import log2
DURATION_ADJUSTMENT = 18
def parse_rtttl(file_path):
with open(file_path, 'r') as f:
@cyberworm-uk
cyberworm-uk / README.md
Last active April 26, 2023 14:03
Fedora IOT AArch64 Kernel 6.2 Boot Fix

Fedora IOT AArch64 Kernel 6.2 Boot Fix

As reported by Fedora CoreOS team, on the AArch64 / ARM64 architecture the new 6.2 kernels will not boot due to older bootloaders in Fedora IoT.


Update

There is now some guidance from the Fedora IoT team on this here. This is probably the better course of action to take than my method below.

@interfect
interfect / castanet.sh
Last active June 3, 2026 09:08
Set up a Chromecast from a Linux PC, without an Android or iOS mobile device and without Google Home
#!/usr/bin/env bash
# castanet.sh: Script to connect a chromecast to a WiFi network.
#
# Allows you to put your Chromecast on WiFi and do Chromecast initial setup
# without using the Google Home app at all, just using a normal Linux computer.
#
# You do need your Chromecast to be on Ethernet, or (untested) to join its setup WiFi
# network with your PC, and you also need to find out its IP yourself with e.g.
# Wireshark.
@dnburgess
dnburgess / gist:5c93209089ee80c13e2834664a4267dc
Last active May 22, 2022 04:49
DB Tech Vikunja Docker-Compose.yml
version: '3'
services:
db:
image: mariadb:10
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
environment:
MYSQL_ROOT_PASSWORD: supersecret
MYSQL_USER: vikunja
MYSQL_PASSWORD: secret
@mrintrepide
mrintrepide / AV1 Encode.md
Last active January 16, 2026 03:11
AV1 quick encode with SVT-AV1

SVT-AV1 is the fastest multithreaded AV1 encoder
You can download up to date BtbN ffmpeg build with latest STV-AV1 code.

Aom-av1 is the official av1 decoder/encoder but it's the slowest and lacks of a real massive multithreading.
Rav1e is a xiph encoder project. It's also very slow but you can use multithreading with tiles.
Dav1d is a veryfast AV1 VLC decoder project.

Svt-av1 is an heavy multithreading intel decoder and encoder. It produce good quality but bigger file size.
It can produce 8 and 10 bit video with CRF (default), CQP, VBR and CBR (test).
Two pass are also available with standalone SvtAv1EncApp but not in ffmpeg.

@reillysiemens
reillysiemens / signing-vbox-kernel-modules.md
Last active May 31, 2026 10:08
Signing VirtualBox Kernel Modules

Signing VirtualBox Kernel Modules

These are the steps I followed enable VirtualBox on my laptop without disabling UEFI Secure Boot. They're nearly identical to the process described on [Øyvind Stegard's blog][blog], save for a few key details. The images here are borrowed from the [Systemtap UEFI Secure Boot Wiki][systemtap].

  1. Install the VirtualBox package (this might be different for your platform).
    src='https://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo'
@AlLongley
AlLongley / scrcpy_ffplay.py
Last active October 5, 2023 14:34
Android screen viewing Python client to "scrcpy"
'''
Connect to an existing, ADB forwarded Android "scrcpy" session
and pipe the video stream into FFPlay
https://github.com/Genymobile/scrcpy/
'''
import socket
import struct
import sys
@princebot
princebot / install_wormhole.bat
Created July 29, 2017 17:44
Install Python magic-wormhole on Windows.
::
:: This script installs wormhole (https://github.com/warner/magic-wormhole) and
:: its prerequisites. Run this as an administrator.
::
:: Install chocolatey.
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
:: Install Python 3.
choco install -y python