インターネットマシン
2008年03月30日(日) 14:35
モンハン2G買えない悔し紛れに、922SHに機種変してきました。ついにvodafoneマークが消えました :)
一番期待していたlivedoor readerは残念ながら玉砕。一応Ajaxは動作するみたいだけど、キーイベントとかの問題かな。
うたい文句にしたがってblogエントリをしてみてる。Djangoの管理画面は問題無し。なれれば早く打てるようになりそうな予感はする。
つーか、キープがqwertyだってこと以外は普通のPCサイトブラウザ搭載の携帯だったな。シフトキーとか、ファンクションキーとか、思いの外よく出来てるけどね
Django Model Builder | All my Projects
2008年03月28日(金) 04:31
「I created this application to ease my work with Django. I'm a Django newbie, feel free to post your comments. The application is still in beta phase.」 時期的に微妙…
Visit SITE: http://myworks.ro/bobocionut/django-model-builder/
monospace blog » PyObjCでメニューバーアプリ〜Color Pickerを作る〜
2008年03月20日(木) 13:13
このアプリは、起動してもDockには現れず、メニューバー上だけに存在したいので、Resourcesに入ってる、info.plistに以下を追加
Visit SITE: http://blog.monospace.jp/2008/03/20/pyobjc_color_picker01/
Cocoa アプリで Cover Flow を使う方法 - d.hetima
2008年03月20日(木) 11:28
システムにこっそり用意されていました。その名は「IKImageFlowView」。ImageKit.framework に定義されています。これは Quartz.framework のサブ framework なので、使用するには Quartz.framework をリンクします。
Visit SITE: http://d.hatena.ne.jp/hetima/20080314/1205423499
coverage - 西尾泰和のはてなダイアリー
2008年03月20日(木) 05:50
coverage.pyを単純に使っただけじゃDjangoが動的にインポートするviewsのカバレッジが計算できなかったんだが、ここに書いてある方法で回避できるみたい
Visit SITE: http://d.hatena.ne.jp/nishiohirokazu/20080318/1205814964
ANTLRを使ってみる
2008年03月13日(木) 05:05
入り口としてメモ。 パーサ
Visit SITE: http://www.limy.org/program/java/antlr/step1.html
MOONGIFT: » Mac OSXのFrontRowをもっと活用する「FrontPython」
2008年03月12日(水) 05:42
オープンソース・フリーウェアを毎日紹介するブログ。日々の業務の効率化、新しいサービスのネタ探しにどうぞ。SNS、SBS、CMS、オフィス、画像編集、ユーティリティ、Firefoxアドオン、テキストエディタ、ゲーム…ジャンルは様々。
Visit SITE: http://www.moongift.jp/2008/03/frontpython/
システム・エンジニアの基礎知識
2008年03月12日(水) 03:29
システムの分析方法や設計方法に関連する知識
Visit SITE: http://www.sist.ac.jp/~suganuma/kougi/other_lecture/SE/SE.html
基礎数学(高校数学)
2008年03月12日(水) 03:29
基礎数学
Visit SITE: http://www.sist.ac.jp/~suganuma/kougi/other_lecture/math/math.htm
逗子 おかむら(ずし おかむら)/新逗子/そば、蕎麦[食べログ.com]
2008年03月12日(水) 01:53
そのうち行く。 「逗子 おかむらずし おかむら(新逗子/そば、蕎麦)の店舗情報。料理の写真、店内の写真、ユーザーの評価・クチコミなど。逗子市桜山6-1326-74。」
Visit SITE: http://r.tabelog.com/kanagawa/rstdtl/14003147/
連打が間に合わなかった
2008年03月07日(金) 00:21
連打しようとしたのに、Referer忘れてて負けた。
ゴリゴリ
# -*- coding: utf-8 -*-
import re
import os.path
import urllib2, urllib
import cookielib
import time
def do_request(opener, url, post_data=None, additional_header=None):
req = urllib2.Request(url)
req.add_header('User-Agent', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; ja-jp) AppleWebKit/523.10.3 (KHTML, like Gecko) Version/3.0.4 Safari/523.10')
req.add_header('Accept-Charset', 'utf-8,ISO-8859-1;q=0.7,*;q=0.7')
req.add_header('Accept', 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5')
req.add_header('Accept-Language', 'ja,en-us,en;q=0.5')
if additional_header is not None:
for k,v in additional_header.items():
req.add_header(k,v)
if post_data is not None:
return opener.open(req, urllib.urlencode(post_data))
return opener.open(req)
def main():
url = 'http://rhaco.lolipop.jp/study/'
cookie_file = 'cookie.txt'
csrf_value_re = re.compile(r'name="_onetimeticket" value="([^"]+)"', re.M)
csrf_value = None
cookie = cookielib.LWPCookieJar()
if os.path.isfile(cookie_file):
cookie.load(cookie_file)
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookie))
urllib2.install_opener(opener)
additional_header = {'Referer': url}
for i in range(0,30):
if i == 0:
post_data = None
else:
post_data = {'choice_submit': 'これでいい!',
'id': '26',
'_onetimeticket': csrf_value}
response = do_request(opener, url, post_data=post_data, additional_header=additional_header)
data = response.read()
if cookie is not None:
cookie.save(cookie_file, ignore_discard=True)
csrf_value = csrf_value_re.search(data).group(1)
time.sleep(1)
if __name__ == "__main__":
main()
Writing a Django Template Widget With Dojo Data Stores « SOS
2008年03月05日(水) 02:22
どっちかというと、HTMLコメント内にDjangoのテンプレート制御分を書く方法に衝撃を受けた
Visit SITE: http://shaneosullivan.wordpress.com/2008/03/03/writing-a-django-template-widget-with-dojo-data-stores/
Secrets
2008年03月04日(火) 02:09
Secrets is in Beta and many of these options can harm your system if used improperly.
Visit SITE: http://secrets.textdriven.com/
CSSでもインデント
2008年03月01日(土) 15:56
やばい。CSSの書き方に衝撃を受けた!
見やすいけど、CSSでインデントするのって常識なのかな?
ma.gnoliaのWebDesignグループでブックマークされてたブログのCSS。
某ブックマークサービスはノイズだらけで見るのやめちゃったけど、ma.gnoliaは相変わらずいいね。
某ブックマークサービスは用途がブックマークじゃないから仕方ないんだけどw
40+ Excellent Freefonts For Professional Design | Fonts | Smashing Magazine
2008年03月01日(土) 07:28
The importance of typography in design can't be overestimated. accuracy, precision and balance geometric forms can give letters the elegance sharpness they deserve. Besides, elegant fonts help to convey message a more convenient way. In
Visit SITE: http://www.smashingmagazine.com/2007/11/08/40-excellent-freefonts-for-professional-design/
Safari-Stretch: Home
2008年03月01日(土) 07:02
Safariの最大化って微妙なんだけど、これをブックマークレットにしておけばきちんとドックの分まで考えて最大化してくれる。
Visit SITE: http://www.safari-stretch.de/index.html
GlassBox
2008年03月01日(土) 06:25
GlassBox is a compact Javascript User Interface (UI) library
Visit SITE: http://www.glassbox-js.com/#Home
Ranvier URL マッパー
2008年03月01日(土) 06:05
URL の構造を使ってアプリケーションの作業を呼び出す
Visit SITE: http://www.ibm.com/developerworks/jp/web/library/wa-ranvier/
