This file contains hidden or 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 | |
# -*- coding: utf-8 -*- | |
from tw3 import MyTwitter | |
def main(): | |
twitter = MyTwitter() | |
lists = twitter.get_list_all('yoshiori') | |
for i,data in enumerate(lists): | |
print '%-2s : %s(%s)' % (i+1,data['name'], data['member_count']) |
This file contains hidden or 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 | |
# -*- coding: utf-8 -*- | |
import sys, simplejson, urllib2, urllib, dbm | |
import rfc822,logging, pickle | |
from pit import Pit | |
from time import sleep | |
from tw3 import MyTwitter | |
log = logging.getLogger() |
This file contains hidden or 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
/** | |
* | |
*/ | |
package org.yoshiori.logback.filter; | |
import org.slf4j.Marker; | |
import org.slf4j.MarkerFactory; | |
import ch.qos.logback.classic.spi.ILoggingEvent; | |
import ch.qos.logback.core.filter.AbstractMatcherFilter; |
This file contains hidden or 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 | |
# -*- coding: utf-8 -*- | |
import gntp.notifier | |
import sys | |
applicationIcon = 'http://cdn-ak.f.st-hatena.com/images/fotolife/k/kompiro/20100811/20100811151901.png' | |
notifications = ['OK','Failure','Error'] | |
okIcon = 'https://github.com/kompiro/quick-junit/blob/master/junit.extensions.eclipse.quick.notifications/icons/tsuiteok.gif?raw=true' |
This file contains hidden or 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 | |
# -*- coding: utf-8 -*- | |
import gntp.notifier | |
import sys | |
notifications = ["OK","FAILURE","ERROR"] | |
growl = gntp.notifier.GrowlNotifier( | |
applicationName = "GrowlNotifir.py", | |
notifications = notifications, |
This file contains hidden or 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 | |
# -*- coding: utf-8 -*- | |
import time, random, urllib, urllib2, cgi, hmac, hashlib, commands, simplejson | |
from pit import Pit | |
class MyTwitter(object): | |
request_token_url = 'http://twitter.com/oauth/request_token' |
This file contains hidden or 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
/** | |
* | |
*/ | |
package org.yoshiori.dbutils; | |
import java.beans.BeanInfo; | |
import java.beans.IntrospectionException; | |
import java.beans.Introspector; | |
import java.beans.PropertyDescriptor; | |
import java.lang.reflect.InvocationTargetException; |
This file contains hidden or 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 | |
# -*- coding: utf-8 -*- | |
import sys | |
import pynotify | |
def main(): | |
if len(sys.argv) is not 3: | |
return | |
summary = sys.argv[1]; |
This file contains hidden or 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
/** | |
* | |
*/ | |
package org.yoshiori.cor; | |
/** | |
* @author yoshiori | |
* |
This file contains hidden or 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
<configuration> | |
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |
<Target>System.out</Target> | |
<layout class="ch.qos.logback.classic.PatternLayout"> | |
<Pattern>%d{HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n | |
</Pattern> | |
</layout> | |
</appender> | |
<!--Daily rolling file appender --> |