Skip to content

Instantly share code, notes, and snippets.

#!/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
#
#/usr/bin/python
#-*- encoding:utf8 -*-
import urllib, urllib2, cookielib,simplejson
LIVEDOOR_ID = "['livedoor_id']"
PASSWORD = "['livedoor_password']"
# 認証
API = 'http://reader.livedoor.com/api'
#/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
#/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
#!/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",
メモ
=============
テスト1
=============
1
(a)
二次のアフィン変換より
メモCG#3
1
(a)エ
頻度の中での明るさ
(b)ア
分散の式より
(c)ア
画素の頻度(分散)が大きくなるほどモザイクがかかったようになる
(d)イ
分散のブレが小さい一定
#/usr/bin/python
#-*- encoding:utf-8 -*-
#setting
username = ""
password = ""
import cgi
import cookielib
#!/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 <抽出ユーザー名>
;;~/.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))