aly / evelogparse.py
0 likes
0 forks
1 files
Last active
EVE Online unfinished chat log parser. Contains some useful functions.
| 1 | import os |
| 2 | import time |
| 3 | |
| 4 | # Config |
| 5 | NAME = ["Steven Kafshaz"] |
| 6 | |
| 7 | LASTMSG = {} |
| 8 | |
| 9 | def filesbychannel(dirlist): |
| 10 | out = {} |
aly / skype_list_rooms.py
0 likes
0 forks
1 files
Last active
List active chats with their IDs. Used with https://gist.github.com/blha303/9913570
| 1 | import Skype4Py |
| 2 | skype = Skype4Py.Skype(Transport='x11') |
| 3 | print "\n\n".join(["%s: %s" % (a.Name, ", ".join([b.Handle for b in a.Members])) for a in skype.Chats]) |
aly / mp3list.php
0 likes
0 forks
1 files
Last active
Produce list of MP3 files in current and sub directories, playable by clicking
| 1 | <?php |
| 2 | if (isset($_GET['print'])) { |
| 3 | highlight_file(__FILE__); |
| 4 | die(); |
| 5 | } |
| 6 | function load_addon($filename) { |
| 7 | if (file_exists($filename)) { |
| 8 | include $filename; |
| 9 | } |
| 10 | } |
aly / showprocess.py
0 likes
0 forks
1 files
Last active
Script to rename daily show episodes to "<show name> sXXeXX"
| 1 | import os |
| 2 | import requests |
| 3 | import XML2Dict # The PyPI installer doesn't work; get this from http://blha303.com.au/XML2Dict.zip |
| 4 | from sys import argv |
| 5 | |
| 6 | apikey = argv[1] # Get your API key from http://www.thetvdb.com/wiki/index.php?title=Programmers_API |
| 7 | ids = {"The.Daily.Show": "71256", "The.Colbert.Report": "79274", "Craig.Ferguson": "73387"} |
| 8 | eplookupurl = "http://thetvdb.com/api/GetEpisodeByAirDate.php?apikey=%s&seriesid=%s&airdate=%s" |
| 9 | srslookupurl = "http://thetvdb.com/data/series/%s/en.xml" |
| 10 | # I hate working with XML, so let's make them dicts. |