Skip to content

Instantly share code, notes, and snippets.

@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';
@dbiesecke
dbiesecke / docker-compose.yml
Created November 26, 2019 10:37
c9 / c50ide
services:
cloud9:
image: cs50/ide
container_name: cloud9
environment:
- PGID=${PGID}
- PUID=${PUID}
- TZ=${TZ}
# - PORT=80
# - IP=178.254.3.20
@dbiesecke
dbiesecke / README.md
Created October 25, 2019 20:41
Go - Headless Browser with gotk3

#Go - Headless Browser with gotk3

  • gotk3 | go-webkit2
  • On Ubuntu 14/16/18+ sudo apt-get install -y libglib2.0-dev libcairo2-dev libgtk-3-dev xvfb

go get -tags gtk_3_10 github.com/gotk3/gotk3/gtk

#!/usr/bin/perl
# use Carp;
# require Exporter;
# require DynaLoader;
# require 5.006;
my $hostname = `hostname | xargs echo -n`; # bot will get here machine name
my $name = getlogin."\@".$hostname;