Skip to content

Instantly share code, notes, and snippets.

@dbiesecke
dbiesecke / README.md
Created September 10, 2022 16:48
Rclone auto mount + populate filesystem

Automount rclone

==========

Example invocation afuseusing sshfs:

`afuse -o mount_template="sshfs %r:/ %m" \
        -o unmount_template="fusermount -u -z %m" \
           mountpoint/`
@dbiesecke
dbiesecke / docker-compose.yml
Last active August 24, 2022 13:28
RClone Docker Compose file - with rcd & additional options
version: '3.5'
networks:
default:
name: rclone
driver: "bridge"
services:
rclone:
@dbiesecke
dbiesecke / README.md
Last active August 20, 2022 07:23
Simple gist to show the aptly magic :)

Aptly Real-Live example

Install Repo

$ echo 'deb http://repo.aptly.info/ squeeze main' > /etc/apt/sources.list.d/aptly.list && wget -qO - https://www.aptly.info/pubkey.txt | sudo apt-key add -

$ apt-get update && apt-get install -y -f aptly

@dbiesecke
dbiesecke / README.md
Created October 4, 2018 21:58
Speed Reinigen

Reinigung eines Amphetaminsalzes(4 Methoden)

Zur Einführung:

Ich Stelle nun 4 Reinigungs-Methoden vor, dabei hat Jede Vor- und Nachteile und einige davon funktionieren sogar mit jedem Amphetaminsalz, egal ob Sulfat, 'HCl, Phosphat, Citrat ect.. Allerdings steigt damit auch der präparative Aufwand, die Anzahl der benötigten frei verfügbaren Chemiekalien und Gerätschaften (=einmalige Anschaffungskosten).

@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 / README.md
Last active June 20, 2021 09:46
FUSE Tips & Tricks

Basic

Example invocation using sshfs:

`afuse -o mount_template="sshfs %r:/ %m" \
        -o unmount_template="fusermount -u -z %m" \
           mountpoint/`

Now try ls mountpoint/user@host/.

@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);