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
From tv_grab_na_dd: | |
<channel id="I10021.labs.zap2it.com"> | |
<display-name>32 AMC</display-name> | |
<display-name>32 AMC AR03460:X</display-name> | |
<display-name>32</display-name> | |
<display-name>AMC</display-name> | |
<display-name>AMC</display-name> | |
<display-name>Satellite</display-name> | |
</channel> |
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 | |
echo -n "GitHub User: " | |
read USER | |
echo -n "GitHub Password: " | |
read -s PASS | |
echo "" | |
echo -n "GitHub Repo (e.g. foo/bar): " |
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
USER=rentzsch | |
PASS=mypassword | |
REPO=mogenerator | |
# Delete default labels | |
curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/bug" | |
curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/duplicate" | |
curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/enhancement" | |
curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/invalid" | |
curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/question" |
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/perl -w | |
################################################################ | |
# | |
# Calling this script with a parameter results in data for a | |
# given tv show being screen scraped from epguides.com and | |
# added to the episode table. | |
# | |
# Calling this script without a parameter results in the | |
# program table being checked for shows that need to be marked | |
# as already recorded so we can avoid recording episodes we |
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/perl -w | |
############################################################################################################################### | |
## Name: appswitch.pl | |
## | |
## Purpose: Executed by irexec this script will cycle between mythtv and kodi using a single button. | |
## | |
## (C)opyright 2008 Arksoft. | |
## | |
## Author: Arkay | |
## |
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 ruby | |
require 'rubygems' | |
require 'rexml/document' | |
require 'mysql2' | |
require 'date' | |
HOME_CONFIG = "#{ENV['HOME']}/.mythtv/config.xml" | |
ETC_CONFIG = "/etc/mythtv/config.xml" | |
if File.exist?(HOME_CONFIG) |
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
<control type="label"> | |
<description>IP Address</description> | |
<left>200</left> | |
<top>5</top> | |
<height>49</height> | |
<width min="200" max="300">auto</width> | |
<label>IP: $INFO[Network.IPAddress]</label> | |
<align>left</align> | |
<aligny>center</aligny> | |
<font>font12</font> |
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 = { | |
'hostname': '192.168.0.250', | |
'port': '80', | |
'username': 'xbmc', | |
'password': 'xbmc' | |
} | |
http_address = 'http://%s:%s/jsonrpc' % (settings['hostname'], settings['port']) |
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/sh | |
now="$(date +'%d_%m_%Y_%H_%M_%S')" | |
filename="mysql-kodi_backup_$now".gz | |
backupfolder="/media/5a24e136-09b9-48e1-95db-b44d5db3e28a/Backup/mysql" | |
fullpathbackupfile="$backupfolder/$filename" | |
logfile="$backupfolder/"backup_log_"$(date +'%Y_%m')".txt | |
echo "mysqldump started at $(date +'%d-%m-%Y %H:%M:%S')" >> "$logfile" | |
mysqldump --user=xbmc --password=xbmc --default-character-set=utf8 --single-transaction --all-databases | gzip > "$fullpathbackupfile" | |
echo "mysqldump finished at $(date +'%d-%m-%Y %H:%M:%S')" >> "$logfile" |
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
#update | |
apt-get update | |
# synapse app launcher | |
add-apt-repository ppa:synapse-core/ppa | |
apt-get update | |
apt-get install synapse | |
# gnome classic | |
apt-get install gnome-session-fallback |
OlderNewer