Skip to content

Instantly share code, notes, and snippets.

atl*CLI> core show help
! -- Execute a shell command
acl show -- Show a named ACL or list all named ACLs
ael reload -- Reload AEL configuration
ael set debug {read|tokens|macros|contexts|off} -- Enable AEL debugging flags
agi dump html -- Dumps a list of AGI commands in HTML format
agi exec -- Add AGI command to a channel in Async AGI
agi set debug [on|off] -- Enable/Disable AGI debugging
agi show commands [topic] -- List AGI commands or specific help
aoc set debug -- enable cli debugging of AOC messages
@CvH
CvH / building-static-nginx.txt
Created January 26, 2023 15:32 — forked from rjeczalik/building-static-nginx.txt
Notes on building nginx as a static binary.
# Building static nginx for teh lulz
#
# basic dependencies
sudo apt-get install libxslt1-dev libxml2-dev zlib1g-dev libpcre3-dev libbz2-dev libssl-dev
# download nginx and openssl
wget http://nginx.org/download/nginx-1.5.6.tar.gz
tar xf nginx-1.5.6.tar.gz; cd nginx-1.5.6
@CvH
CvH / build-openssl.sh
Last active January 25, 2023 08:59 — forked from bmaupin/build-openssl.sh
Build openssl (with SSLv2/3 support for security testing)
#!/bin/bash
# OpenSSL version from https://openssl.org/source/
openssl_version=3.0.7
# Install build dependencies
apt -y install build-essential
# Build OpenSSL
cd /root
@CvH
CvH / download.sh
Last active November 17, 2022 13:35
Download latest version of Firefox, LibreOffice, Acrobat Reader, 7Zip, Paint.net and Notepad++
#!/bin/bash
# requires curl and jq
DL_PATH="/var/www/"
download() {
wget --show-progress -N -q --directory-prefix="${DL_PATH}/${FOLDERNAME}" "$1"
}
@CvH
CvH / m88ds3103b.patch
Created September 12, 2018 18:52
m88ds3103b v2
From b32819e37711f40f136ce087e4176ab853f75863 Mon Sep 17 00:00:00 2001
From: CvH
Date: Wed, 12 Sep 2018 20:48:05 +0200
Subject: [PATCH] DS3103B patch
---
drivers/media/dvb-frontends/ds3000.c | 2217 ++++-
drivers/media/dvb-frontends/ds3000.h | 76 +-
drivers/media/dvb-frontends/ds3000_firmware.h | 8203 +++++++++++++++++
drivers/media/usb/dvb-usb/dw2102.c | 46 +-
#!/bin/sh
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 kszaq (kszaquitto (at) gmail.com)
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
@CvH
CvH / a
Last active May 3, 2020 10:18
#!/bin/bash
# set version to use
# check for format 9.2.0 instead of 9.2
if [[ "$1" =~ ^[0-9]{1,2}.[0-9]{1,3}.[0-9]{1,3}$ ]]; then
REPO_VERSION="$1"
else
echo -e "\nUsage:"
echo -e "${0##*/} 9.2.0"
echo -e "${0##*/} 10.80.3"
#!/bin/sh
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2018-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
@CvH
CvH / dl
Created August 6, 2018 01:35
<!DOCTYPE html>
<html>
<head>
<style>
.row {
display: flex;
justify-content: center;
align-items: center;
padding: 0 25px;
font-family: 'Open Sans', sans-serif;
#!/bin/bash
REPO="/path/to/addons"
do_cleanup(){
rm -rf $REPO/*/*/script.program.driverselect 2>/dev/null
}
do_xml(){
for PROJECT in $(find $REPO/* -maxdepth 0 -type d); do