Bootcampの領域を壊さずに内蔵SDカードリーダーのSDメモリへインストールしてみた。
- /dev/disk0s1: EFIシステム
- /dev/disk0s2: HFS+ OS X Lion (rEFItをインストール済)
- /dev/disk0s3: Recovery (OS X Lion)
- /dev/disk0s4: Windows 7
| CadsoftのEagleでは、ユーザープログラム(User Language Program,ULP)内で#requireディレクティブを使うことにより、ULPの動作するEagleのバージョンを制限することができます。 | |
| EagleのバージョンごとにULPの動作を変えたいときなどにバージョン番号が必要となるため、取得する方法を載せておきます。 | |
| 定数EAGLE_VERSION、EAGLE_RELEASE、EAGLE_SIGNATUREを参照して文字列を作り、ダイアログボックスに表示します。 | |
| Eagleが提供している組み込み定数の詳細はulpマニュアル(ulp640_en.pdf.pdf)の67ページ以降(Builtin Constantsの章)を参照してください。 |
| C:\minimal-root-jp>ebook_msc name PRS-T1 info | |
| Sony Reader MSC utility 1.06 (c) 2009 Igor Skochinsky, Vladimir Boroda | |
| avail: 0 | |
| openDrive [\\.\F:]: 1 | |
| usbInitCheck: 0 | |
| USB protocol versions:0 (?): 01000000 | |
| 1 (Device): 01000010 | |
| 2 (Updater):00000000 | |
| 3 (?): 01000000 | |
| UsbGetDevProperty: 0 |
| tracking_id = "hitoriblog0c-22"; | |
| pf = "http://www.amazon.co.jp/exec/obidos/ASIN/"; | |
| d = document; | |
| u = d.location.href; | |
| re = new RegExp("^http://www.amazon.co.jp/gp/aw/d/([0-9A-Z]{10})"); | |
| res = u.match(re); | |
| if (res) { | |
| asin = res[1]; | |
| afurl = pf + asin + "/" + tracking_id + "/ref=nosim/"; | |
| tmp = d.evaluate('//div[@class="dpProductTitle"]', d, null, 7, null).snapshotItem(0); |
| #!/usr/bin/python | |
| # vim:set fileencoding=utf-8 sw=2 ai: | |
| import sqlite3 | |
| import datetime | |
| import re | |
| SQL = ''' | |
| select | |
| name, version, time, author, text |
| #coding: utf-8 | |
| from bottle import route, error, post, get, run, static_file, abort, redirect, response, request, template | |
| @route('/') | |
| @route('/index.html') | |
| def index(): | |
| return '<a href="/hello">Go to Hello World page</a>' | |
| @route('/hello') | |
| def hello(): |