Skip to content

Instantly share code, notes, and snippets.

@gAlleb
gAlleb / Snowflakes_Azuracast.css
Created December 25, 2023 11:34
Snowflakes_Azuracast
.snowflakes-container {
overflow: hidden;
filter: drop-shadow(0 0 10px #65b2e4);
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0
}
@gAlleb
gAlleb / Christmas_Lights_Azuracast.css
Last active September 27, 2024 14:33
Christmas Lights for Azuracast Public Page (quick and very dirty)
.lightrope {
text-align: center;
white-space: nowrap;
overflow: hidden;
position: absolute;
z-index: 9999;
margin: -17px 0 0 0;
padding: 0;
pointer-events: none;
width: 100%;
@Hiromi-nee
Hiromi-nee / README-CodiMD-Restore.md
Created July 21, 2022 14:34 — forked from Himura2la/README-CodiMD-Restore.md
CodiMD Backup and Restore
@BusterNeece
BusterNeece / video_stream.liq
Last active June 26, 2025 18:43
Liquidsoap 2.1 Video Stream with HLS
# Update:
# I am moving this script back to its original home as part of the AzuraCast repository:
# https://github.com/AzuraCast/radio-video-stream
# --
# See updated instructions there.
@trustin
trustin / logid.cfg
Last active April 4, 2025 14:51
logiops settings for Logitech MX Anywhere 3 and 2 (/etc/logid.cfg)
devices: ({
name: "MX Anywhere 3";
hiresscroll: {
hires: true;
invert: false;
target: false;
up: {
mode: "Axis";
axis: "REL_WHEEL_HI_RES";
@schlingel
schlingel / AzuraCastBeispiel.asciidoc
Last active May 14, 2024 13:13
Kurze Erläuterung zur Azura API Verwendung.

Azura Beispiel Code

Alle Daten die man benötigt sind schon im Station-Response drinnen. In diesem Beispiel nehmen wir einfach die Daten daraus und wiederholen den Aufruf alle 1,5 Sekunden um aktuell zu bleiben.

Das Beispiel besteht aus zwei Dateien. Einem HTML-File namens index.html. Dieses definiert nur eine sehr grobe Grundstruktur in der die Daten dargestellt werden. Das zweite File heißt azura_beispiel.js und definiert die Logik, die die Daten abruft und darstellt.

@pirate
pirate / docker-compose-backup.sh
Last active April 5, 2026 12:52
Backup a docker-compose project, including all images, named and unnamed volumes, container filesystems, config, logs, and databases.
#!/usr/bin/env bash
### Bash Environment Setup
# http://redsymbol.net/articles/unofficial-bash-strict-mode/
# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
# set -o xtrace
set -o errexit
set -o errtrace
set -o nounset
set -o pipefail
@niko
niko / vimrc
Created March 12, 2018 08:33
set nocompatible
set number
" show invisible characters:
set list
set listchars=tab:▸\ ,eol
set listchars+=trail:˙
" allow buffer changes without saving:
@keijodputt
keijodputt / check_shoutcast_v2
Created December 7, 2017 05:52
Simple Nagios plugin to check on a SHOUTCast V2 server -- Based on 'Check SHOUTcast Server' by ChrisWi/Juliano Jeziorny
#!/bin/sh
# Nagios shoutcast plug-in
# By Juliano Jeziorny (djkadu@gmail.com)
# Rev 0.1
# 23/11/2010
# *********************************************************
# Modified and adapted for Shoutcast 2 to parse xml stats
# and detect unconnected source
# Rev 0.2 by Keijo D. Putt
# 07-Dec-2017
@v4lli
v4lli / fish.cpp
Created October 10, 2017 08:28
ZNC Fish Module with OpenSSL 1.1 patches (10/10/2017)
#include "znc/main.h"
#include "znc/User.h"
#include "znc/Nick.h"
#include "znc/Modules.h"
#include "znc/Chan.h"
#include "znc/IRCNetwork.h"
#include <string.h>
using std::pair;
using std::map;