Skip to content

Instantly share code, notes, and snippets.

View rZn's full-sized avatar
🤖

Andreas Rosander rZn

🤖
View GitHub Profile
@rZn
rZn / README.MD
Created June 6, 2018 14:35
DeezLoader Offical Page

DeezLoader Reborn V3.1.1 final

DeezLoader Reborn is here to replace the old DeezLoader V2.3.1.
With this software you can download high-qualiy music and enjoy.

DeezLoader Reborn has been discontinued due to DMCA

Alternatives

Fix for DeezLoader
SMLoadr

@rZn
rZn / Picard Naming Script
Created June 6, 2018 14:25 — forked from chrisvandergeld/Picard Naming Script
Musicbrainz Picard Rename Script
$set(_separateByTypeInArtistFolder,1)
$set(_separateAlbum,0)
$set(_useMusicBrainzStyleForVinylTrack,1)
$set(_useSubDiscFolder,1)
$set(_mergeDiscWhenNotUsingSubfolder,0)
$set(_showDiscSubtitle,0)
$set(_nameForTypeCD,CD)
$set(_nameForTypeVinyl,Disc)
$set(_orderTypeForRoot,1)
$set(_orderTypeForArtist,1)
[Unit]
Description=Plexdrive
AssertPathIsDirectory=/mnt/plexdrive
After=network-online.target
[Service]
User=vertig0ne
Group=vertig0ne
Type=simple
ExecStart=/usr/bin/plexdrive -o allow_other,read_only -v 2 /mnt/plexdrive
@rZn
rZn / 1 - CustomHTMLTab.html
Created May 30, 2018 05:29
Organizr v2 Server Stats
<div class="panel panel-default">
<div class="panel-heading bg-info p-t-10 p-b-10">
<span class="pull-left m-t-5"><img class="homepageImageTitle" data-src="plugins/images/tabs/netdata.png" src="plugins/images/tabs/netdata.png" data-was-processed="true"> <span lang="en">Server Usage</span></span>
<div class="clearfix"></div>
</div>
<div style="overflow:hidden;height:auto;width:100%;">
<div style="width: 100%;height:auto;">
<embed style="height:calc(100%);width:calc(100%)" src='/customnetdata/custom3.html' />
</div>
</div>
@rZn
rZn / bash_aliases
Created March 29, 2018 22:09 — forked from ironicbadger/bash_aliases
Lets Encrypt Reverse Proxy Files
alias dcp='docker-compose -f /opt/docker-compose.yml '
alias dcpull='docker-compose -f /opt/docker-compose.yml pull --parallel'
alias dcplogs='docker-compose -f /opt/docker-compose.yml logs -tf --tail="50" '
alias df='df -h -x aufs -x tmpfs -x udev'
alias editle='sudo vi /opt/appdata/letsencrypt/nginx/site-confs/default'
@rZn
rZn / plexcrypt.service
Created June 25, 2017 21:14 — forked from hthighway/plexcrypt.service
PlexDrive + Rclone Crypt + UnionFS Mount
[Unit]
Description=RClone Mount (crypt)
AssertPathIsDirectory=/mnt/decrypt
After=plexdrive.service
Requires=plexdrive.service
PartOf=plexdrive.service
[Service]
Type=simple
User=username
<?php
/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
/**
*
* LICENSE: GNU Affero General Public License, version 3 (AGPLv3)
* Copyright 2001 - 2015 Ampache.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
@rZn
rZn / snp
Created March 10, 2016 00:07 — forked from erikw/snp
Wrap shell command around btrfs snapper pre-post snapshots and log outputs.
#!/usr/bin/env bash
# Runs a command wrapped in btrfs snapper pre-post snapshots.
log_path="/var/local/log/snp"
date=$(date "+%Y-%m-%d-%H%M%S")
log_file="${log_path}/snp_${date}.log"
! [ -d $log_path ] && mkdir -p $log_path
# Log stdout and stderr. Reference: http://stackoverflow.com/questions/3173131/redirect-copy-of-stdout-to-log-file-from-within-bash-script-itself
exec > >(tee -a "$log_file")
exec 2> >(tee -a "$log_file" >&2)
@rZn
rZn / nginx.conf
Last active August 29, 2015 14:14
server {
listen 443;
server_name myhostname;
ssl on;
ssl_certificate ssl/myhostname.crt;
ssl_certificate_key ssl/myhostname.key;
ssl_session_timeout 5m;