Skip to content

Instantly share code, notes, and snippets.

@dbiesecke
dbiesecke / docker-compose.yml
Last active November 15, 2024 16:42
RClone Docker Compose file - with rcd & additional options
version: '3.5'
networks:
default:
name: rclone
driver: "bridge"
services:
rclone:
@dbiesecke
dbiesecke / README.md
Created September 27, 2021 13:08
Filesystem from a single file with fixed size

Filesystem from a single file with fixed size

  • Usefull if you have no lvm

  1. fallocate -l 1G /mnt/downloads.img

  2. mkfs.xfs -f /mnt/test.img

#!/bin/bash
#######################################
### NZBGET POST-PROCESSING SCRIPT ###
# Moves downloads to a configured location using rclone and load balances over
# multiple remotes
#
#
# NOTE: Requires sh, coreutils or busybox, screen and rclone. Remotes must be setup in rclone.conf.
@dbiesecke
dbiesecke / rclone.service
Last active October 5, 2020 01:44
Rclone Systemd Server with rcd
[Unit]
Description=rclone mount
AssertPathIsDirectory=/storage/rclone
After=network-online.service
Requires=network-online.service
Before=kodi.service
[Service]
Type=simple
ExecStart=/storage/bin/rclone rcd --rc-web-gui-no-open-browser \
@dbiesecke
dbiesecke / README.md
Created August 27, 2020 13:38
Streamurl Booklet

Booklet for Webbrowser

================================

javascript:location.href='https://pwn.sh/tools/streamapi.py?url='+encodeURIComponent(document.location.href);

@dbiesecke
dbiesecke / teststream.html
Created July 14, 2020 10:41
MPEGTS JavaScript Player
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/jsmpeg-player@3/build/jsmpeg-player.min.js"></script>
<script>
function testStream() {
var videoUrl = document.getElementById("myinput").value;
new JSMpeg.VideoElement('#videoWrapper', videoUrl);
}
</script>
Creating New Line
To create a New line, we will call the following URL.
http://dns:port/api.php?action=user&sub=create
The above URL, accepts the POST action, and to create a new line we will have to specify some arguments in an array called user_data
Example Code:
@dbiesecke
dbiesecke / README.md
Last active April 13, 2020 20:24
Synology Startup

Startup Methode Synology

  1. /usr/libexec/ hook ,

bsp: /usr/libexec/net/if_link_up/synorelayd_hook.sh


@dbiesecke
dbiesecke / open-in-cloud-shell.md
Last active April 3, 2023 12:57 — forked from manekinekko/open-in-cloud-shell.md
google gcloud.tips / Booklet : use the Google Cloud Shell to clone and edit a github repository

Booklets

To easy open Github/Bitbucket/Gist direct in Google Cloud Shell, you can save a Booklet like this & click on it

--

    javascript:location.href='https://console.cloud.google.com/cloudshell/open?git_repo='+encodeURIComponent(document.location.href)+'&page=editor&open_in_editor=README.md';