Skip to content

Instantly share code, notes, and snippets.

View keyboard.xml
<?xml version="1.0" encoding="UTF-8"?>
<d mod="ctrl">Notification(Keypress, You pressed ctrl-d, 3)</d>
View wakeonlan.xml
View guisettings.xml
<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>
View sources.xml
<default pathversion="1"></default>
<default pathversion="1"></default>
<path pathversion="1">smb://</path>
codyrat / advancedsettings.xml
Last active Aug 29, 2015
Kodi advancedsettings.xml for odroid
View advancedsettings.xml
<!-- General Settings -->
<loglevel hide="true">-1</loglevel> <!-- Comment: Disables logging -->
<skiploopfilter>0</skiploopfilter> <!-- Comment: For RPi or similar use 16 or higher (low CPU usage) -->
<!-- MySQL Library -->
#!/usr/bin/env python2
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (
# The author disclaims copyright to this source code.
import sys
import struct
import socket
import time
import select
codyrat / pool-status.tcl
Created Jun 6, 2013
F5 show tmsh pool status
View pool-status.tcl
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 {
codyrat / gist:5665558
Created May 28, 2013
ssh-agent startup for .bashrc
View gist:5665558
# From bluegraybox gist
# Set up ssh-agent
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