Skip to content

Instantly share code, notes, and snippets.

# 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.
rsync -aAXv /sde --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /sdf
PrplHaz4 /
Created Apr 28, 2020
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 Jun 29, 2020
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 Sep 9, 2019
RancherOS cloud-config.yml samples
View cloud-config.yml
# start container-cron after user Docker is started #
- path: /etc/rc.local
permissions: "0755"
owner: root
content: |
PrplHaz4 / sysctl -a
Created Jul 12, 2019
RancherOS v1.5.3 sysctl variable list (sysctl -a)
View 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 Jun 10, 2019
Traefik command line arguments (docker run traefik --help)
View traefik-help.txt
$ 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 Nov 11, 2016
Creating a confirmation dialog box for a Yii submit button (CHtml::submitButton, CHtml::button, YiiBooster TbButton)
View gist:6970887
// YiiBooster TbButton
'label'=>'Make some action!',
'type' => 'primary',
'size' => '',
'icon' => 'ok',