This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<keymap> | |
<FullscreenVideo> | |
<keyboard> | |
<g>AudioNextLanguage</g> | |
<d mod="ctrl">Notification(Keypress, You pressed ctrl-d, 3)</d> | |
<f>FastForward</f> | |
<r>Rewind</r> | |
<period>StepForward</period> | |
<comma>StepBack</comma> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<onaccesswakeup> | |
<netinittimeout>20</netinittimeout> | |
<netsettletime>500</netsettletime> | |
<wakeup> | |
<host>192.168.0.102</host> | |
<mac>00:11:32:0C:F8:EF</mac> | |
<pingport>0</pingport> | |
<pingmode>0</pingmode> | |
<timeout>300</timeout> | |
<waitonline>40</waitonline> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<settings> | |
<audiocds> | |
<autoaction default="true">0</autoaction> | |
<ejectonrip default="true">true</ejectonrip> | |
<encoder default="true">audioencoder.xbmc.builtin.wav</encoder> | |
<recordingpath default="true"></recordingpath> | |
<trackpathformat default="true">%A/%A - %B/[%N. ][%A - ]%T</trackpathformat> | |
<usecddb default="true">true</usecddb> | |
</audiocds> | |
<audiooutput> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<sources> | |
<programs> | |
<default pathversion="1"></default> | |
</programs> | |
<video> | |
<default pathversion="1"></default> | |
<source> | |
<name>Videos</name> | |
<path pathversion="1">smb://192.168.0.102/video</path> | |
<allowsharing>true</allowsharing> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<advancedsettings> | |
<!-- General Settings --> | |
<loglevel hide="true">-1</loglevel> <!-- Comment: Disables logging --> | |
<playcountminimumpercent>95</playcountminimumpercent> | |
<skiploopfilter>0</skiploopfilter> <!-- Comment: For RPi or similar use 16 or higher (low CPU usage) --> | |
<nodvdrom>true</nodvdrom> | |
<!-- MySQL Library --> | |
<videodatabase> | |
<type>mysql</type> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org) | |
# The author disclaims copyright to this source code. | |
import sys | |
import struct | |
import socket | |
import time | |
import select |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@llb2(Active)(tmos)# edit cli script pool-status.tcl | |
modify script pool-status.tcl { | |
proc script::run {} { | |
set pool_names "" | |
if { $tmsh::argc == 1} { | |
puts "enter one or more pool names" | |
exit 1 | |
} | |
set pool_names [lrange $tmsh::argv 1 end] | |
foreach pn $pool_names { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# From bluegraybox gist | |
# Set up ssh-agent | |
SSH_ENV="$HOME/.ssh/environment" | |
function start_agent { | |
echo "Initializing new SSH agent..." | |
/usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}" | |
chmod 600 "${SSH_ENV}" | |
. "${SSH_ENV}" > /dev/null |