Skip to content

Instantly share code, notes, and snippets.

PrplHaz4 /
Created March 31, 2022 01:01
# This program 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 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# GNU General Public License for more details.
PrplHaz4 /
Created March 30, 2022 22:09
rsync -aAXv /sde --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /sdf
PrplHaz4 /
Created April 28, 2020 19:55
Windows Media Center Registry Keys

Registry settings that can be used to configure advanced Media Center options

Source: Ref:

There have been a couple of posts by myself and Matt Goyer listing some of the registry keys and values that TweakMce changes behind the scenes to configure advanced options within Windows Media Center.

I decided that it would be worthwhile to post all of the registry keys and values that can be changed via TweakMce in case you are running a beta build of Windows Vista and cannot install the current version of TweakMce, or if you would like to change these Media Center settings without needing to download and install TweakMce or resort to a registry monitoring tool such as RegMon to reverse engineer these settings yourself.

Skip Forward Interval - Enter the number of milliseconds you want to skip forward w

PrplHaz4 /
Last active June 29, 2020 18:44
openmediavault commands
# Debug Web Frontend
# First, open /etc/default/openmediavault and set OMV_DEBUG_EXTJS=yes
monit restart omv-engined
# Enable Wake-on-Lan for 5.2 Kernel
# create cron job that runs on startup
/usr/sbin/ethtool -s eth0 wol g
PrplHaz4 / cloud-config.yml
Last active September 9, 2019 20:25
RancherOS cloud-config.yml samples
# start container-cron after user Docker is started #
- path: /etc/rc.local
permissions: "0755"
owner: root
content: |
PrplHaz4 / sysctl -a
Created July 12, 2019 15:28
RancherOS v1.5.3 sysctl variable list (sysctl -a)
$ sysctl -a | more
abi.vsyscall32 = 1
debug.exception-trace = 1
debug.kprobes-optimization = 1
dev.cdrom.autoclose = 1
dev.cdrom.autoeject = 0
dev.cdrom.check_media = 0
dev.cdrom.debug = 0 = CD-ROM information, Id: cdrom.c 3.20 2003/12/17
PrplHaz4 / traefik-help.txt
Created June 10, 2019 20:11
Traefik command line arguments (docker run traefik --help)
$ docker run traefik --help
traefik is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease.
Complete documentation is available at
Usage: traefik [flags] <command> [<arguments>]
Use "traefik <command> --help" for help on any command.
PrplHaz4 / gist:6970887
Last active November 11, 2016 12:40
Creating a confirmation dialog box for a Yii submit button (CHtml::submitButton, CHtml::button, YiiBooster TbButton)
// YiiBooster TbButton
'label'=>'Make some action!',
'type' => 'primary',
'size' => '',
'icon' => 'ok',