たった数10分で立ち上げられるんです。そう、Pythonならね。
WIWA BLOG
これだけ。たった5分で作れちゃうんです。そう、Vimならね。
Big Sky :: Vim から自分のtwitterパスワードが流出していないか確認出切るプラグイン書いた。
僕も 5 分で elisp 書いた!
twipass.el -- Twitter パスワードかもしれないものが大量流出!そこであなたの見たものは・・!? — Gist
(require 'json)
(require 'url-http)
(defconst twipass:uri "http://twipass.wiwa.jp/ctrl/get/twipass"
"see http://blog.wiwa.jp/entry/4fa9ffa7d6f9fd22a5000002 thanks!!")
(defun twipass:go (id)
(interactive "sTwitter ID: ")
(let ((url-request-method "POST")
(url-request-data (concat "name=" (url-hexify-string id))))
(with-current-buffer (url-retrieve-synchronously twipass:uri)
(goto-char (point-min))
(re-search-forward "^$")
(message (cdar (json-read-from-string (buffer-substring (point) (point-max))))))))
(provide 'twipass)
これだけ。たった5分で作れちゃうんです。そう、Emacsでもね。