Skip to content

Instantly share code, notes, and snippets.

@CvH
CvH / download.sh
Created Oct 6, 2022
Download latest version of Firefox, LibreOffice, Acrobat Reader, 7Zip, Paint.net and Notepad++
View download.sh
#!/bin/bash
# requires curl and jq
DL_PATH="/var/www/"
download() {
wget --show-progress -N -q --directory-prefix="${DL_PATH}/${FOLDERNAME} $1"
}
View installtointernal
#!/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.
View m88ds3103b.patch
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 +-
View dl
<!DOCTYPE html>
<html>
<head>
<style>
.row {
display: flex;
justify-content: center;
align-items: center;
padding: 0 25px;
font-family: 'Open Sans', sans-serif;
View a
#!/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"
View repo
#!/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
View m88ds3103b.patch
From 7e05347b2e4f2258edd770d33a725bca37ec71b8 Mon Sep 17 00:00:00 2001
From: CvH
Date: Sun, 1 Jul 2018 13:28:43 +0200
Subject: [PATCH] patch
---
drivers/media/dvb-frontends/ds3000.c | 1348 ++++++++++++++---
drivers/media/dvb-frontends/ds3000_firmware.h | 1035 +++++++++++++
drivers/media/usb/dvb-usb/dw2102.c | 43 +-
3 files changed, 2239 insertions(+), 187 deletions(-)
View emby.update
#!/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 / banned_repos
Last active Apr 25, 2018
List of problematic repositories (most likely false-positive included) - to report an clean repo write an comment below
View banned_repos
repository.1orgar
repository.Agent-47
repository.AznKodi
repository.BES-IPTV
repository.BancadeJornais.xbmc
repository.BlackBox247
repository.BlackBox247-REPO
repository.BlazeRepo
repository.CanadaOnDemand
repository.Coolwave.v2
View some.patch
Subject: [media] lirc: LIRC_GET_REC_RESOLUTION should return microseconds
From: Sean Young <sean@mess.org>
Date: Tue, 11 Jul 2017 10:47:37 +0100
Since commit e8f4818895b3 ("[media] lirc: advertise
LIRC_CAN_GET_REC_RESOLUTION and improve") lircd uses the ioctl
LIRC_GET_REC_RESOLUTION to determine the shortest pulse or space that
the hardware can detect. This breaks decoding in lirc because lircd
expects the answer in microseconds, but nanoseconds is returned.