Skip to content

Instantly share code, notes, and snippets.

View yoshiori's full-sized avatar
🏠
Working from home

Yoshiori Shoji yoshiori

🏠
Working from home
View GitHub Profile
;; -*- Mode: Emacs-Lisp ; Coding: utf-8 -*-
;; OSを判別 http://coderepos.org/share/browser/dotfiles/emacs/kentaro/.emacs
(defvar run-unix
(or (equal system-type 'gnu/linux)
(or (equal system-type 'usg-unix-v)
(or (equal system-type 'berkeley-unix)
(equal system-type 'cygwin)))))
(defvar run-linux
(equal system-type 'gnu/linux))
#!/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'
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from tw3 import MyTwitter
from hatenagraph import HatenaGraph
from pit import Pit
if __name__ == '__main__':
twitter = MyTwitter()
result = twitter.show('yoshiori')
SI業界(日本)のJavaプログラマーにはオブジェクト指向より忍耐力が求められている? - 達人プログラマーを目指して
http://d.hatena.ne.jp/ryoasai/20110109/1294581985
をうけて自分の考えを書いておきます。
二年前なら、自分もどうしたら Java 界隈をよく出来るか真剣に考えていたし、Sun の人達と実際に話し合いもしています。
でも、ソーシャル、クラウド、スマフォの時代になって、考えが変わりました。
596 名前:名無しさん@お腹いっぱい。 [sage] :2011/01/18(火) 21:39:32 ID:7RufP18u
ソロ
1位:ヘビィ
2位:ライト
3位:弓、ハンマー
5位:スラアク
6位:大剣、ランス、ガンス
ーーーーー超えられない壁ーーーーーーー
9位:太刀
10位:双剣
@yoshiori
yoshiori / logback.xml
Created April 5, 2011 04:53
org.yoshiori 以下の DEBUG 以上のものは logging.log に出して、さらに、WARN 以上のものは ALERT にも出したいんだけど、どうやんの???
<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 -->
@yoshiori
yoshiori / CoR.java
Created April 25, 2011 04:35
Chain of Responsibility で fizzbuzz
/**
*
*/
package org.yoshiori.cor;
/**
* @author yoshiori
*
#!/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];
/**
*
*/
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;
#!/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'