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/python | |
# | |
# Copyright 2007 Google Inc. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
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/python | |
#-*- encoding:utf8 -*- | |
import urllib, urllib2, cookielib,simplejson | |
LIVEDOOR_ID = "['livedoor_id']" | |
PASSWORD = "['livedoor_password']" | |
# 認証 | |
API = 'http://reader.livedoor.com/api' |
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/python | |
#-*- encoding:utf8 -*- | |
#-*- compile-command: "python ldr_sc.py" -*- | |
import urllib, urllib2, cookielib | |
import simplejson,twitter | |
from time import sleep | |
from Queue import Queue | |
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/python | |
#-*- encoding:utf8 -*- | |
#-*- compile-command: "python ldr_sc.py" -*- | |
import urllib, urllib2, cookielib,re | |
from time import sleep | |
from Queue import Queue | |
import simplejson | |
import twitter |
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/python | |
#-*- encoding:utf8 -*- | |
import urllib, urllib2, cookielib,types,operator | |
import simplejson | |
import twitter | |
from time import sleep | |
from Queue import Queue | |
tw=twitter.Api( | |
"your_id", |
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
メモ | |
============= | |
テスト1 | |
============= | |
1 | |
(a) | |
二次のアフィン変換より |
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
メモCG#3 | |
1 | |
(a)エ | |
頻度の中での明るさ | |
(b)ア | |
分散の式より | |
(c)ア | |
画素の頻度(分散)が大きくなるほどモザイクがかかったようになる | |
(d)イ | |
分散のブレが小さい一定 |
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/python | |
#-*- encoding:utf-8 -*- | |
#setting | |
username = "" | |
password = "" | |
import cgi | |
import cookielib |
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/python | |
#-*- encoding:utf-8 -*- | |
""" | |
require : simplejson | |
simplejson - Project Hosting on Google Code http://code.google.com/p/simplejson/ | |
oauthのコンシューマIDとアクセストークンは自分で取得してください | |
$ python tw_stream.py <抽出ユーザー名> |
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
;;~/.emacs.d/elisp/vls.el | |
;使い方 | |
; パスを通った場所に置き ~/.emacs.d/init.el あるいは ~/.emacs.el で | |
; (require 'vls) | |
; (global-set-key "\C-cv" 'vls) ;; Ctrc-c v で起動 | |
; ;;(global-vls-mode) ;;副作用が大きいので推奨しない | |
(defvar vls-normal-map (make-keymap)) | |
(defvar vls-insert-map (make-keymap)) |