Skip to content

Instantly share code, notes, and snippets.

@PrplHaz4
PrplHaz4 / MCERegistrySettings.md
Created Apr 28, 2020
Windows Media Center Registry Keys
View MCERegistrySettings.md

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

Source: https://docs.microsoft.com/en-us/archive/blogs/astebner/registry-settings-that-can-be-used-to-configure-advanced-media-center-options Ref: http://windows-now.com/blogs/robert/windows-media-center-registry-tweaks.aspx

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
PrplHaz4 / omv5.sh
Last active Jun 29, 2020
openmediavault commands
View omv5.sh
# Debug Web Frontend
# https://github.com/openmediavault/openmediavault/issues/476#issuecomment-547301980
# First, open /etc/default/openmediavault and set OMV_DEBUG_EXTJS=yes
monit restart omv-engined
# Enable Wake-on-Lan for 5.2 Kernel
# https://github.com/openmediavault/openmediavault/issues/442#issuecomment-547871769
# create cron job that runs on startup
/usr/sbin/ethtool -s eth0 wol g
@PrplHaz4
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 #
# https://github.com/rancher/os/issues/2846
#cloud-config
rancher:
write_files:
- path: /etc/rc.local
permissions: "0755"
owner: root
content: |
@PrplHaz4
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
dev.cdrom.info = CD-ROM information, Id: cdrom.c 3.20 2003/12/17
@PrplHaz4
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 https://traefik.io
Usage: traefik [flags] <command> [<arguments>]
Use "traefik <command> --help" for help on any command.
Commands:
@PrplHaz4
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
$this->widget('bootstrap.widgets.TbButton',array(
'label'=>'Make some action!',
'buttonType'=>'submit',
'visible'=>true,
'type' => 'primary',
'size' => '',
'icon' => 'ok',