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"?> | |
<methodResponse> | |
<params> | |
<param> | |
<value> | |
<struct> | |
<member> | |
<name>status</name> | |
<value> | |
<string>200 OK</string> |
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"?> | |
<methodCall> | |
<methodName>SearchSubtitles</methodName> | |
<params> | |
<param> | |
<value> | |
<string>6thlkcb8nej69gk6ed0s5f8s40</string> | |
</value> | |
</param> | |
<param> |
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 | |
#Verify your interfaces using "ifconfig" and disconnecting/reconnecting WiFi and Ethernet to find out which is which | |
# Works in mountain lion. Might need changes in DETECT_INET in other versions | |
# Default sound name "PC 3270 Beep" doesn't exist in standard installs. Sound name should be the file name, | |
# without extension, of .aif file placed in either /System/Library/Sounds or ~/Library/Sounds | |
# In this case I have /Users/eduo/Library/Sounds/PC 3270 Beep.aiff so name is "PC 3270B Beep" | |
# Remember to set permissions to execute on this script: chmod 755 WiFiOrEth.sh |
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"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- Assumes script is named WiFiOrEth.sh in home directory --> | |
<!-- Edit, then unload and reload --> | |
<!-- launchctl unload ~/Library/LaunchAgents/info.eduo.WiFiOrEth.plist; --> | |
<!-- launchctl load ~/Library/LaunchAgents/info.eduo.WiFiOrEth.plist --> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>info.eduo.WiFiOrEth</string> |
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
<? | |
date_default_timezone_set('UTC'); | |
// Functions Start Here | |
thisHost="yourhost.com" | |
if(!function_exists('date_diff')) { | |
class DateInterval { | |
public $y; |
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
// OSHash.swift | |
// Originally implemented from Objective-C version for Swift by omerucel 18/04/2015 | |
// http://trac.opensubtitles.org/projects/opensubtitles/wiki/HashSourceCodes#Objective-C | |
// Updated for Swift 2 by eduo on 15/06/15. | |
// Copyright © 2015 Eduardo Gutierrez. All rights reserved. | |
// | |
import Foundation | |
class OSHashAlgorithm: NSObject { |
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 | |
# | |
### Get Lists | |
ls -1 {episodes,movies}.txt | head -n 1 | while read LIST | |
do | |
### Go Through Lists | |
cat "${LIST}" | sort | while read FILE | |
do | |
### Get filename | |
FILENAME=${FILE##*/} |
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 | |
# | |
cd /Volumes/TV-MOVIES/TV/ | |
#find . -name ".?*" -print | while read line | |
#do | |
#rm "$line" | |
#echo "${line}" | |
#done |
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 | |
# | |
# Rudimentary bash script to split Call Recorder files for import into Logic Pro X | |
# Files are saved as M4A (MP4 Audio) files, which are readily importable | |
# into Logic Pro X. | |
# Script should work with most formats FFMPEG recognizes, really. | |
# REMEMBER Call Recorder does this annoying thing of saving your file with the name of |
OlderNewer