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
class EpReminder | |
def __init__(self, phenny): | |
self.phenny = phenny | |
_thread.start_new_thread(cycle_to_next_ep()) | |
def cycle_to_next_ep(self): | |
prev_j = {} | |
while True: | |
j = get_ep_info | |
if j is prev_j: |
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/python3 | |
''' | |
party.py - Pinkie's new nick greeting module | |
(C) 2012 Jordan Kinsley <[email protected]> | |
(C) 2013 Kazune <[email protected]> | |
GPLv2 or later | |
This module checks for when a new nick joins the channel, and if the nick | |
hasn't been seen before, she will throw them a party. | |
''' |
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
import sqlite3 as lite | |
import os | |
conn = lite.connect(os.path.join(os.path.expanduser('~/.phenny'), 'seen.db')) | |
c = conn.cursor() | |
c.execute('''create table if not exists seen( | |
nick varchar(31) NOT NULL PRIMARY KEY, | |
channel varchar(31) NOT NULL, | |
message text, | |
event varchar(10) NOT NULL, |
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 python | |
""" | |
seen.py - Phenny seen module | |
""" | |
import sqlite3 as lite | |
import os | |
def db_connect(db): | |
return lite.connect(db, check_same_thread = False) |
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/python3 | |
''' | |
ping.py - Phenny Ping Module | |
Author: Sean B. Palmer, inamidst.com | |
About: http://inamidst.com/phenny/ | |
Modified from ping.py by Amos | |
Modified by Jordan Kinsley <[email protected]> | |
''' |
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
<Link> If I told her that, she would get on my case! She would go on and on about how she hates you! And I'd get in an even BIGGER fight than we had, then she'd x out of the chat just to spite me! And then I wouldn't want to do the rp anymore because of that, because her matters ended up causing everything to go haywire! | |
<Compu> ((it sounds to me like she doesnt deserve either of us then)) | |
<Compu> ((Braixen so u hate me?)) | |
<Braixen> (??????????????? wait what? i always love father | |
<Link> I guess I kinda overexaggerated a bit...she just hated that you "butt in" to her rp. | |
<Link> Sorry... | |
<Compu> ((SHES THE ONE WHOS FUCKING BUTTING IN!!)) | |
<Link> *sigh* See, this is EXACTLY what I tried to prevent,. | |
<Link> In Braixen's defense, we started before you came on to ask me to rp. But you didn't know that at the time. I tried telling her that... | |
<Compu> ((u didnt tell ME)) |
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
========================================================cpu0================================================================= | |
INTEL | |
(R) Pentium(R) D CPU 3.00GH | |
3000.000 MHz | |
Label103 | |
Temperature | |
Family: 15 | |
Model: 6 | |
Stepping: 4 |
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
def geoip_search(query): | |
query = query.replace('!', '') | |
query = web.quote(query) | |
uri = 'https://freegeoip.net/json/' + query | |
#try: | |
rec_bytes = web.get(uri) | |
#except: | |
# return | |
jsonstring = json.loads(rec_bytes) | |
ip = jsonstring['ip'] |
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
############## Kodi CRASH LOG ############### | |
################ SYSTEM INFO ################ | |
Date: Mon Jan 11 09:35:57 EST 2016 | |
Kodi Options: | |
Arch: x86_64 | |
Kernel: Linux 3.19.0-43-generic #49~14.04.1-Ubuntu SMP Thu Dec 31 15:44:49 UTC 2015 | |
Release: Ubuntu 14.04.3 LTS, Trusty Tahr | |
############## END SYSTEM INFO ############## |
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
############## Kodi CRASH LOG ############### | |
################ SYSTEM INFO ################ | |
Date: Mon Jan 11 14:38:43 EST 2016 | |
Kodi Options: | |
Arch: x86_64 | |
Kernel: Linux 3.19.0-43-generic #49~14.04.1-Ubuntu SMP Thu Dec 31 15:44:49 UTC 2015 | |
Release: Ubuntu 14.04.3 LTS, Trusty Tahr | |
############## END SYSTEM INFO ############## |
OlderNewer