Welcome to TiddlyWiki created by Jeremy Ruston, Copyright © 2007 UnaMesa Association
; インデックス表示
* Options Indexes
* Options -Indexes (非表示にする場合)
; 404 not found 時に表示するページの設定
* ~ErrorDocument 404 "表示するページへのパス"
; CGI の実行
* Options +~ExecCGI
* Options -~ExecCGI (実行を禁止する場合)
; アクセス制限
* アクセスを拒否する
** Deny from "拒否するホスト"
** Deny from all (全てのアクセスを拒否する)
* アクセスを許可する
** Allow from "許可するホスト"
** Allow from all (全てのアクセスを許可する)
* アクセス制御の評価順序を宣誓
** order allow,deny (allowを指定して、次にdenyを指定する)
; コンテンツタイプの指定
* ~AddType text/xml;charset=utf-8 .rss
;リダイレクト
* redirect 301 from to
; サンプル
{{{
# Access Control
order deny, allow
deny from all
allow from 192.168.1.
# Basic Authentication
AuthUserFile "パスワードのファイル"
AuthGroupFile /dev/null # とりあえず無しで...
AuthName "Please enter your ID and password"
AuthType Basic
require valid-user
}}}
* [[特定のホスト(IPアドレス。プロバイダ)からのアクセスを制限する|http://www.shtml.jp/htaccess/host.html]]
;新規テキストの追加
システムにインストールされているいずれかのフォントを使用して、新規のテキストを PDF に追加できます。
1. TouchUp テキストツールを選択します。
2. テキストを追加する場所を Ctrl キーを押しながらクリックします。
3. 新規テキストのフォントダイアログボックスで、フォントおよびモードを選択して、「OK」をクリックします。
4. 新規のテキストを入力します。
5. フォントサイズおよびその他の属性を変更するには、テキストを選択して右クリックし、「プロパティ」を選択します。
;単一文書内のテキストの認識
1. スキャンした PDF を開きます。
2. 文書/OCR テキスト認識/OCR を使用してテキストを認識を選択します。
3. テキスト認識ダイアログボックスで、「ページ」のオプションを選択します。
4. 必要に応じて「編集」をクリックし、テキスト認識 - 設定ダイアログボックスを開いてオプションを指定します。
注意: 電子署名された PDF を保存すると、署名は無効になります。
* [[Aptana Studioを使い始めるに際して - 最初の設定|http://kenichinakatsu.air-nifty.com/main/2009/11/aptana-studio-9.html]]
; jQuery プラグイン
* [[ EclipseにAptanaプラグインを入れたのにjQueryのコード補完ができない|http://satomacoto.blogspot.com/2009/11/eclipseaptanajquery.html]]
* [[崖っぷちWEBデザイナーブログ - javascript開発環境をとりあえず作っておく。|http://www.y-tti.com/blog/2009/03/javascript.php]]
; 演算子のオーバーロード
* [[演算子のオーバーロード: 日々此精進|http://murakan.cocolog-nifty.com/blog/2009/04/c-4b42.html]]
* [[FrontPage - 自分用メモとか|http://www.tom.sfc.keio.ac.jp/%7Efjedi/wiki/index.php?FrontPage]]
! 継承を用いる場合
; 注意点
* オーバーライドするメソッドには、 ''virtual'' をつける
** virtual をつけないと、メソッドを呼び出すクラス変数の型によって呼び出されるメソッドが変わってしまう
* ので、ポリモーフィズムを使いたい場合は、デストラクタも ''virtual'' にしておく
* 抽象メソッドは、こんな感じ (クラス定義の中に書く)
** ''virtual bool initialize() = 0;''
** イコール0が大事
! テンプレートを用いる場合
* [[C++ のテンプレートでダックタイピング - bkブログ | http://0xcc.net/blog/archives/000053.html]]
* The Bothy Band
* [[銀河(初回盤): 原田郁子|http://www.amazon.co.jp/%E9%8A%80%E6%B2%B3-%E5%88%9D%E5%9B%9E%E7%9B%A4-%E5%8E%9F%E7%94%B0%E9%83%81%E5%AD%90/dp/B001F4RWH4/ref=sr_1_1?ie=UTF8&s=music&qid=1234107838&sr=8-1]]
** ジャケットよかった
** 曲はまあ普通
** と思ったけど意外とよかった
** ちょっと違うけど<br />[[アルバム『ケモノと魔法』発売記念 8週間集中連載『原田郁子秘宝館 ドキッ! ~めくるめく感嘆符と溜め息の世界~』 第1回 - CDJournal.com|http://www.cdjournal.com/main/special/harada.php?no=1]]
* The Shaggs
** [[My Pal Foot Foot|http://www.shaggs.com/]]
* [[My Get Up And Go Just Got Up And Went : Ass |http://www.amazon.co.jp/My-Get-Up-Just-Got/dp/B001672L8K/ref=sr_1_5?ie=UTF8&s=music&qid=1251531522&sr=8-5]]
** 結構よいかも
; font プロパティでまとめて設定
{{{
h3 {
font-style: normal;
font-variant: small-caps;
font-weight: bold;
font-size: x-large;
line-height: 1.5;
font-family: sans-serif;
}
}}}
は
{{{
h3 {
font: normal small-caps bold x-large/1.5 sans-serif;
}
}}}
となる。
省略可能なプロパティ
* font-style
* font-variant
* font-weight
* line-height
らしい
・ktermインストール
xtermと競合するので、
yum remove xterm
yum remove utempter
rpm -ivh utempter-0.5.2-5.i386.rpm
rpm -ivh kterm-6.2.0-23.i386.rpm
rpm -ivh xterm-215-5.el5.i386.rpm
* [[Create Link |https://chrome.google.com/webstore/detail/gcmghdmnkfdbncmnmlkkglmnnhagajbm#]]
** Makelink みたいなやつ
* [[Neat Bookmarks |https://chrome.google.com/webstore/detail/nnancliccjabjjmipbpjkfbijifaainp?hl=ja]]
** [[ツールバーのボタン1つでブックマークを楽々管理できるChromeの拡張機能「Neat Bookmarks」|http://www.lifehacker.jp/2011/05/110510neat_bookmarks.html]]
* [[ChromeやIEでブックマークのセパレータを実現する『Separete This』 | 100SHIKI|http://www.100shiki.com/archives/2011/04/separate_this.html]]
Background: #fff
Foreground: #000
PrimaryPale: #8cf
PrimaryLight: #18f
PrimaryMid: #04b
PrimaryDark: #014
SecondaryPale: #ffc
SecondaryLight: #fe8
SecondaryMid: #db4
SecondaryDark: #841
TertiaryPale: #eee
TertiaryLight: #ccc
TertiaryMid: #999
TertiaryDark: #666
Error: #f88
; 言語仕様
* <<slider tocSlider 右シフト演算 右シフト演算>>
* <<slider tocSlider 予約済み識別子 予約済み識別子>>
* [[ 可変長マクロ (C99のみ) | http://seclan.dll.jp/c99d/c99d02.htm ]]
* [[C 言語での名前空間の違いの: uyota 匠の一手 | http://uyota.asablo.jp/blog/2006/08/24/497407 ]]
* [[8 参考となる文献 | http://www.bk.tsukuba.ac.jp/~makimura/JohoShori/node275.html ]]
; 実装
* [[c言語における数値表現|http://www.isc.meiji.ac.jp/~deptec/cmanapdx1.html]]
; ライブラリ
*[[Programming UNIX Sockets in C|http://www.kt.rim.or.jp/~ksk/sock-faq/unix-socket-faq-ja.html]]
*[[pthread_*|http://www.saiin.net/~silphire/pthread/pthread.html]]
*[[トークン解析|http://www.nurs.or.jp/~sug/soft/super/ungetch.htm]]
; コンパイル
* <<slider tocSlider Makefile雛形 Makefile雛形>>
* [[冗長インクルードガード | http://www.02.246.ne.jp/~torutk/cxx/file/includeguard.html]]
** よほど大きなコードでなければ、気にしなくてもよさげ
; Electric Fence
* [[Free Software from Bruce Perens|http://perens.com/FreeSoftware/]]
* [[メモリ破壊検出ツール electric fenceの使い方|http://www.phactory.jp/blog/pyblosxom.cgi/tech/081026.html]]
* [[Electric Fence - 初学者の箸置|http://d.hatena.ne.jp/tkuro/20081015/1224053506]]
; その他
* [[C99じゃないコンパイラで、可変引数付きデバッグ用マクロを定義する例 | http://d.hatena.ne.jp/Wacky/20060611/1150007606 ]]
* [[Super Technique 講座~ザ・レトロ・アルゴリズム「バイナリサーチ」徹底解説! | http://www.nurs.or.jp/~sug/soft/super/bsearch.htm ]]
* [[Cygwinのstackdumpファイル - hat-tunの日記|http://d.hatena.ne.jp/hat-tun/20090724/1248448233]]
* HelloWorld
* [[gcc のデバッグ術|http://www-or.amp.i.kyoto-u.ac.jp/algo-eng/db/debug.html]]
* [[mallocで取ったメモリのサイズを確認する方法 | http://blog.miraclelinux.com/asianpen/2007/08/malloc_0e94.html ]]
* [[3つのプログラミング言語での getopt の使い方メモ - Sleepless geek in Seattle | http://d.hatena.ne.jp/yoshifumi1975/20090624/p1 ]]
* [[Manpage of GETOPT | http://www.linux.or.jp/JM/html/LDP_man-pages/man3/getopt.3.html ]]
* [[ヅラずれなるままに(2003-04-01) - 指定したディレクトリ内のファイルを表示するプログラム | http://www.nilab.info/zurazure/20030401.html ]]
* [[プロファイラ gprof の使い方 | http://blog.majide.com/2009/03/usage-of-gprof/ ]]
* [[メモリーリークの検出:mtrace , valgrind:プログラマー社長のブログ:ITmedia オルタナティブ・ブログ | http://blogs.itmedia.co.jp/komata/2009/10/mtrace-valgrind.html ]]
* [[Let’s use doxygen! | http://www.fides.dti.ne.jp/~oka-t/doxygen.html]]
; 設定ファイルについて
* [[Doxygenの使い方 - HongoWiki | http://ceres.phys.s.u-tokyo.ac.jp/~yuasa/wiki/index.php/Doxygen%E3%81%AE%E4%BD%BF%E3%81%84%E6%96%B9]]
; 細かい使い方
* [[グループ化 | http://www.fides.dti.ne.jp/~oka-t/doxygen-manual/html/grouping.html ]]
* [[コメント規約例 | http://www.02.246.ne.jp/~torutk/cxx/doxygen/doxygenstyles.html]]
* [[コメントサンプル |http://d.hatena.ne.jp/ymotongpoo/20071208/1197104363]]
; ほか
* [[Windowsでdoxygenを使ってみる: よしなしごと | http://trivia.cocolog-nifty.com/blog/2007/12/doxygen_4f97.html ]]
* [[【コラム】イマドキのIDE事情 (34) Eclipseのショートカットを使いこなそう |http://journal.mycom.co.jp/column/ide/034/index.html]]
* [[インクリメンタルサーチ|http://www.confrage.com/eclipse/edit/search_next_inc/search_next_inc.html]]
* [[eclipse エディタの文字コード設定 |http://www.deftrash.com/blog/archives/2006/09/eclipse_encoding.html]]
. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。.
; プラグイン
* [[Easy Explorer - discypus|http://discypus.jp/wiki/?eclipse%2Fplugin%2FEasy%20Explorer]]
** 「パッケージ」や「ナビゲータ」ビューで、ポップアップメニューに「Explorerで開く」機能を追加するプラグイン。
* [[Checkstyle Plug-in for Eclipse|http://eclipse-cs.sourceforge.net/]]
* [[FindBugs|http://findbugs.sourceforge.net/index.html]]
* [[JadClipse|http://sourceforge.net/projects/jadclipse/]]
. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。.
! ショートカット
; カーソル移動
|Ctrl + Left |前の単語へ |
|Ctrl + Right |次の単語へ |
|Home |行頭へ |
|End |行末へ |
; 検索
|Ctrl + f |検索 |
|Ctrl + j |インクリメンタルサーチ |
|Ctrl + Shift + j |インクリメンタルサーチ(逆方向) |
|Ctrl + k |次を検索 (検索する文字列は、マウスで選択した範囲になる) |
|Ctrl + Shift + k |1つ前を検索 |
; ソースを読む
|F3 |カーソルを合わせている要素の宣言部にジャンプする |
|Ctrl + t |編集中のインタフェースを実装しているクラスを、表示する |
|F4 |型階層を開く |
|Ctrl + Alt + h |メソッドの呼び出し元を表示する<br>(「右クリック -> 呼び出し階層を開く」でもよい) |
; ソースを書く
|Ctrl + Shift + f |インデントを直す |
|Ctrl + o |インポート編成 |
|Ctrl + space |クラスメンバの補完 |
! Javadoc
* [[Eclipse 上で UTF-8 のソースから javadoc を生成する方法 - Be an Idealistic Realist|http://d.hatena.ne.jp/beyondseeker/20080515/1210779274]]
! CVS
;文字コードの設定
# 「ウィンドウ -> ビューの表示 -> その他 -> CVSリポジトリー」 でCVSリポジトリーのウィンドウを出す。
# リポジトリ上で右クリック
# 「プロパティー -> サーバー・エンコード -> その他」に、指定したいエンコーディングタイプをセット
; リモートとの比較
# 比較したファイルの上で右クリック
# 「比較 -> ヒストリー」
# ヒストリーのビューが表示されるので、比較したいバージョンの上で右クリック
# 「現在をX.Xと比較」
! 逆コンパイル
* [[@IT:Java TIPS -- Eclipseで逆コンパイルを行う|http://www.atmarkit.co.jp/fjava/javatips/073eclipse025.html]]
* [[Emacs Lisp プログラミング:|http://www.bookshelf.jp/texi/elisp-intro/jp/emacs-lisp-intro.html]]
* [[Programming in Emacs Lisp: Table of Contents|http://www.math.s.chiba-u.ac.jp/~matsu/lisp/emacs-lisp-intro-jp_toc.html]]
* [[[elisp][emacs] ヘルプ機能を使いこなすために - goinger的日記|http://d.hatena.ne.jp/goinger/20070717/1184680410]]
* [[【メモ】Emacs/xyzzyのいやなところ - Yet Another Decent Diary|http://d.hatena.ne.jp/wasisan/20081204/p1]]
* [[Emacs Lisp|http://www.mew.org/~kazu/doc/elisp/index.html]]
* [[Emacs Lisp TIPS|http://homepage.mac.com/zenitani/elisp-j.html]]
!文字修飾
|!修飾|!例|!書式|
|太文字|''Bold''|’'Bold’'|
|打消線|--Strike--|--Strike--|
|アンダーライン|__Underline__|__Underline__|
|イタリック|//Italic//|//Italic//|
|上付き文字|2^^3^^=8|2^^3^^=8|
|下付き文字|a~~ij~~ = -a~~ji~~|a~~ij~~ = -a~~ji~~|
|ハイライト|@@highlight@@|@@highlight@@|
|カラー|@@color(green):green colored@@|@@color(green):green colored@@|
|バックグランドカラー|@@bgcolor(#a0ffa0):カラー@@|@@bgcolor(#a0ffa0):カラー@@|
|固定ピッチ|{{{Monospaced text}}}|{{{Monospaced text}}}|
|リンク|http://www.tiddlywiki.com/|http://www.tiddlywiki.com/|
|タイトル指定|[[TiddlyWiki本家|http://www.tiddlywiki.com/]]|[[TiddlyWiki本家|http://www.tiddlywiki.com/]]|
|イメージ表示|[img[http://www.tiddlywiki.com/favicon.ico]]|[img[http://www.tiddlywiki.com/favicon.ico]]|
|Slider|<<slider chkSliderHelp MainMenu 'MainMenu ≫' 'Open MainMenu'>>|<<slider 'cookie name' 'tiddler name' 'title text' 'tooltip'>>|
|tabs|<<tabs chkTabHelp 'Menu Main' 'Display MainMenu' MainMenu 'Menu Side' 'Display SideBarOp' SideBarOptions >>|<<tabs chkTabHelp 'Menu Main' 'Display MainMenu' MainMenu 'Menu Side' 'Display SideBarOp' SideBarOptions>>|
|WikiName|大文字アルファベット2文字か→|[[リンクページ名]]|
!横線
----
書式
----
!ヘッダ
!Header 1
!!Header 2
!!!Header 3
!!!!Header 4
!!!!!Header 5
書式
!Header 1
!!Header 2
!!!Header 3
!!!!Header 4
!!!!!Header 5
!箇条書き
!!!!オーダーなし
*箇条書き1
**箇条書き1-1
**箇条書き1-2
***箇条書き1-2-1
*箇条書き2
**箇条書き2-1
**箇条書き2-2
**箇条書き2-3
書式
*箇条書き1
**箇条書き1-1
**箇条書き1-2
***箇条書き1-2-1
*箇条書き2
**箇条書き2-1
**箇条書き2-2
**箇条書き2-3
!!!!オーダーあり
#箇条書き1
##箇条書き1-1
##箇条書き1-2
###箇条書き1-2-1
#箇条書き2
##箇条書き2-1
##箇条書き2-2
##箇条書き2-3
書式
#箇条書き1
##箇条書き1-1
##箇条書き1-2
###箇条書き1-2-1
#箇条書き2
##箇条書き2-1
##箇条書き2-2
##箇条書き2-3
!引用
!!!!その1
<<<
引用内容1
引用内容2
引用内容3
引用内容4
<<<
書式
<<<
引用内容1
引用内容2
引用内容3
引用内容4
<<<
!!!!その2
>level 1
>level 1
>>level 2
>>level 2
>>>level 3
>>>level 3
>>level 2
>level 1
書式
>level 1
>level 1
>>level 2
>>level 2
>>>level 3
>>>level 3
>>level 2
>level 1
!テーブル
|!1111111|!2222222|
|>| colspan |
| rowspan |左|
|~| 右|
|bgcolor(#a0ffa0):colored| 中央 |
|caption|c
書式
|!1111111|!2222222|
|>| colspan |
| rowspan |左|
|~| 右|
|bgcolor(#a0ffa0):colored| 中央 |
|caption|c
!!!!文字寄せ
|の左に文字を付けて記述すると左寄せ
|の左を空けて、右に寄せて記述すると右寄せ
|の左右を空けて記述すると中央寄せ
!!!!セル結合
|>|で列の結合表示
|~|でそのセルの行を結合して表示
!Special Tags
|excludeSearch|excludes a tiddler from search results|
|excludeLists|excludes a tiddler from the lists in the sidebar tabs|
|systemConfig|marks tiddlers that contain JavaScript that should be executed once TiddlyWiki has loaded|
|excludeMissing|excludes a tiddler from the processing that generates the MissingTiddlers list. Use it when you have a tiddler that contains links to missing tiddlers and you don't want those missing links to appear in the `MissingTiddlers list.|
NOTE: Missing tiddlers are ones that have been linked to, but don't have anything in them yet. Just as likely you used WikiWords without de-wikifing them like this ~WikiWords. They can be found under the More>Missing tab in the right sidebar. What ever you do don't worry about them.
!メンテ用
GettingStarted
DefaultTiddlers
MainMenu
SiteTitle
SiteSubtitle
[[Macros]]
!各種設定
[[Default]]
ColorPalette
StyleSheetLayout
* [[All-in-One Gestures|https://addons.mozilla.org/ja/firefox/addon/12]]
* [[Firebug|https://addons.mozilla.org/ja/firefox/addon/1843]]
* [[Web Developer|https://addons.mozilla.org/ja/firefox/addon/60]]
* [[Make Link|https://addons.mozilla.org/en-US/firefox/addon/142]]
* [[Flashblock|https://addons.mozilla.org/ja/firefox/addon/433]]
* [[Page Saver Basic|http://pearlcrescent.com/products/pagesaver/]]
* [[Live HTTP Headers|https://addons.mozilla.org/ja/firefox/addon/3829]]
* [[Zoom toolbar|https://addons.mozilla.org/ja/firefox/addon/6118/]]
* [[FoxClocks|https://addons.mozilla.org/ja/firefox/addon/1117/]] 世界時計機能
* [[PrintPDF |https://addons.mozilla.org/en-US/firefox/addon/printpdf/]] ページをPDFで保存
* [[ColorZilla | https://addons.mozilla.org/ja/firefox/addon/colorzilla/]] ページの色をピックアップ
* [[TortoiseGit日本語言語ファイル プロジェクト日本語トップページ - SourceForge.JP|http://sourceforge.jp/projects/tortoisegit/]]
* [[Gitの使い方メモ - sotarokのお勉強 | http://d.hatena.ne.jp/strkpy/20090508/1241760724 ]]
* [[Git導入 | blog.paz-para.com | http://blog.paz-para.com/?p=1119 ]]
* [[git/コミットログを修正する方法 - TOBY SOFT wiki | http://tobysoft.net/wiki/index.php?git%2F%A5%B3%A5%DF%A5%C3%A5%C8%A5%ED%A5%B0%A4%F2%BD%A4%C0%B5%A4%B9%A4%EB%CA%FD%CB%A1 ]]
* [[Gitを使いこなすための20のコマンド|http://sourceforge.jp/magazine/09/03/16/0831212]]
* [[これからGitを始める人が読むべき記事のまとめ : akiyan.com | http://www.akiyan.com/blog/archives/2009/05/posts-for-git-beginne.html ]]
* [[詳細検索の使用 - Gmail ヘルプ|http://mail.google.com/support/bin/answer.py?answer=7190]]
* [[Gmail 検索TIPS: IT備忘録|http://nofx2.txt-nifty.com/it/2010/03/gmail-tips-d77e.html]]
* [[Gmailの添付ファイル操作に関するTipsあれこれ |http://www.popxpop.com/archives/2007/01/gmail.html]]
* [[ITmedia Biz.ID:メール振り分けの基本|http://bizmakoto.jp/bizid/articles/0608/07/news017.html]]
; 添付ファイルつき
* has:attachment "拡張子"
* from: 送信者のアドレス (名前の一部を指定して検索)
* to: 宛先のアドレス (名前の一部を指定して検索)
;リファレンス
* [[Google Static Maps API - Google Code | http://code.google.com/intl/ja/apis/maps/documentation/staticmaps/ ]]
* [[Google Maps API リファレンス - Google Maps API - Google Code|http://code.google.com/intl/ja/apis/maps/documentation/reference.html]]
*[[本当はすごい、知られざるGoogle Maps APIたち!!(1/3)-@IT|http://www.atmarkit.co.jp/fwcr/rensai2/google_int_03/01.html]]
*[[Google Code Playground|http://code.google.com/apis/ajax/playground/?exp=search#map_simple]]
; 日本語リファレンス
* [[Google Maps JavaScript API V3 リファレンス - Google Maps JavaScript API V3 - Google Code|http://code.google.com/intl/ja/apis/maps/documentation/javascript/reference.html]]
* [[Google Maps API version 3 リファレンス - Google Maps API Version3 日本語ドキュメント(非公式)|http://sites.google.com/site/gmapsapi3/Home/v3_reference]]
* [[Google Maps Hacks -- API概説|http://www.marlin-arms.com/support/gmh/appendix-intro.html]]
* [[Google Maps API リファレンス|http://www.openspc2.org/Google/Maps/]]
** サンプルが書いてある
; URL間違ってるかも
http://www.google.com/apis/maps
http://groups.google.com/group/Google-Maps
http://groups.google.com/group/API-Japan
* [[Nishiaki's Log: Google Maps APIメモ(v2) #4 オリジナルの画像をタイルレイヤーで表示|http://nishiaki.probo.jp/2008/12/google-magoogle-mps-apiv2-4.html]]
* [[Google Maps Javascript API V3 Demo Gallery - Google Maps JavaScript API V3 - Google Code|http://code.google.com/intl/en/apis/maps/documentation/javascript/demogallery.html]]
Google Mapki
----
; 地図の表示
* ポイントのセット
* 画像の表示
* JavaScriptを呼び出すリンク
----
衛星写真を絵として見せるようなインタフェース
* ケフラビーク
* センターピボット
* バフィン島
* チャド湖
* ミピア湖
* キリバス
* 塩田 ニジェール
* 国立太陽熱実験所
* マンダレー
----
; その他メモ
* [[Y.A.M の 雑記帳: Geo Tech Talk に行ってきました。 | http://y-anz-m.blogspot.com/2011/03/geo-tech-talk.html]]
* [[Google Maps Hacks -- API概説 | http://www.marlin-arms.com/support/gmh/appendix-intro.html]]
* [[グラウンドオーバーレイの表示(GGroundOverlayクラス) - オーバーレイ画像(GGroundOverlay, GScreenOverlay) - Google Maps入門 | http://www.ajaxtower.jp/googlemaps/ggroundoverlay/index1.html]]
* [[地図とWebサービス: Google Earth APIの高度⇔Maps APIのズームレベル | http://webmapper.seesaa.net/article/153382237.html]]
* [[Google Earth Plugin - Interactive Samples | http://earth-api-samples.googlecode.com/svn/trunk/demos/interactive/index.html]]
* [[Google Maps のパラメータ | http://imakoko.didit.jp/imakoko_html/memo/parameters_google.html]]
* [[用途拡大 - Google Places API - Seis Pesos | http://japonyol.net/editor/archives/2011/05/google-places-api.html]]
* [[Google AJAX Local Search API + Maps API v3 demo | http://gmaps-samples-v3.googlecode.com/svn/trunk/localsearch/places.html]]
* [[Google Maps入門(Google Maps JavaScript API V3) | http://www.ajaxtower.jp/googlemaps/]]
* [[html のスキーマ| http://www.w3.org/2002/08/xhtml/ ]]
* [[低スペックPCでも使える! Webブラウザでサイト作成(3/3) - @IT | http://www.atmarkit.co.jp/fwcr/rensai/freeauthoring03/freeauthoring03_3.html ]]
* [[Jakob Nielsen博士のAlertbox|http://www.usability.gr.jp/alertbox/]]
* [[CSS記述規則「プロパティ別整理法」の提案 : akiyan.com | http://www.akiyan.com/css_every_propaty_order_system ]]
* [[少しのコードで実装可能な20のCSS小技集 Webクリエイターボックス | http://www.webcreatorbox.com/tech/css-tips20/]]
; サンプル
* [[POSTフォーム]]
{{{
#include <stdio.h>
int main(int argc, char **argv){
printf("Hello, World!\n");
return 0;
}
}}}
iup.xxx
; iup.label {...}
* title : string
* alignment : "ALEFT:ACENTER"
** "ALEFT", "ACENTER" , "ARIGHT"
** "ATOP", "ACENTER" , "ABOTTOM"
* size: string "[number]x[number]" (ex. 80x80)
* image :
; iup.text {...}
* value: string
* size: string "[number]x[number]" (ex. 80x80)
* multiline :"YES" or "NO"
* readonly:
; iup.multiline {...}
multiline = "YES" の iup.text
; iup.toggle {...}
----
; iup.hbox {...}
; iup.vbox {...}
element のグルーピング
; iup.frame {...}
* [[RFC4627|http://www.rfc-editor.org/rfc/rfc4627.txt]]
* [[JSON|http://www.json.org/]]
* [[もう一度、ちゃんとJSON入門 - 檜山正幸のキマイラ飼育記|http://d.hatena.ne.jp/m-hiyama/20080728/1217205390]]
; 探したけど...
JSON のトップ要素は、配列でもよい。 ようである。
* なんで、RFCまで見に行かないと、情報が見つからない??
{{{
[ { "x": 1, "y": 2}, { "x": 10, "y": 20} ]
}}}
ローカルで、 ~XMLHttpRequest を使って JSON を取得した際に、firefox が、 ''構文エラーです。'' と言う
* これは、''~HttpRequest'' なのに file スキームを使う方が悪い
** 情報はさっぱり見つからなかった
** どうも、 JSONテキストを取得して、コールバックが走る前にエラーがでてるっぽい。
** 勝手にXMLだと解釈して、パースしようとしてエラー??
; その他メモ
* コメントは使えない。
** [[XJSON - JSON - 檜山正幸のキマイラ飼育記|http://d.hatena.ne.jp/m-hiyama/20100616/1276648245]]
! ドキュメント
<<tiddler "Java ドキュメント">>
! 言語仕様
<<tiddler "Java 言語仕様">>
! 標準ライブラリ
<<tiddler "Java 標準ライブラリ">>
! ツール
<<tiddler "Java ツール">>
! ライブラリ
<<tiddler "Java ライブラリ">>
! フレームワーク
<<tiddler "Java フレームワーク">>
; ~FindBugs
* [[FindBugsで片っ端からバグつぶし|http://journal.mycom.co.jp/articles/2006/09/23/findbugs2/index.html]]
* [[FindBugsのフィルタファイルを作る|http://d.hatena.ne.jp/ykhr-kokko/20080713#1215937357]]
; ~JUnit
* [[Javadoc (JUnit API)|http://junit.org/junit/javadoc/4.5/]]
* [[getter/setterメソッドがないprivate属性フィールドの内容をテストする|http://www.alles.or.jp/~torutk/oojava/maneuver/2000/6-3.html#SEC17]]
* [[JUnit 実践講座 - オブジェクトの文字列表現を活用しよう|http://www.morijp.com/masarl/homepage3.nifty.com/masarl/article/junit/to-string.html]]
; Log4j
* [[LayoutLog4J|http://www.techscore.com/tech/ApacheJakarta/Log4J/7.html]]
; Javadoc
こんな感じ
javadoc -sourcepath . -d doc sample -encoding UTF-8
* [[Javadocメモ(Hishidama's Javadoc Memo)|http://www.ne.jp/asahi/hishidama/home/tech/java/javadoc.html]]
; Jad
* クラスファイルを逆コンパイルする
* [[Home Page of Jad - the fast Java decompiler|http://web.archive.org/web/20080214075546/http://www.kpdus.com/jad.html#download]]
;jsonic
* [[jsonicを使って文字配列を取得 - akJとackeyシリーズ 開発日記 | http://d.hatena.ne.jp/xucker/20080122]]
;ドキュメント
* [[Java言語規定|http://www.y-adagio.com/public/standards/tr_javalang/]]
* [[JDK 6 ドキュメント|http://java.sun.com/javase/ja/6/docs/ja/]]
;Javadoc
* [[Java SE 6|http://java.sun.com/javase/ja/6/docs/ja/api/overview-summary.html]]
* [[Java SE 6 (英語)|http://java.sun.com/javase/6/docs/api/overview-summary.html]] こっちだけマイナーバージョンアップしている
* [[Java EE 1.3.1|http://sdc.sun.co.jp/java/docs/j2ee/sdk_1.3/ja/techdocs/api/index.html]]
* [[Java EE 5|http://java.sun.com/javaee/5/docs/api/]]
; こまごました話
* [[ネットワークのプロパティ|http://java.sun.com/javase/ja/6/docs/ja/technotes/guides/net/properties.html]]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
; ダウンロード
* [[古いJDKを落とす|http://java.sun.com/products/archive/]]
; Seasar2
* [[Seasar2 入門|http://snowhiro.web.fc2.com/seasar2/seasar2_index.html]]
* [[S2Container|http://s2container.seasar.org/2.4/ja/DIContainer.html]]
* [[Seasar2 - Seasar2|http://s2container.seasar.org/2.4/ja/]]
* [[S2AOP|http://s2container.seasar.org/2.4/ja/aop.html]]
; ほか
* [[アスペクトの利用方法 - アスペクト指向なWiki|http://netail.net/aosdwiki/index.php?%A5%A2%A5%B9%A5%DA%A5%AF%A5%C8%A4%CE%CD%F8%CD%D1%CA%FD%CB%A1]]
; ROME
* [[JavaでRSSフィードを取得(ROME)|http://ueblog.natural-wave.com/2007/12/02/java%E3%81%A7rss%E3%83%95%E3%82%A3%E3%83%BC%E3%83%89%E3%82%92%E5%8F%96%E5%BE%97%EF%BC%88rome%EF%BC%89/]]
; CLI
* [[commons CLI|http://programamemo2.blogspot.com/2007/07/java-jakarta-commons-cli.html]]
; Jericho
* [[Jericho|http://jericho.htmlparser.net/docs/index.html]]
; ~ToStringBuilder
* [[ToStringBuilder (Core Language Utilities (Version 1.0.1)) | http://www.jajakarta.org/commons/lang-1.0.1/ja/withPrimary/org/apache/commons/lang/builder/ToStringBuilder.html ]]
; Web Service
* [[Spring Web ServicesによるWebサービスの作成|http://www.okisoft.co.jp/esc/spring/spring_web01.html]]
* [[「Java SE 6完全攻略」第81回 JAX-WS|http://itpro.nikkeibp.co.jp/article/COLUMN/20080801/311972/?ST=techskill]]
* [[HTTPについて|http://java.sun.com/javase/ja/6/docs/ja/technotes/guides/net/http-keepalive.html]]
* [[JSR 224: JavaTM API for XML-Based Web Services (JAX-WS) 2.0 |http://jcp.org/en/jsr/detail?id=224]]
** ''Maintenance Release 2'' jaxws-2_1-mrel2-spec.pdf
** ''Final Release'' jaxws-2_0-fr-spec.pdf
* [[[WebServices] - なんとなくな Developer のメモ|http://d.hatena.ne.jp/fits/searchdiary?word=*[WebServices%5d]]
* [[JAX-WSによるメッセージ指向プログラミング|http://download.boulder.ibm.com/ibmdl/pub/software/dw/jp/websphere/was/was61_soa_ws/fpws_02jaxws.pdf]]
; RMI
* [[FAQ:RMIとオブジェクト直列化|http://java.sun.com/javase/ja/6/docs/ja/technotes/guides/rmi/faq.html]]
; JAXP
* [[DocumentBuilderで日本語のパスを渡すとエラーになる不具合 - lottzの日記|http://d.hatena.ne.jp/lottz/20090207/1234022367]]
; Swing
* [[Swingのスレッド処理を理解する|http://www.atmarkit.co.jp/fjava/rensai3/swing06/swing06_01.html]]
* [[Swingでファイルダイアログを生成する|http://homepage2.nifty.com/ann/Swing/Learning/SwingChooser.htm]]
* [[Visual Editorを使おう|http://allabout.co.jp/internet/java/closeup/CU20070420A/]]
* [[Java Swing Tips|http://terai.xrea.jp/Swing.html]]
; CLI
* [[PushbackReader|http://d.hatena.ne.jp/bowez/searchdiary?word=*[C%2B%2B%5D]]
* Readline的な機能は、~PushbackInputStream, ~PushbackReader 辺りを使えばよさそう
; Proxy
*[[デザインパターン第12回「Proxyパターン」 - Bug Catharsis|http://d.hatena.ne.jp/zecl/20071119/p1]]
*[[ダイナミックプロキシの活用|http://blogs.wankuma.com/kacchan6/archive/2007/04/10/70885.aspx]]
*[[アスペクトを織り込むユーティリティを書いた。 - うなの日記|http://d.hatena.ne.jp/unageanu/20080519/1211190663]]
; ほか
* [[外部プロセス起動|http://www.ne.jp/asahi/hishidama/home/tech/java/process.html#Process_waitFor]]
* [[CSVTokenizer & CSVLine|http://www.wakhok.ac.jp/~tomoharu/Java/csv/]]
* [[「Java SE 6完全攻略」第78回 JAXB その6:ITpro|http://itpro.nikkeibp.co.jp/article/COLUMN/20080704/310147/?ST=develop&P=2]]
* [[Java 再帰的にファイルを検索 | http://sattontanabe.blog86.fc2.com/blog-entry-55.html]]
; スプリアスウェイクアップ
* [[waitについてのまとめ|http://blogs.wankuma.com/nagise/archive/2007/08/22/91406.aspx]]
; シリアライズ
* [[Java オブジェクト直列化仕様:1 - システムアーキテクチャー|http://e-class.center.yuge.ac.jp/jdk_docs/ja/platform/serialization/spec/serial-arch.html]]
; Generics
* [[【コラム】ライトニングJava (22) Generic Java(3) - 逆コンパイルで探るGeneric Javaの裏側|http://journal.mycom.co.jp/column/java/022/index.html]]
* [[Javaの理論と実践: Generics のワイルドカードを使いこなす、第 1 回|http://www.ibm.com/developerworks/jp/java/library/j-jtp04298.html]]
;ほか
* [[doubleでの0.05の表し方|http://gihyo.jp/dev/serial/01/java-calculation/0012]]
* [[【コラム】ライトニングJava (17) 拡張for構文(2) - 逆コンパイルで探る拡張for構文の裏側 |http://journal.mycom.co.jp/column/java/017/index.html]]
* [[Java列挙型メモ(Hishidama's Java enum Memo)|http://www.ne.jp/asahi/hishidama/home/tech/java/enum.html]]
* [[実行中のメソッド名 - 教えて!goo|http://oshiete1.goo.ne.jp/qa613476.html]]
! 言語仕様
* [[JavaScriptの言語仕様]]
* [[JavaScript: 世界で最も誤解されたプログラミング言語 | http://d.hatena.ne.jp/brazil/20050829/1125321936]]
* [[Core JavaScript 1.5 ガイド - MDC | https://developer.mozilla.org/ja/Core_JavaScript_1.5_Guide ]]
* [[Under Translation of ECMA-262 3rd Edition | http://www2u.biglobe.ne.jp/~oz-07ams/prog/ecma262r3/ ]]
!ライブラリ
* [[jQuery|jQuery]]
* [[Google Maps API]]
* [[JavaScriptで複雑なURLをパースできるライブラリ「parseUri」:phpspot開発日誌|http://phpspot.org/blog/archives/2007/07/javascripturlpa.html]]
* [[プログラムのコードに色を付けるライブラリ「google-code-prettify」を導入 - シングスブログ | http://blog.thingslabo.com/archives/000004.html]]
!プロトタイプ
* [[関数一発でプロトタイプチェーンに繋げて、オブジェクトをクローンする。 - IT戦記 | http://d.hatena.ne.jp/amachang/20061019/1161201903]]
! ほか
* <<slider tocSlider JavaScriptの実装 JavaScriptの実装>>
* <<slider tocSlider JSON JSON>>
* <<slider tocSlider Aptana Aptana >>
* [[Window Object 1.0 | http://www.w3.org/TR/Window/ ]]
* [[例のあれ(仮題)- JavaScriptでStringBuffer。|http://reiare.net/blog/2010/11/15/javascript-de-stringbuffer/]]
* [[画像を使う - MDN|https://developer.mozilla.org/ja/Canvas_tutorial/Using_images]]
* firefox
** [[DOM - MDC | https://developer.mozilla.org/Ja/DOM ]]
* ~SpiderMonkey
** [[Downloading Source Archives - MDC | https://developer.mozilla.org/en/Download_Mozilla_Source_Code ]]
** [[WindowsでSpiderMonkeyをビルドする | endflow.net blog | http://blog.endflow.net/?p=55 ]]
* Google V8
* _proto_ は非標準
* クロージャの変数束縛のタイミングが微妙
** 親(定義もと)関数が抜けた後に、束縛が行われる
** [[初心者でも使えてプログラマでも困惑するJavaScript - 檜山正幸のキマイラ飼育記 | http://d.hatena.ne.jp/m-hiyama/20050803/1123041897 ]]
!データ型
!!基本型の種類
*数値
*文字列
*論理値
!!型変換
~JavaScriptは、コンテキストに合う型に暗黙的に(可能な限り)変換する。
*頑張り過ぎな気がする。
*「基本型 ⇔ 参照型」の暗黙的な変換も行う。
!分かりにくい仕様
* ブロックスコープがない
** [[プログラマのためのJavaScript (12):不思議な宣言と奇妙なスコープ - 檜山正幸のキマイラ飼育記 | http://d.hatena.ne.jp/m-hiyama/20051209/1134086113 ]]
* 関数はオブジェクト型だが、typeof 演算子では特別扱いされる
** [[11 式 (Expressions) | http://www2u.biglobe.ne.jp/~oz-07ams/prog/ecma262r3/11_Expressions.html#UnaryExpression ]]
* addEventListener のuseCapture
** [[JavaScript addEventListener() - とみぞーノート|http://wiki.bit-hive.com/tomizoo/pg/JavaScript%20addEventListener%28%29]]
* オブジェクトのdeepコピーができない
* sprintf() に相当するものが無い
* ~ECMAScript 3.0の仕様には「末尾再帰の最適化」は含まれていない
* [[FAQ形式によるJavaScriptの本質がわかる超入門 - 風と宇宙とプログラム|http://d.hatena.ne.jp/mindcat/20091004/1254653934]]
* [[call メソッド : Function オブジェクト : JavaScript リファレンス - Web/DB プログラミング徹底解説|http://keicode.com/jsref/function.call.php]]
[[Documents Library|http://www.pinkdragon.net/doc_lib/]]
; コマンド
* <<slider tocSlider 時刻の設定 時刻の設定>>
* <<slider tocSlider findコマンド findコマンド>>
* <<slider tocSlider 重複行の表示 重複行の表示>>
* <<slider tocSlider 重複行の削除 重複行の削除>>
* [[sed |http://www.ab.auone-net.jp/~for_test/pc/sed_01.html]]
* [[diffで標準入力を比較する|http://x68000.q-e-d.net/~68user/unix/pickup?diff]]
* [[.rhostsについて|http://x68000.q-e-d.net/~68user/unix/pickup?~%2F.rhosts]]
* [[Linux の nice / renice コマンドを覚えた :: Drk7jp|http://www.drk7.jp/MT/archives/001333.html]]
* [[UNIX の設定ファイル|http://uguisu.skr.jp/Windows/setting.html]]
* [[updatedb をチューニング。locate コマンド|http://www.drk7.jp/MT/archives/000912.html]]
* [[pgrep, pkill を使用してプロセスを殺す - 技術メモ帳|http://d.hatena.ne.jp/lurker/20061102/1162427170]]
; シェルスクリプト
* [[makimono|http://www.makimono.jp/shell/]]
* [[Bシェルスクリプトのすすめ|http://chaichan.web.infoseek.co.jp/src/BSH.htm]]
* [[Shell: script|http://homepage1.nifty.com/~tetsu/linux/cmd/sh.html]]
* [[シェルスクリプトの基礎 | http://www.syns.net/10/]]
; ターミナル
* [[ANSI/VT100 Terminal Control|http://www.termsys.demon.co.uk/vtansi.htm]]
* [[mltermを使う|http://www.seeds-man.com/%7Enari/v2/people/nari/comp/linux/mlterm1.shtml]]
* [[mlterm|http://www12.atwiki.jp/linux2ch/pages/194.html]]
* [[Linux Backspace/Delete mini-HOWTO|http://www.linux.or.jp/JF/JFdocs/BackspaceDelete/index.html]]
; Vim
* [[Vimのキーバインド|http://gigazine.jp/img/2006/03/31/vi_vim_graphical_cheat_sheet/vi-vim-cheat-sheet.gif]]
* [[vimで効率的にコードを書くための小技 - bonar note|http://d.hatena.ne.jp/bonar/20070415/1176651778]]
* [[vimの使い方 - 備忘録(チラシの裏) | http://wiki.livedoor.jp/yoynizi9691/d/vim%A4%CE%BB%C8%A4%A4%CA%FD# ]]
; Emacs
* [[GNU Emacsマニュアル|http://www.bookshelf.jp/texi/emacs-man/21-3/jp/emacs.html]]
* [[GNU Emacs Lispリファレンス|http://www.geocities.co.jp/SiliconValley-Bay/9285/ELISP-JA/elisp.html]]
* [[Delete and BackSpace in GNU Emacs 21.3.50|http://homepage.mac.com/nand/macosx/emacs_delete.html]]
; C言語
* [[pthread_*|http://www.saiin.net/~silphire/pthread/pthread.html]]
* [[Programming UNIX Sockets in C|http://www.kt.rim.or.jp/~ksk/sock-faq/unix-socket-faq-ja.html]]
; Samba
* [[SAMBAの小技|http://tomo.ac/goodstream/linux/samba/smbtips.htm]]
* [[Sambaサーバに名前でアクセスできない問題解決 - ヒビノキロク|http://d.hatena.ne.jp/nozom/20070526/1180191496]]
; ~SELinux
* [[ [Fedora core] vsFTPdの設定|http://vertex.air-nifty.com/blog/2006/09/fedora_core_vsf_20b9.html]]
* [[onLisp|http://www.komaba.utmc.or.jp/~flatline/]]
* [[iota と tabulate|http://www.geocities.jp/m_hiroi/clisp/clispb09.html]]
* [[Scheme:マクロの危険|http://practical-scheme.net/wiliki/wiliki.cgi?Scheme%3a%a5%de%a5%af%a5%ed%a4%ce%b4%ed%b8%b1&l=jp]]
. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。.
* [[ちょっと変わったLisp入門 | http://www.atmarkit.co.jp/fcoding/articles/gauche/01/gauche01e.html ]]
* [[プログラミング言語の進化を追え: 第4回 大人のためのブラックボックス読解講座 | http://www.ibm.com/developerworks/jp/opensource/library/itm-progevo4/ ]]
* [[なぜ関数プログラミングは重要か | http://www.sampou.org/haskell/article/whyfp.html ]]
* [[[Common Lisp]JavaやC++、etcな人向けに説明するCommon Lispの利点 | http://d.hatena.ne.jp/t2ru/20080912/1221250077 ]]
* [[「Lisp脳」の謎に迫る - Schemeプログラマの発想|http://karetta.jp/book-node/gauche-hacks/023107]]
** ~JavaScript や Lua でもこういう時があるけど...
* [[Gaucheクックブック|http://d.hatena.ne.jp/rui314/]]
! xyzzy
<<tiddler "xyzzy-Lisp">>
! Emacs
<<tiddler "Emacs Lisp">>
! Scheme
<<tiddler "Scheme">>
/***
|''Name:''|LoadRemoteFileThroughProxy (previous LoadRemoteFileHijack)|
|''Description:''|When the TiddlyWiki file is located on the web (view over http) the content of [[SiteProxy]] tiddler is added in front of the file url. If [[SiteProxy]] does not exist "/proxy/" is added. |
|''Version:''|1.1.0|
|''Date:''|mar 17, 2007|
|''Source:''|http://tiddlywiki.bidix.info/#LoadRemoteFileHijack|
|''Author:''|BidiX (BidiX (at) bidix (dot) info)|
|''License:''|[[BSD open source license|http://tiddlywiki.bidix.info/#%5B%5BBSD%20open%20source%20license%5D%5D ]]|
|''~CoreVersion:''|2.2.0|
***/
//{{{
version.extensions.LoadRemoteFileThroughProxy = {
major: 1, minor: 1, revision: 0,
date: new Date("mar 17, 2007"),
source: "http://tiddlywiki.bidix.info/#LoadRemoteFileThroughProxy"};
if (!window.bidix) window.bidix = {}; // bidix namespace
if (!bidix.core) bidix.core = {};
bidix.core.loadRemoteFile = loadRemoteFile;
loadRemoteFile = function(url,callback,params)
{
if ((document.location.toString().substr(0,4) == "http") && (url.substr(0,4) == "http")){
url = store.getTiddlerText("SiteProxy", "/proxy/") + url;
}
return bidix.core.loadRemoteFile(url,callback,params);
}
//}}}
; 開発に必要なもの
* [[Lua: download | http://www.lua.org/download.html]]
! ドキュメント
<<tiddler "Lua ドキュメント">>
! ライブラリ
<<tiddler "Lua ライブラリ">>
! メモ
<<tiddler "Lua メモ">>
{{{
for line in io.stdin:lines() do
-- 1行ずつ処理する (lineには改行コードがついていない)
...
end
}}}
* module + class
** Java風コンストラクタ
** 継承
* 読み取り専用テーブル
* [[Luaに興味が出てきたのでコンパイルしてみる - サタケ家|http://d.hatena.ne.jp/satakesatake/20090304/1236156560]]
* [[IUP (and CD, and IM, etc)|http://angg.twu.net/iup.html]]
* [[Microsoft Visual C++]]
----
MD を MT にすれば、単体動作可能
{{{
@rem Script to build Lua under "Visual Studio .NET Command Prompt".
@rem Do not run from this directory; run it from the toplevel: etc\luavs.bat .
@rem It creates lua51.dll, lua51.lib, lua.exe, and luac.exe in src.
@rem (contributed by David Manura and Mike Pall)
@setlocal
@set MYCOMPILE=cl /nologo /MT /O2 /W3 /c /D_CRT_SECURE_NO_DEPRECATE
@set MYLINK=link /nologo
@set MYMT=mt /nologo
cd src
@rem %MYCOMPILE% /DLUA_BUILD_AS_DLL l*.c
%MYCOMPILE% l*.c
del lua.obj luac.obj
lib /out:lua51.lib l*.obj
%MYCOMPILE% lua.c
%MYLINK% /out:lua.exe lua.obj lua51.lib
@rem %MYMT% -manifest _lua.exe.manifest -outputresource:lua.exe
%MYCOMPILE% l*.c print.c
del lua.obj linit.obj lbaselib.obj ldblib.obj liolib.obj lmathlib.obj^
loslib.obj ltablib.obj lstrlib.obj loadlib.obj
%MYLINK% /out:luac.exe *.obj
del *.obj *.manifest
cd ..
}}}
;言語仕様
* [[Lua 5.1 Reference Manual - contents | http://www.lua.org/manual/5.1/ ]]
* [[Lua 5.1 リファレンスマニュアル | http://sugarpot.sakura.ne.jp/yuno/html/lua51_manual_ja.html ]]
* [[Programming in Lua (first edition) | http://www.lua.org/pil/index.html ]]
; API
* [[Lua言語 関数リファレンス | http://f49.aaa.livedoor.jp/~lunacied/lua/lua_function.xml ]]
* [[関数 - Lua組み込みWiki | http://tgws.fromc.jp/wiki/lua/index.php?%B4%D8%BF%F4 ]]
* [[スタック(C言語 ⇔ Lua)について | http://tomotech.blog31.fc2.com/blog-entry-13.html ]]
; 言語仕様
* [[三項演算子 | http://hammm.blog21.fc2.com/blog-entry-74.html ]]
; C言語とのやりとり
* [[スタックについて | http://tomotech.blog31.fc2.com/blog-category-4.html ]]
* [[LuaからC言語の関数を呼び出す | http://d.hatena.ne.jp/smeghead/20080817/sleep ]]
; クラス
* [[クラスもどきを作る|http://www.tom.sfc.keio.ac.jp/~fjedi/wiki/index.php?Lua#ic2f320c]]
* [[LuaでOOP | http://akazero.hp.infoseek.co.jp/OOP.html ]]
; 入門サイト
* [[Lua を使ってみよう | http://www.geocities.jp/sanpontze/lua.html]]
* [[Lua - 自分用メモとか | http://www.tom.sfc.keio.ac.jp/~fjedi/wiki/index.php?Lua]]
; パフォーマンス
* [[Lua Performance Tips |http://d.hatena.ne.jp/KZR/20090712/p1]]
* [[lua-users wiki: Ordered Table | http://lua-users.org/wiki/OrderedTable ]]
* [[Lua 1行ずつ読み込む処理]]
; 使ってみた
* [[LuaLogging|http://www.keplerproject.org/lualogging/]]
* [[LuaDoc|http://luadoc.luaforge.net/]]
** ~LuaFileSystem
** ~LuaLogging
* [[IUP (and CD, and IM, etc)|http://angg.twu.net/iup.html]]
; 未使用
* [[LuaDate|http://luaforge.net/projects/date/]]
** 日付・時刻 のライブラリ
* [[RemDebug|http://www.keplerproject.org/remdebug/]]
** ~LuaFileSystem と ~LuaSocket が必要
* [[LuaFileSystem|http://www.keplerproject.org/luafilesystem/index.html]]
* [[LuaSocket|http://luaforge.net/projects/luasocket/]]
* [[LuaSQL | http://www.keplerproject.org/luasql/ ]]
* [[bitlib |http://luaforge.net/projects/bitlib/]]
* [[stdlib |http://luaforge.net/projects/stdlib/]]
. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。.
* [[Lua for Windows に含まれるライブラリ | http://nyaos.org/d/index.cgi?p=(2009.03.06) ]]
[[しようかな]]
[[気になったもの]]
[[出かける]]
[[調べる]]
[[お気にいり|お気に入りページ]]
[[メモ]] }{ [[URLs]]
[[ツール]] }{ [[本]]
[[面白かったページ|ちょっと面白かったページ]]
[[見たページリスト]]
[[英語]]
[[仕事]] ([[Lua]] | [[流体]])
[[絵]] }{ [[記憶の隅]]
[[サイトデザイン]]
[[コンピュータ言語]]
[[更新順]]
小さなプログラムを作成する場合用
{{{
CC = gcc
RM = rm -f
CFLAGS = -g -Wall
LDLIBS =
INCLUDES =
TARGET = sample
SRC = src1.c src2.c src.3
OBJ = $(SRC:%.c=%.o)
all: $(TARGET)
$(TARGET): $(OBJ)
$(CC) $(CFLAGS) -o $@ $^ $(LDLIBS)
.c.o:
$(CC) $(CFLAGS) $(INCLUDES) -o $@ -c $<
clean:
$(RM) $(TARGET) $(OBJ)
}}}
----
release, debug ビルド (なんかいまいちだが、とりあえず)
{{{
# GNU Make Only
MAKE = gmake
CC = gcc
AR = ar
RM = rm -f
DEBUG_OBJ_DIR = debug_obj
RELEASE_OBJ_DIR = release_obj
ifdef DEBUG_FLAG
OBJ_DIR = $(DEBUG_OBJ_DIR)
CFLAGS = -g -Wall -D_DEBUG
LDLIBS =
INCLUDES =
else
OBJ_DIR = $(RELEASE_OBJ_DIR)
CFLAGS = -O2 -Wall
LDLIBS =
INCLUDES =
endif
# --------------------------------------------
TARGET = sample
SRC = src1.c src2.c src.3
OBJ = $(SRC:%.c=$(OBJ_DIR)/%.o)
CFLAGS := $(CFLAGS)
LDLIBS := $(LDLIBS) $(LIB)
INCLUDES :=
$(OBJ_DIR)/%.o: %.c
$(CC) $(CFLAGS) $(INCLUDES) -o $@ -c $<
all: debug
release:
$(MAKE) build
debug:
$(MAKE) build DEBUG_FLAG=1
build: $(OBJ_DIR) $(OBJ_DIR)/$(TARGET)
$(OBJ_DIR):
mkdir $@
$(OBJ_DIR)/$(TARGET): $(LIB) $(OBJ)
$(CC) $(CFLAGS) -o $@ $(OBJ) $(LDLIBS)
clean:
$(RM) -r $(RELEASE_OBJ_DIR) $(DEBUG_OBJ_DIR)
}}}
* [["Mercurial: The Definitive Guide" 日本語訳の公開 | http://d.hatena.ne.jp/flying-foozy/20090731/1249046206 ]]
; ブランチ・マージ
* [[multiple heads での changeset 間移動 | http://d.hatena.ne.jp/dayflower/20080314/1205395287 ]]
* [[Mercurialのブランチとマージ | http://d.hatena.ne.jp/cubicdaiya/20081110/1226323426 ]]
* [[Mercurialではじめる分散構成管理:第2回 「マージ」は怖くない ~ 分散した成果の集約 | http://gihyo.jp/dev/feature/01/mercurial/0002?page=2 ]]
* [[分散バージョン管理系Mercurial:rename って何の意味があるの? | http://d.hatena.ne.jp/m-hiyama/20091217/1261035562 ]]
* [[mercurial - metabo346の日記 | http://d.hatena.ne.jp/metabo346/20090213 ]]
* [[mercurial: branchで行ったバグフィックスをtrunkに適用する - tkrdの日記 (rails や ubuntu のことなど) | http://d.hatena.ne.jp/tkrd/20090414/1239714126 ]]
* [[Mercurial以前と以後のチケット駆動開発: プログラマの思索 | http://forza.cocolog-nifty.com/blog/2009/12/mercurial-b9a5.html ]]
* [[Mercurial hosting — bitbucket.org | http://bitbucket.org/ ]]
* [[Microsoft® Visual C++® 既定のキーバインド | http://msdn.microsoft.com/ja-jp/vstudio/dd183141.aspx]]
* [[VC++ プロジェクト設定]]
* <<slider tocSlider "VC++ CRT" "VC++ CRT">>
* <<slider tocSlider "VC++ pragma" "VC++ pragma">>
* [[Lua コンパイル]]
. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。.
* [[VC++,glut,コンソール非表示 |http://d.hatena.ne.jp/gnarl/20071012/1192197418]]
* [[VS2008SP1 マニフェストに関する不具合の回避方法 « nabehide’s sol-log|http://nabehide.jp/sollog/?p=22]]
* [[snprintf|http://blogs.wankuma.com/shannon/archive/2008/09/05/155662.aspx]]
* [[DUMPBIN のオプション | http://www.xlsoft.com/jp/products/intel/cvf/docs/vf-html/pg/pg26_10_02.htm ]]
* [[4.2.2. Makefileプロジェクト - ROOT解体新書|http://hep.planet-koo.com/index.php?g=root&sid=rt_cxx_win_makefile]]
/***
|Name|NestedSlidersPlugin|
|Source|http://www.TiddlyTools.com/#NestedSlidersPlugin|
|Version|2.0.5|
|Author|Eric Shulman - ELS Design Studios|
|License|http://www.TiddlyTools.com/#LegalStatements and [[Creative Commons Attribution-ShareAlike 2.5 License|http://creativecommons.org/licenses/by-sa/2.5/]]|
|~CoreVersion|2.1|
|Type|plugin|
|Requires||
|Overrides|Slider.prototype.stop|
|Description|Make any tiddler content into an expandable 'slider' panel, without needing to create a separate tiddler to contain the slider content.|
++++!!!!![Configuration]>
Enable animation for slider panels
<<option chkFloatingSlidersAnimate>> allow sliders to animate when opening/closing
>(note: This setting is in //addition// to the general option for enabling/disabling animation effects:
><<option chkAnimate>> enable animations (entire document)
>For slider animation to occur, you must also allow animation in general.
Debugging messages for 'lazy sliders' deferred rendering:
<<option chkDebugLazySliderDefer>> show debugging alert when deferring slider rendering
<<option chkDebugLazySliderRender>> show debugging alert when deferred slider is actually rendered
===
++++!!!!![Usage]>
When installed, this plugin adds new wiki syntax for embedding 'slider' panels directly into tiddler content. Use {{{+++}}} and {{{===}}} to delimit the slider content. You can also 'nest' these sliders as deep as you like (see complex nesting example below), so that expandable 'tree-like' hierarchical displays can be created. This is most useful when converting existing in-line text content to create in-line annotations, footnotes, context-sensitive help, or other subordinate information displays.
Additional optional syntax elements let you specify
*default to open
*cookiename
*heading level
*floater (with optional CSS width value)
*mouse auto rollover
*custom class/label/tooltip/accesskey
*automatic blockquote
*deferred rendering
The complete syntax, using all options, is:
//{{{
++++(cookiename)!!!!!^width^*{{class{[label=key|tooltip]}}}>...
content goes here
===
//}}}
where:
* {{{+++}}} (or {{{++++}}}) and {{{===}}}^^
marks the start and end of the slider definition, respectively. When the extra {{{+}}} is used, the slider will be open when initially displayed.^^
* {{{(cookiename)}}}^^
saves the slider opened/closed state, and restores this state whenever the slider is re-rendered.^^
* {{{!}}} through {{{!!!!!}}}^^
displays the slider label using a formatted headline (Hn) style instead of a button/link style^^
* {{{^width^}}} (or just {{{^}}})^^
makes the slider 'float' on top of other content rather than shifting that content downward. 'width' must be a valid CSS value (e.g., "30em", "180px", "50%", etc.). If omitted, the default width is "auto" (i.e., fit to content)^^
* {{{*}}}^^
automatically opens/closes slider on "rollover" as well as when clicked^^
* {{{{{class{[label=key|tooltip]}}}}}}^^
uses custom label/tooltip/accesskey. {{{{{class{...}}}}}}, {{{=key}}} and {{{|tooltip}}} are optional. 'class' is any valid CSS class name, used to style the slider label text. 'key' must be a ''single letter only''. Default labels/tootips are: ">" (more) and "<" (less), with no default access key assignment.^^
* {{{">"}}} //(without the quotes)//^^
automatically adds blockquote formatting to slider content^^
* {{{"..."}}} //(without the quotes)//^^
defers rendering of closed sliders until the first time they are opened. //Note: deferred rendering may produce unexpected results in some cases. Use with care.//^^
//Note: to make slider definitions easier to read and recognize when editing a tiddler, newlines immediately following the {{{+++}}} 'start slider' or preceding the {{{===}}} 'end slider' sequence are automatically supressed so that excess whitespace is eliminated from the output.//
===
++++!!!!![Examples]>
simple in-line slider:
{{{
+++
content
===
}}}
+++
content
===
----
use a custom label and tooltip:
{{{
+++[label|tooltip]
content
===
}}}
+++[label|tooltip]
content
===
----
content automatically blockquoted:
{{{
+++>
content
===
}}}
+++>
content
===
----
all options combined //(default open, cookie, heading, sized floater, rollover, class, label/tooltip/key, blockquoted, deferred)//
{{{
++++(testcookie)!!!^30em^*{{big{[label=Z|click or press Alt-Z to open]}}}>...
content
===
}}}
++++(testcookie)!!!^30em^*{{big{[label=Z|click or press Alt-Z to open]}}}>...
content
===
----
complex nesting example:
{{{
+++^[get info...=I|click for information or press Alt-I]
put some general information here, plus a floating slider with more specific info:
+++^10em^[view details...|click for details]
put some detail here, which could include a rollover with a +++^25em^*[glossary definition]explaining technical terms===
===
===
}}}
+++^[get info...=I|click for information or press Alt-I]
put some general information here, plus a floating slider with more specific info:
+++^10em^[view details...|click for details]
put some detail here, which could include a rollover with a +++^25em^*[glossary definition]explaining technical terms===
===
===
===
!!!!!Installation
<<<
import (or copy/paste) the following tiddlers into your document:
''NestedSlidersPlugin'' (tagged with <<tag systemConfig>>)
<<<
!!!!!Revision History
<<<
''2007.06.10 - 2.0.5'' add check to ensure that window.adjustSliderPanel() is defined before calling it (prevents error on shutdown when mouse event handlers are still defined)
''2007.05.31 - 2.0.4'' add handling to invoke adjustSliderPanel() for onmouseover events on slider button and panel. This allows the panel position to be re-synced when the button position shifts due to changes in unrelated content above it on the page. (thanks to Harsha for bug report)
''2007.03.30 - 2.0.3'' added chkFloatingSlidersAnimate (default to FALSE), so that slider animation can be disabled independent of the overall document animation setting (avoids strange rendering and focus problems in floating panels)
''2007.03.01 - 2.0.2'' for TW2.2+, hijack Morpher.prototype.stop so that "overflow:hidden" can be reset to "overflow:visible" after animation ends
''2007.03.01 - 2.0.1'' in hijack for Slider.prototype.stop, use apply() to pass params to core function
|please see [[NestedSlidersPluginHistory]] for additional revision details|
''2005.11.03 - 1.0.0'' initial public release
<<<
!!!!!Credits
<<<
This feature was implemented by EricShulman from [[ELS Design Studios|http:/www.elsdesign.com]] with initial research and suggestions from RodneyGomes, GeoffSlocock, and PaulPetterson.
<<<
!!!!!Code
***/
//{{{
version.extensions.nestedSliders = {major: 2, minor: 0, revision: 5, date: new Date(2007,6,10)};
//}}}
//{{{
// options for deferred rendering of sliders that are not initially displayed
if (config.options.chkDebugLazySliderDefer==undefined) config.options.chkDebugLazySliderDefer=false;
if (config.options.chkDebugLazySliderRender==undefined) config.options.chkDebugLazySliderRender=false;
if (config.options.chkFloatingSlidersAnimate==undefined) config.options.chkFloatingSlidersAnimate=false;
// default styles for 'floating' class
setStylesheet(".floatingPanel { position:absolute; z-index:10; padding:0.5em; margin:0em; \
background-color:#eee; color:#000; border:1px solid #000; text-align:left; }","floatingPanelStylesheet");
//}}}
//{{{
config.formatters.push( {
name: "nestedSliders",
match: "\\n?\\+{3}",
terminator: "\\s*\\={3}\\n?",
lookahead: "\\n?\\+{3}(\\+)?(\\([^\\)]*\\))?(\\!*)?(\\^(?:[^\\^\\*\\[\\>]*\\^)?)?(\\*)?(?:\\{\\{([\\w]+[\\s\\w]*)\\{)?(\\[[^\\]]*\\])?(?:\\}{3})?(\\>)?(\\.\\.\\.)?\\s*",
handler: function(w)
{
// defopen=lookaheadMatch[1]
// cookiename=lookaheadMatch[2]
// header=lookaheadMatch[3]
// panelwidth=lookaheadMatch[4]
// rollover=lookaheadMatch[5]
// class=lookaheadMatch[6]
// label=lookaheadMatch[7]
// blockquote=lookaheadMatch[8]
// deferred=lookaheadMatch[9]
lookaheadRegExp = new RegExp(this.lookahead,"mg");
lookaheadRegExp.lastIndex = w.matchStart;
var lookaheadMatch = lookaheadRegExp.exec(w.source)
if(lookaheadMatch && lookaheadMatch.index == w.matchStart)
{
// location for rendering button and panel
var place=w.output;
// default to closed, no cookie, no accesskey
var show="none"; var title=">"; var tooltip="show"; var cookie=""; var key="";
// extra "+", default to open
if (lookaheadMatch[1])
{ show="block"; title="<"; tooltip="hide"; }
// cookie, use saved open/closed state
if (lookaheadMatch[2]) {
cookie=lookaheadMatch[2].trim().slice(1,-1);
cookie="chkSlider"+cookie;
if (config.options[cookie]==undefined)
{ config.options[cookie] = (show=="block") }
if (config.options[cookie])
{ show="block"; title="<"; tooltip="hide"; }
else
{ show="none"; title=">"; tooltip="show"; }
}
// parse custom label/tooltip/accesskey: [label=X|tooltip]
if (lookaheadMatch[7]) {
title = lookaheadMatch[7].trim().slice(1,-1);
var pos=title.indexOf("|");
if (pos!=-1) { tooltip = title.substr(pos+1,title.length); title=title.substr(0,pos); }
if (title.substr(title.length-2,1)=="=") { key=title.substr(title.length-1,1); title=title.slice(0,-2); }
if (pos==-1) tooltip += " "+title; // default tooltip: "show/hide <title>"
}
// create the button
if (lookaheadMatch[3]) { // use "Hn" header format instead of button/link
var lvl=(lookaheadMatch[3].length>6)?6:lookaheadMatch[3].length;
var btn = createTiddlyElement(createTiddlyElement(place,"h"+lvl,null,null,null),"a",null,lookaheadMatch[6],title);
btn.onclick=onClickNestedSlider;
btn.setAttribute("href","javascript:;");
btn.setAttribute("title",tooltip);
}
else
var btn = createTiddlyButton(place,title,tooltip,onClickNestedSlider,lookaheadMatch[6]);
// set extra button attributes
btn.sliderCookie = cookie; // save the cookiename (if any) in the button object
btn.defOpen=lookaheadMatch[1]!=null; // save default open/closed state (boolean)
btn.keyparam=key; // save the access key letter ("" if none)
if (key.length) {
btn.setAttribute("accessKey",key); // init access key
btn.onfocus=function(){this.setAttribute("accessKey",this.keyparam);}; // **reclaim** access key on focus
}
// "non-click" MouseOver opens/closes slider
if (lookaheadMatch[5]) btn.onmouseover=onClickNestedSlider;
// otherwise, mouseover aligns floater position with button
else btn.onmouseover=function(event)
{ if (window.adjustSliderPos) window.adjustSliderPos(this.parentNode,this,this.sliderPanel,this.sliderPanel.className); }
// create slider panel
var panelClass=lookaheadMatch[4]?"floatingPanel":"sliderPanel";
var panel=createTiddlyElement(place,"div",null,panelClass,null);
panel.button = btn; // so the slider panel know which button it belongs to
panel.defaultPanelWidth=(lookaheadMatch[4] && lookaheadMatch[4].length>2)?lookaheadMatch[4].slice(1,-1):""; // save requested panel size
btn.sliderPanel=panel;
panel.style.display = show;
panel.style.width=panel.defaultPanelWidth;
panel.onmouseover=function(event) // mouseover aligns floater position with button
{ if (window.adjustSliderPos) window.adjustSliderPos(this.parentNode,this.button,this,this.className); }
// render slider (or defer until shown)
w.nextMatch = lookaheadMatch.index + lookaheadMatch[0].length;
if ((show=="block")||!lookaheadMatch[9]) {
// render now if panel is supposed to be shown or NOT deferred rendering
w.subWikify(lookaheadMatch[8]?createTiddlyElement(panel,"blockquote"):panel,this.terminator);
// align floater position with button
if (window.adjustSliderPos) window.adjustSliderPos(place,btn,panel,panelClass);
}
else {
var src = w.source.substr(w.nextMatch);
var endpos=findMatchingDelimiter(src,"+++","===");
panel.setAttribute("raw",src.substr(0,endpos));
panel.setAttribute("blockquote",lookaheadMatch[8]?"true":"false");
panel.setAttribute("rendered","false");
w.nextMatch += endpos+3;
if (w.source.substr(w.nextMatch,1)=="\n") w.nextMatch++;
if (config.options.chkDebugLazySliderDefer) alert("deferred '"+title+"':\n\n"+panel.getAttribute("raw"));
}
}
}
}
)
// TBD: ignore 'quoted' delimiters (e.g., "{{{+++foo===}}}" isn't really a slider)
function findMatchingDelimiter(src,starttext,endtext) {
var startpos = 0;
var endpos = src.indexOf(endtext);
// check for nested delimiters
while (src.substring(startpos,endpos-1).indexOf(starttext)!=-1) {
// count number of nested 'starts'
var startcount=0;
var temp = src.substring(startpos,endpos-1);
var pos=temp.indexOf(starttext);
while (pos!=-1) { startcount++; pos=temp.indexOf(starttext,pos+starttext.length); }
// set up to check for additional 'starts' after adjusting endpos
startpos=endpos+endtext.length;
// find endpos for corresponding number of matching 'ends'
while (startcount && endpos!=-1) {
endpos = src.indexOf(endtext,endpos+endtext.length);
startcount--;
}
}
return (endpos==-1)?src.length:endpos;
}
//}}}
//{{{
window.onClickNestedSlider=function(e)
{
if (!e) var e = window.event;
var theTarget = resolveTarget(e);
var theLabel = theTarget.firstChild.data;
var theSlider = theTarget.sliderPanel
var isOpen = theSlider.style.display!="none";
// if using default button labels, toggle labels
if (theLabel==">") theTarget.firstChild.data = "<";
else if (theLabel=="<") theTarget.firstChild.data = ">";
// if using default tooltips, toggle tooltips
if (theTarget.getAttribute("title")=="show")
theTarget.setAttribute("title","hide");
else if (theTarget.getAttribute("title")=="hide")
theTarget.setAttribute("title","show");
if (theTarget.getAttribute("title")=="show "+theLabel)
theTarget.setAttribute("title","hide "+theLabel);
else if (theTarget.getAttribute("title")=="hide "+theLabel)
theTarget.setAttribute("title","show "+theLabel);
// deferred rendering (if needed)
if (theSlider.getAttribute("rendered")=="false") {
if (config.options.chkDebugLazySliderRender)
alert("rendering '"+theLabel+"':\n\n"+theSlider.getAttribute("raw"));
var place=theSlider;
if (theSlider.getAttribute("blockquote")=="true")
place=createTiddlyElement(place,"blockquote");
wikify(theSlider.getAttribute("raw"),place);
theSlider.setAttribute("rendered","true");
}
// show/hide the slider
if(config.options.chkAnimate && (theSlider.className!='floatingPanel' || config.options.chkFloatingSlidersAnimate))
anim.startAnimating(new Slider(theSlider,!isOpen,e.shiftKey || e.altKey,"none"));
else
theSlider.style.display = isOpen ? "none" : "block";
// reset to default width (might have been changed via plugin code)
theSlider.style.width=theSlider.defaultPanelWidth;
// align floater panel position with target button
if (!isOpen && window.adjustSliderPos) window.adjustSliderPos(theSlider.parentNode,theTarget,theSlider,theSlider.className);
// if showing panel, set focus to first 'focus-able' element in panel
if (theSlider.style.display!="none") {
var ctrls=theSlider.getElementsByTagName("*");
for (var c=0; c<ctrls.length; c++) {
var t=ctrls[c].tagName.toLowerCase();
if ((t=="input" && ctrls[c].type!="hidden") || t=="textarea" || t=="select")
{ ctrls[c].focus(); break; }
}
}
if (this.sliderCookie && this.sliderCookie.length) {
config.options[this.sliderCookie]=!isOpen;
if (config.options[this.sliderCookie]!=this.defOpen)
saveOptionCookie(this.sliderCookie);
else { // remove cookie if slider is in default display state
var ex=new Date(); ex.setTime(ex.getTime()-1000);
document.cookie = this.sliderCookie+"=novalue; path=/; expires="+ex.toGMTString();
}
}
return false;
}
// TW2.1 and earlier:
// hijack Slider animation handler 'stop' handler so overflow is visible after animation has completed
Slider.prototype.coreStop = Slider.prototype.stop;
Slider.prototype.stop = function()
{ this.coreStop.apply(this,arguments); this.element.style.overflow = "visible"; }
// TW2.2+
// hijack Morpher animation handler 'stop' handler so overflow is visible after animation has completed
if (version.major+.1*version.minor+.01*version.revision>=2.2) {
Morpher.prototype.coreStop = Morpher.prototype.stop;
Morpher.prototype.stop = function()
{ this.coreStop.apply(this,arguments); this.element.style.overflow = "visible"; }
}
// adjust floating panel position based on button position
if (window.adjustSliderPos==undefined) window.adjustSliderPos=function(place,btn,panel,panelClass) {
if (panelClass=="floatingPanel") {
var left=0;
var top=btn.offsetHeight;
if (place.style.position!="relative") {
var left=findPosX(btn);
var top=findPosY(btn)+btn.offsetHeight;
var p=place; while (p && p.className!='floatingPanel') p=p.parentNode;
if (p) { left-=findPosX(p); top-=findPosY(p); }
}
if (left+panel.offsetWidth > getWindowWidth()) left=getWindowWidth()-panel.offsetWidth-15;
panel.style.left=left+"px"; panel.style.top=top+"px";
}
}
function getWindowWidth() {
if(document.width!=undefined)
return document.width; // moz (FF)
if(document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
return document.documentElement.clientWidth; // IE6
if(document.body && ( document.body.clientWidth || document.body.clientHeight ) )
return document.body.clientWidth; // IE4
if(window.innerWidth!=undefined)
return window.innerWidth; // IE - general
return 0; // unknown
}
//}}}
{{{
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis" />
<title>POST Form Simple</title>
</head>
<body>
<!-- Please add URL to action attribute -->
<form method="post" action="">
<input type="text" name="data" size="100" />
<input type="submit" name="submit" value="OK" />
</form>
</body>
</html>
}}}
/***
|''Name:''|PasswordOptionPlugin|
|''Description:''|Extends TiddlyWiki options with non encrypted password option.|
|''Version:''|1.0.2|
|''Date:''|Apr 19, 2007|
|''Source:''|http://tiddlywiki.bidix.info/#PasswordOptionPlugin|
|''Author:''|BidiX (BidiX (at) bidix (dot) info)|
|''License:''|[[BSD open source license|http://tiddlywiki.bidix.info/#%5B%5BBSD%20open%20source%20license%5D%5D ]]|
|''~CoreVersion:''|2.2.0 (Beta 5)|
***/
//{{{
version.extensions.PasswordOptionPlugin = {
major: 1, minor: 0, revision: 2,
date: new Date("Apr 19, 2007"),
source: 'http://tiddlywiki.bidix.info/#PasswordOptionPlugin',
author: 'BidiX (BidiX (at) bidix (dot) info',
license: '[[BSD open source license|http://tiddlywiki.bidix.info/#%5B%5BBSD%20open%20source%20license%5D%5D]]',
coreVersion: '2.2.0 (Beta 5)'
};
config.macros.option.passwordCheckboxLabel = "Save this password on this computer";
config.macros.option.passwordInputType = "password"; // password | text
setStylesheet(".pasOptionInput {width: 11em;}\n","passwordInputTypeStyle");
merge(config.macros.option.types, {
'pas': {
elementType: "input",
valueField: "value",
eventName: "onkeyup",
className: "pasOptionInput",
typeValue: config.macros.option.passwordInputType,
create: function(place,type,opt,className,desc) {
// password field
config.macros.option.genericCreate(place,'pas',opt,className,desc);
// checkbox linked with this password "save this password on this computer"
config.macros.option.genericCreate(place,'chk','chk'+opt,className,desc);
// text savePasswordCheckboxLabel
place.appendChild(document.createTextNode(config.macros.option.passwordCheckboxLabel));
},
onChange: config.macros.option.genericOnChange
}
});
merge(config.optionHandlers['chk'], {
get: function(name) {
// is there an option linked with this chk ?
var opt = name.substr(3);
if (config.options[opt])
saveOptionCookie(opt);
return config.options[name] ? "true" : "false";
}
});
merge(config.optionHandlers, {
'pas': {
get: function(name) {
if (config.options["chk"+name]) {
return encodeCookie(config.options[name].toString());
} else {
return "";
}
},
set: function(name,value) {config.options[name] = decodeCookie(value);}
}
});
// need to reload options to load passwordOptions
loadOptionsCookie();
/*
if (!config.options['pasPassword'])
config.options['pasPassword'] = '';
merge(config.optionsDesc,{
pasPassword: "Test password"
});
*/
//}}}
* [[第9章 文字列とディレクトリの操作|http://www.kent-web.com/perl/chap9.html]]
* [[Perlでよく使用する関数・標準モジュール一覧 | http://d.hatena.ne.jp/perlcodesample/20091025/1252196591 ]]
* <<slider tocSlider "Perl ワンライナー" "Perl ワンライナー">>
* [[簡易ソケットクライアント]]
; モジュール
* ~Regexp-Common
** よく使う正規表現がまとめてある
** [[Abigail / Regexp-Common-2010010201 - search.cpan.org | http://search.cpan.org/~abigail/Regexp-Common-2010010201/ ]]
** 参考サイト
*** [[Regexp::Commonによる正規表現で数値やurlの書式チェック - end0tknrのkipple | http://d.hatena.ne.jp/end0tknr/20080901/1220272146 ]]
こんな感じ
;perl -w -e ' while (<>) { print; } ' file1 file2
もう少し長くなる場合は、こんな感じにするかなぁ...
{{{
cat file1 file2 | perl filter_sample.pl
}}}
{{{
<filter_sample.pl>
# 単純なwhileテストの場合、 <> の内容は、$_ に入る.
while (<>) {
# $. には、最後に入力を行ったファイルハンドルの現時点でのレコード番号(行番号)が入っている
print $.;
# print の引数を省略した場合、$_ の内容を出力する.
print; # print $_ と等価
}
}}}
* [[Adobe Photoshop CS5自動化作戦 | http://www.openspc2.org/book/PhotoshopCS5/]]
* [[そらかぜ工場 Photoshop Scripting 覚書き | http://www016.upp.so-net.ne.jp/sorakaze/script/script1.html#dialogdesigner]]
* [[omino pixel blog | http://testing.omino.com/pixelblog/?s=ominoDialogMaker]]
----
* [[フォルダ内のJPEG画像をレイヤーに格納する|http://www.ka-net.org/other/ot04.html]]
;レイヤ
{{{
var currLayer = activeDocument.activeLayer // 現在のレイヤ
var linkedLayers = currLayer.linkedLayers // 選択レイヤにリンクされているレイヤ (レイヤセットも含まれる)
$.writeln( currLayer.name + " is activeLayer(" + currLayer.typename + ").")
for (i = 0; i < linkedLayers.length; i++) {
var linkedLayer = linkedLayers[i]
if (linkedLayer.typename == "ArtLayer") {
// 普通のレイヤ・調整レイヤの場合
$.writeln( linkedLayer.name + " is 'ArtLayer'.")
if (linkedLayer.kind === LayerKind.NORMAL) {
// 普通のレイヤのkind は、LayerKind.NORMAL
$.writeln(" normal layer")
}
} else if (linkedLayer.typename == "LayerSet") {
// レイヤセットの場合
$.writeln( linkedLayer.name + " is 'LayerSet'.")
} else {
throw "unreachable point."
}
}
}}}
|activeDocument.activeLayer |現在のレイヤ |
「イメージ」→「色調補正」→「チャンネルミキサー」
* [[リレーショナル・データベースの世界 | http://www.geocities.jp/mickindex/database/idx_database.html ]]
* [[SQL -TECHSCORE-|http://www.techscore.com/tech/sql/index.html]]
* [[select結果をファイルに出力|http://blog.fideli.com/kenfideli/archive/7/0]]
{{{
cnv <- (function() {
list(
inch2mm = function(inch) { inch * 25.4 },
inch2cm = function(inch) { inch * 2.54 },
inch2m = function(inch) { inch * 0.0254 },
mm2inch = function(mm) { mm / 25.4 },
cf_m3 = function(cf){ 0.0283168 * cf },
usbbl_l = function(usbbl) { 158.987 * usbbl }
)
})()
inch2mm <- function(inch) { inch * 25.4 }
inch2cm <- function(inch) { inch * 2.54 }
inch2m <- function(inch) { inch * 0.0254 }
mm2inch <- function(mm) { mm / 25.4 }
cf_m3 <- function(cf){ 0.0283168 * cf }
usbbl_l <- function(usbbl) { 158.987 * usbbl }
# ----------------------
annulus <- function(id, od) { (id * id - od * od) * pi / 4.0 }
ch4_m3daykgsec <- function(volume) {
volume / 1000 / 22.4 * 16 / 60 / 60 / 24 * 1000
}
ch4_kgsecm3day <- function(mass) {
mass * 1000 * 22.4 / 16 * 60 * 60 * 24 / 1000
}
# ----------------------
read_excel_3d_csv <- function( filename ) {
csv <- read.table(filename, header=F, sep=",")
f <- function(l, x) {
res <- numeric(0); for (i in 2:x) res <- c(res, l[[i]][[1]]); res
}
rows <- csv[[1]]
cols <- f(csv, length(csv))
mat <- as.matrix(csv)
mat <- mat[c(2:length(rows)), c(2:length(csv))]
rows <- rows[2:length(rows)]
list( x = cols, y = rows, z = t(mat) )
}
}}}
; GMPLS
* [[RFC4202: Routing Extensions in Support of Generalized Multi-Protocol Label Switching (GMPLS)|http://www.ietf.org/rfc/rfc4202.txt]]
* [[RFC4206: Label Switched Paths (LSP) Hierarchy with Generalized Multi-Protocol Label Switching (GMPLS) Traffic Engineering (TE).|http://www.ietf.org/rfc/rfc4206.txt]] FAトンネル
; ~OSPF-TE
* [[RFC2370: The OSPF Opaque LSA Option|http://www.ietf.org/rfc/rfc2370.txt]]
* [[RFC3630: Traffic Engineering (TE) Extensions to OSPF Version 2|http://www.ietf.org/rfc/rfc3630.txt]]
* [[RFC4203: OSPF Extensions in Support of Generalized Multi-Protocol Label Switching (GMPLS)|http://www.ietf.org/rfc/rfc4203.txt]]
; ~RSVP-TE
* [[RFC3209: RSVP-TE: Extensions to RSVP for LSP Tunnels|http://www.ietf.org/rfc/rfc3209.txt]]
* [[RFC3471: Generalized Multi-Protocol Label Switching (GMPLS) Signaling Functional Description|http://www.ietf.org/rfc/rfc3471.txt]] 帯域値のIEEEフォーマット
* [[RFC3473: Generalized Multi-Protocol Label Switching (GMPLS) Signaling Resource ReserVation Protocol-Traffic Engineering (RSVP-TE) Extensions|http://www.ietf.org/rfc/rfc3473.txt]] ラベルについて
* [[RFC3477: Signalling Unnumbered Links in Resource ReSerVation Protocol - Traffic Engineering (RSVP-TE)|http://www.ietf.org/rfc/rfc3477.txt]]
* ~RFC4090
* ~RFC4124 - ~RFC4127 (MPLS ~DiffServ よく分からない...)
* ~RFC4328
* ~RFC4872
; PCEP
[[Pce Status Pages|http://tools.ietf.org/wg/pce/]]
* [[draft-ietf-pce-pcep-p2mp-extensions|http://tools.ietf.org/wg/pce/draft-ietf-pce-pcep-p2mp-extensions/]] ~P2MP用の~END-POINTオブジェクトとか
; ROADM/WXC
* [[draft-ietf-ccamp-gmpls-g-694-lambda-labels|http://tools.ietf.org/wg/ccamp/draft-ietf-ccamp-gmpls-g-694-lambda-labels/]]
* [[draft-ietf-ccamp-wavelength-switched-framework|http://tools.ietf.org/wg/ccamp/draft-ietf-ccamp-wavelength-switched-framework/]]
* [[draft-ietf-ccamp-rwa-info|http://tools.ietf.org/wg/ccamp/draft-ietf-ccamp-rwa-info/]]
* [[draft-bernstein-ccamp-wson-encode-00|http://tools.ietf.org/id/draft-bernstein-ccamp-wson-encode-00.txt]]
** [[Modeling WDM Wavelength Switching Systems for use in Automated Path Computation|http://www.grotto-networking.com/wson/ModelingWSONswitchesV2a.pdf]]
; SONET/SDH
* [[RFC4257: Framework for Generalized Multi-Protocol Label Switching (GMPLS)-based Control of Synchronous Digital Hierarchy/Synchronous Optical Networking (SDH/SONET) Networks|http://www.ietf.org/rfc/rfc4257.txt]]
* [[RFC4397: A Lexicography for the Interpretation of Generalized Multiprotocol Label Switching (GMPLS) Terminology within the Context of the ITU-T's Automatically Switched Optical Network (ASON) Architecture|http://www.ietf.org/rfc/rfc4397.txt]]
* [[RFC4606: Generalized Multi-Protocol Label Switching (GMPLS) Extensions for Synchronous Optical Network (SONET) and Synchronous Digital Hierarchy (SDH) Control|http://www.ietf.org/rfc/rfc4606.txt]]
* [[RFC4652: Evaluation of Existing Routing Protocols against Automatic Switched Optical Network (ASON) Routing Requirements|http://www.ietf.org/rfc/rfc4652.txt]]
* [[RSS の dc:date のフォーマット : NDO::Weblog|http://naoya.dyndns.org/~naoya/mt/archives/001126.html]]
* [[RFC2822|http://www.ietf.org/rfc/rfc2822.txt]]
* [[RSS 2.0 Specification 日本語訳 - futomi's CGI Cafe|http://www.futomi.com/lecture/japanese/rss20.html]]
* [[RSS Validator RSS/RDF の構文・妥当性と文法チェック|http://sonic64.com/2004-12-19.html]]
* [[未読・既読状態をネットワーク共有できるRSSリーダー「RSS Bandit」 :教えて君.net|http://www.oshiete-kun.net/archives/2009/01/rssrss_bandit_1.html]]
* [[RSS作成ソフトを使ってRSSを自動生成しよう - [ホームページ作成]All About|http://allabout.co.jp/internet/hpcreate/closeup/CU20051111A/]]
* [[muzin » RSSのContent-Type|http://www.muzin.org/wp/webprogramming/rss-content-type_20/]]
----
* [[Feed Icons - Home of the free Standard RSS Icon|http://www.feedicons.com/]]
* [[RSSを表示させるPHPスクリプト(RSS2HTML) - Proust Cafe|http://www.proustcafe.com/2005/01/rssphprss2html.html]]
** [[運行情報サイト更新状況 - 鉄道コム|http://www.tetsudo.com/traffic/]]
/***
使用方法
#新規Tiddlerに、このTiddlerの内容をペースト
#systemConfigタグをつけて保存してからリロード
#以下の置換設定フォームに、検索文字列、置換文字列を入力してExecuteボタンを押す
----
<<replaceTag>>
----
注.
*オートセーブを有効にしていても、一括置換実行後の変更内容は''自動保存されません''。安全のためにそのような仕様にしています。置換が想定どおりに行われていることを十分確認の上、save changesで明示的に保存してください。置換に失敗していたら、リロードすることで置換前の状態に戻ります。
*検索は完全一致で行います。「Wiki」で検索しても「~TiddlyWiki」タグはマッチしません。正規表現//regex//を指定した場合も''^''//regex//''$''のように先頭記号と終端記号を付加してから検索を行います。部分一致で検索すると予期せぬ置換をしてしまう可能性が高いため、このような仕様にしています。
*正規表現では、置換後文字列に$1、$2、$3 ...が使用できます。
例
検索文字列: {{{NG([0-9][0-9])}}}
置換文字列: {{{OK$1}}}
の場合、以下のように置換される
置換前タグ: {{{NG01 NG02 NG03}}}
置換後タグ: {{{OK01 OK02 OK03}}}
***/
//{{{
config.macros.replaceTag = {};
config.macros.replaceTag.handler = function(place,macroName,params)
{
var input;
createTiddlyText(place, "Search: ");
var input = document.createElement("input");
input.setAttribute("param","src");
input.size = 20;
place.appendChild(input);
createTiddlyElement(place, "br");
createTiddlyText(place, "Replace: ");
input = document.createElement("input");
input.setAttribute("param","dst");
input.size = 20;
place.appendChild(input);
createTiddlyElement(place, "br");
createTiddlyText(place, "Regular Expression: ");
input = document.createElement("input");
input.setAttribute("type","checkbox");
input.setAttribute("param","regex");
place.appendChild(input);
createTiddlyElement(place, "br");
createTiddlyElement(place, "br");
btn = createTiddlyButton(place, "Execute", "start replace tag strings", this.onClick);
}
config.macros.replaceTag.onClick = function()
{
var srcStr = "";
var dstStr = "";
var isRegex = false;
var children = this.parentNode.getElementsByTagName("input")
for (var t=0; t<children.length; t++) {
var type = children[t].getAttribute("param");
if (type == "src")
srcStr = children[t].value;
else if (type == "dst")
dstStr = children[t].value;
else if (type == "regex")
if (children[t].checked)
isRegex = true;
}
if ((srcStr != "") && (dstStr != "")) {
var cnt;
if (isRegex)
cnt = config.macros.replaceTag.executeReplaceRegex(srcStr, dstStr);
else
cnt = config.macros.replaceTag.executeReplace(srcStr, dstStr);
alert(String(cnt) + " tiddlers replaced. Save changes if you need.");
}
}
config.macros.replaceTag.executeReplace = function(srcStr, dstStr)
{
var cnt = 0;
store.forEachTiddler(function(title,tiddler) {
var tiddlerTags = tiddler.tags ? tiddler.tags : [];
if ((p = tiddlerTags.find(srcStr)) != null) {
tiddlerTags.splice(p, 1, dstStr);
tiddler.set(null, null, null, null, tiddlerTags);
cnt++;
}
});
return cnt;
}
config.macros.replaceTag.executeReplaceRegex = function(srcRegex, dstStr)
{
var cnt = 0;
store.forEachTiddler(function(title,tiddler) {
for(var t=0; t<tiddler.tags.length; t++) {
if(tiddler.tags[t].match(srcRegex)) {
tiddler.tags[t] = eval('tiddler.tags[t].replace(/^' + srcRegex + '$/,"' + dstStr + '");');
tiddler.set(null, null, null, null, tiddler.tags);
cnt++;
}
}
});
return cnt;
}
//}}}
; 使い方
* ''library(Rcmdr)'' とすれば、必要なパッケージを勝手にダウンロードして、使えるようになるはず
* 再起動したいときは、 ''Commander()''
; 参考
* [[Rコマンダーのインストール|http://plaza.umin.ac.jp/~takeshou/R/Rcmdrinst.html]]
* [[R コマンダーによる分散分析|http://www.ic.nanzan-u.ac.jp/~kamiya/r/content/rcmdranova.html]]
<<list filter [tag[R言語]]>>
----
; MDI SDI の変更
''etc/Rconsole'' の 5~8行目の style を変更する
{{{
## Style
# This can be `yes' (for MDI) or `no' (for SDI).
MDI = yes
# MDI = no
}}}
* [[R (or S) 言語入門 | http://infoshako.sk.tsukuba.ac.jp/~jgoto/wma/intro_to_R.pdf]]
* [[Google's R Style Guide (tentatively translated in Japanese) | http://www13.atpages.jp/t6s5/docs/r-style-guide-j.html]]
;未分類
* [[時系列データのプロット[R] (「おんどとり」を例にした解説)|http://anchoret.seesaa.net/article/110002044.html]]
* [[私的パッケージ作成法 - RjpWiki|http://www.okada.jp.org/RWiki/?%BB%E4%C5%AA%A5%D1%A5%C3%A5%B1%A1%BC%A5%B8%BA%EE%C0%AE%CB%A1]]
aperm
{{{
as.POSIXct(100, origin="1970-01-01", tz="GMT") # in UTC
}}}
; 空のグラフを作成
{{{
xRange <- c(1,5)
yRange <- c(10,60)
plot(xRange, yRange, type = 'n', main="title", xlab="xx", ylab="yy")
}}}
; 細かな設定
{{{
# 格子の線を引く場合 (大雑把で良ければ、grid(5,5) みたいな感じでよい)
abline(v = 1:5, h = 1:6*10, col = "gray", lty = 2, lwd = 0.7)
# 線を書く
lines( c(1,4,5,2), c(13,46,22,58), lwd = 2, col="red" )
# 点を打つ (透明度も設定可能)
points( c(1,4,5,2), c(13,46,22,58), cex=1.2, pch=21, bg="#C3FFFF80")
# 説明テキストを入れる
text( 1.37, 13, "start point", font=2, cex=0.9, col="#0080FF" )
text( 2, 58, "end point", adj=c(-0.2, -0.2), font=2, cex=0.9, col="#0080FF" )
# 凡例を入れる
legend("topright", c("A", "B", "C"), lty=c(3, 2, 1),
col=c("red", "blue", "black"), lwd=2, bg="white")
legend(2, 20, inset=.05, title="Number of Cylinders",
c("4","6","8"), fill=c("#FF0000", "#0080FF", "#9DB9EB"), horiz=TRUE)
}}}
----
; グラフパラメータ
|col |色の指定 ( # R, G, B, alpha) |
|lwd |線の太さ |
|lty |線のタイプ |
|pch |プロットのマーカー |
|cex |文字の拡大率 (標準の大きさが 1 ) |
|ps |テキストと記号の大きさをポイント単位で指定 |
* [[複数座標軸 - R言語,同じグラフ上に複数の座標軸を表示させる|http://r.livedocs.net/graph/axis.html]]
* [[複数ウィンドウ - 複数のウィンドを起動して、グラフを描画する|http://r.livedocs.net/graph/devset.html]]
* [[scratch-R: graphical parameters|http://eau.uijin.com/advgraphs/parameters.html]]
* [[scratch-R: axes and text|http://eau.uijin.com/advgraphs/axes.html]]
* [[Rプログラム (TAKENAKA's Web Page) | http://takenaka-akio.cool.ne.jp/doc/r_auto/chapter_06.html]]
; 必要な項目だけ取り出す
{{{
x <- c(10, 20, 30, 40, 50, 60)
x[3:5] # 30 40 50
x[3:length(x)] # 30 40 50 60 (最後の要素まで)
x[c(1,3,4)] # 10 30 40
tail(x, 2) # 50 60 (指定した数の要素を末尾から)
x[x %% 3 == 0] # 30 60 (条件に合う要素)
}}}
; いらない要素を取り除く
{{{
c(11, 12, 13, 14, 15, 16)[-1] # 12 13 14 15 16 (最初の要素を取り除く)
c(11, 12, 13, 14, 15, 16)[-2:-4] # 11 15 16
c(11, 12, 13, 14, 15, 16)[c(-2,-5)] # 11 13 14 16
}}}
; 条件に合う要素の位置を取り出す
{{{
y <- c(11, 12, 13, 14, 15, 16)
which(y > 12) # 3 4 5 6
}}}
; ベクトルの反転
{{{
rev( c(10, 20, 30) ) # 30 20 10
}}}
; 累積和を求める
{{{
cumsum( c(1, 2, 30, 40, 50) ) # 1 3 33 73 123
}}}
----
; ベクトルの作成
{{{
1:10*0.2 # 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0
1:10*3+1 # 4 7 10 13 16 19 22 25 28 31
seq(1, 20, by=5) # 等差数列 1 6 11 16
seq(1,5, length.out=9) # 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 (N-1 等分される)
rep(1:3, times=3) # c(1,2,3) 全体を 3 回繰り返す
rep(1:3, each=3) # c(1,2,3) の各要素を 3 回ずつ繰り返す
}}}
* [[ベクトルの自動生成 - R言語と統計処理を勉強する日記 | http://d.hatena.ne.jp/rynak/20110201/1296533920]]
; ベクトルの連結
{{{
x1 <- c(1, 2)
x2 <- c(30, 40, 50)
n <- 600
c(x1, x2, n, 7000) # 1 2 30 40 50 600 7000
append(x1, x2) # 1 2 30 40 50 (単純に連結)
append(x1, x2, after=1) # 1 30 40 50 2 (ベクトルの途中に値を挿入)
}}}
; ラベルの追加
{{{
p <- c(3, 5, 8)
names( p ) <- c("x", "y", "z")
p["x"] # 3
}}}
----
; 値の変更 (非破壊的)
{{{
z <- c(10, 20, 30, 40, 50, 60)
replace( z, 2:4, 0 ) # 10 0 0 0 50 60
replace( z, 2:4, c(2,3,4) ) # 10 2 3 4 50 60
replace( z, 1:4, c(11,22) ) # 11 22 11 22 50 60
replace( z, z<50, c(11, 12, 13, 14) ) # 11 12 13 14 50 60
}}}
; 値の変更 (破壊的)
{{{
z <- c(10, 20, 30, 40, 50, 60)
z[2:4] <- 0 # 10 0 0 0 50 60
z[2:4] <- c(2,3,4) # 10 2 3 4 50 60
z[1:4] <- c(1,2) # 1 2 1 2 50 60
z[z<50] <- c(11, 12, 13, 14) # 11 12 13 14 50 60
}}}
----
; 高階関数
{{{
sapply(v, f)
}}}
; クリップボードから読み込む (Excel のセルをコピーした状態で実行)
{{{
# read clipboard as table.
read.cb <- function(header, ...) {
if (missing(header)) { header = FALSE }
utils::read.table(file="clipboard", header=header, ...)
}
# read clipboard as matrix.
read.cb.mat <- function(header, ...) {
as.matrix( read.cb(header, ...) )
}
t1 <- read.cb() # ヘッダーなし
t2 <- read.cb(T) # ヘッダーあり
m1 <- read.cb.mat() # ヘッダーなし
m2 <- read.cb.mat(T) # ヘッダーあり
}}}
* [[ちょっとしたRのこと|http://ofmind.net/doc/r-tips]]
; クリップボードへ出力
{{{
write.cb.mat <- function(mat) { write(t(mat), "clipboard", ncolumns=ncol(mat), sep=",") }
}}}
; ウィンドウ出力
{{{
windows() # 新しい出力ウィンドウ(デバイス) を作成し、
plot(1:10) # 作成したウィンドウにグラフをプロット
windows() # もう一つ出力ウィンドウ(デバイス) を作成
dev.list() # 今存在するデバイスのリストを表示
dev.cur() # 今アクティブなデバイスを表示 => windows 3
plot(sin) # グラフは今アクティブな新しく作成したウィンドウに描画される
# 描画を行っても、アクティブなデバイスは変わらない
dev.cur() # => windows 3
plot(cos, xlim=c(0,4*pi))
dev.set(2) # デバイスを変更すれば、
plot(sin, xlim=c(0,2*pi)) # 出力先が変わる
dev.off(2) # 明示的にデバイス2を閉じる (GUI からウィンドウを閉じても構わない)
dev.off() # 引数を省略すると、カレントデバイスを閉じる
}}}
{{{
windows(2, 3) # ウィンドウサイズを指定する場合 (単位はinch ??)
}}}
; PDF 出力
{{{
pdf(file="graphfile.pdf", width=4, height=4)
plot(1:5, c(3,6,4,9,2))
dev.off()
}}}
外部コマンド
{{{
shell("echo hello")
shell("dir")
}}}
; データタイプ
* Date (日付のみ、時刻は扱えない)
* ~POSIXlt
* ~POSIXct
----
; ~POSIXlt オブジェクトの作成
{{{
# 文字列をPOSIXltオブジェクトへ変換 (読み込む文字列のフォーマットを、第2引数で指定)
strptime("1990/1/2 10:20'30", "%Y/%m/%d %H:%M'%S", tz="")
}}}
; 行列の作成
{{{
matrix(1:12, 3)
matrix(1:12, ncol=4)
cbind(1:3, 4:6, 7:9, 10:12)
rbind(c(1,4,7,10), c(2,5,8,11), c(3,6,9,12))
}}}
| 1 | 4 | 7 | 10 |
| 2 | 5 | 8 | 11 |
| 3 | 6 | 9 | 12 |
; 必要な項目を取り出す
{{{
mat <- matrix(1:12, 3)
mat[2,3] # 8 (2行目3列目)
mat[1,] # 1 4 7 10 (1行目)
mat[2:3,] # (2行目 と 3行目)
mat[c(1,3),] # (1行目 と 3行目)
mat[2:nrow(mat),] # (2行目から最後の行まで)
mat[, 1:3] # (1列目 ~ 3列目)
mat[,2:ncol(mat)] # (2列目から最後の列まで)
mat[2:3, c(2,4)] # (2行目・3行目 の 2列目と4列目の要素)
}}}
; 行列の結合
{{{
cbind( matrix(1:6,2), matrix(7:10*10,2) ) # 横方向に結合
}}}
; 行列を反転
{{{
mat <- matrix(1:12, 3)
mat[nrow(mat):1,]
mat[,ncol(mat):1]
}}}
----
; 足し算
{{{
mat <- matrix(1:12, 3)
# 列単位の足し算
f2 <- function(x) { x + c(100, 200, 300) }
apply(mat, 2, f2)
}}}
; 行列の積
{{{
matrix(1:4, 2) %*% matrix(c(1, 10, 100, 1000), 2)
}}}
| 1 | 3 | ・ | 1 | 100 | = | 1+30 | 100+3000 |
| 2 | 4 |~| 10 | 1000 |~| 2+40 | 200+4000 |
----
{{{
m <- matrix(1:12, 3)
bm <- cbind(c(T,T,T), c(T,T,T), c(T,F,F), c(T,F,T))
m[which(bm)] <- 99
}}}
<<slider tocSlider 行列 行列>>
* [[Karappo web design room » SSIの使い方 | http://labs.karappo.net/kwdr/index.php?itemid=238]]
<<list filter [tag[SampleCode]]>>
* [[なんでも継続 | http://practical-scheme.net/docs/cont-j.html ]]
* [[SICP関数型言語の勉強に「計算機プログラムの構造と解釈」を読もう|http://d.hatena.ne.jp/higepon/19700103/1145105233]]
* [[Lisp/Scheme のスクリプト集、解説|http://www.shido.info/lisp/index.html]]
* [[Gauche ユーザリファレンス: Top | http://practical-scheme.net/gauche/man/gauche-refj.html ]]
bookmarks <<today "YYYY年MM月DD日">>
/***
@@タグ@@
***/
/*{{{*/
.tagging, .tagged, .selected .tagged, .selected .tagging {
background-color:#DDD;
}
.tagging {
float: right;
}
.viewer pre{margin:0;} /* IE6 bug */
.viewer pre {
padding:1em;
font-size:1em;
}
/*}}}*/
* [[Subversion メモ | http://www-aos.eps.s.u-tokyo.ac.jp/~takagi/subversion.html ]]
* [[Subclipseでブランチの変更を本流にマージする。 - うなの日記 | http://d.hatena.ne.jp/unageanu/20070829/1188382336 ]]
//{{{
// TDump (Tiddler Dump)
// 指定tiddlerのHTMLソース表示
// http://www.geocities.jp/wikistyle/ より
// 使用方法
// 引数として、ソース表示したいtiddlerのタイトルを指定します。
// <<tdump Tips>>
config.macros.tdump = {};
config.macros.tdump.handler = function(place,macroName,params)
{
var w = document.createElement('span');
config.macros.tiddler.handler(w, 'tiddler', [params[0]], null, params[0]);
var text = w.firstChild.innerHTML;
text = text.replace(/</g,"\n<");
text = text.replace(/>/g,">\n");
text = text.replace(/^\n+/gm,"");
if(config.browser.isIE)
text = text.replace(/\n/gm,"\r");
createTiddlyElement(place,"pre",null,null,text);
}
//}}}
; 面白かった
* [[マーチン・ヤクボスキー:文明の設計図をオープンソース化する試みについて | http://www.ted.com/talks/lang/jpn/marcin_jakubowski.html]]
* [[Dennis Hong: Making a car for blind drivers | http://www.ted.com/talks/lang/eng/dennis_hong_making_a_car_for_blind_drivers.html]]
* [[Suzanne Lee: Grow your own clothes | http://www.ted.com/talks/lang/eng/suzanne_lee_grow_your_own_clothes.html]]
* [[Nathan Myhrvold: Cooking as never seen before | http://www.ted.com/talks/nathan_myhrvold_cut_your_food_in_half.html]]
* [[Catherine Mohr builds green | http://www.ted.com/talks/catherine_mohr_builds_green.html]]
; ふつう
* [[Theo Jansen creates new creatures | http://www.ted.com/talks/theo_jansen_creates_new_creatures.html]]
* [[Martin Hanczyc: The line between life and not-life Video on TED.com | http://www.ted.com/talks/lang/en/martin_hanczyc_the_line_between_life_and_not_life.html]]
* [[Lisa Harouni: A primer on 3D printing | http://www.ted.com/talks/lisa_harouni_a_primer_on_3d_printing.html?utm_source=twitterfeed&utm_medium=twitter&utm_campaign=Feed%3A+TEDTalks_video+%28TEDTalks+Main+%28SD%29+-+Site%29]]
; いまいちか..
* [[Camille Seaman: Haunting photos of polar ice | http://www.ted.com/talks/camille_seaman_haunting_photos_of_ice.html]]
* [[Rob Harmon: How the market can keep streams flowing | http://www.ted.com/talks/rob_harmon_how_the_market_can_keep_streams_flowing.html]]
; まだ
* [[Dan Ariely on our buggy moral code Video on TED.com | http://www.ted.com/talks/dan_ariely_on_our_buggy_moral_code.html]]
* [[Bill Ford: A future beyond traffic gridlock | Video on TED.com | http://www.ted.com/talks/bill_ford_a_future_beyond_traffic_gridlock.html]]
TODO リストで扱うものは、
# ''しなければいけないこと (MUST)''
# ''絶対すると決めたこと''
だけにする。
さらに、 MUST であっても、
# 基本的には、1週間以内の項目だけ
# すごく、重要な項目は、1ヶ月以内くらい
ただ、2週間後に必要になるような項目については、
期限1週間になったら自動で TODO リストに追加されるようにしたい。
なので、
''月ごとに発生するような項目については、決まった日に Task が登録されるようにする''
ifttt => gmail => tood
しかし、2週間後に1回だけ行うような項目のよい登録方法が思いつかない..
とりあえず ifttt かな..
* [[ifttt | https://ifttt.com/login]]
* [[Toodledo | https://www.toodledo.com/signin.php]]
* [[MinimizeToTrays|https://addons.mozilla.org/ja/thunderbird/addon/2110]] Firefoxでも使える
* [[Lightning | https://addons.mozilla.org/ja/thunderbird/addon/2313]] (Thunderbird専用)
* [[Quicktext |https://addons.mozilla.org/ja/thunderbird/addon/640]]
* [[Addressbooks Synchronizer :: Add-ons for Thunderbird | https://addons.mozilla.org/ja/thunderbird/addon/2533]]
/***
|''Name:''|TiddlerListMacro|
|''Version:''|2.3 (8-Jan-2008)|
|''Source''|http://jackparke.googlepages.com/jtw.html#TiddlerListMacro ([[del.icio.us|http://del.icio.us/post?url=http://jackparke.googlepages.com/jtw.html%23TiddlerListMacro]])|
|''Author:''|[[Jack]]|
|''Type:''|Macro|
|''Documentation:''|[[TiddlerListMacroDocumentation]]|
!Usage
{{{<<tiddlerList parameter1:"value1" parameter2:"value2" ...>>}}}
See TiddlerListMacroDocumentation and TiddlerListMacroExamples
!Code
***/
//{{{
version.extensions.tiddlerList = {major: 2, minor: 3, revision: 0, date: new Date("Jan 08, 2008")};
// template = [header, item, separator, group, footer]
config.macros.tiddlerList={
formats : {list:true, nlist:true, span:true, stack:true, csv:true, table:true},
templates : {
list : [ "%0\n", "* %0\n", "", "%group\n", "%0\n"],
nlist : [ "%0", "# %0\n", "", "%group\n", "%0\n"],
span : [ "%0", "%0", " ", "%group", "%0"],
stack : [ "%0", "%0", "\n", "%group", "%0"],
csv : [ "%0", "%0", ", ", "%0", "%0\n"],
table : ["|!%0|\n", "|%0|\n", "", "|%group|\n", "|%0|\n"]
},
dateFormat : "DD MMM YYYY"
}
if (typeof gCurrentTiddler == 'undefined')
var gCurrentTiddler;
config.macros.tiddlerList.handler = function(place,macroName,params,wikifier,paramString,tiddler)
{
// Some globals
var count=0, groupCount=0, theGroup="", lastGroup="", firstInGroup = false;
var currentTiddler = tiddler;
gCurrentTiddler = tiddler;
var listWikiText="";
var formats = this.formats;
// SQL-Like parameters
var parameters = paramString.parseParams("name",null,true);
var pTags = parameters[0]["tags"]?parameters[0]["tags"][0].split(","):[];
var pOrder = parameters[0]["order"]?parameters[0]["order"][0]:"title";
var pTop = parameters[0]["top"]?parameters[0]["top"][0]:-1;
var pText = parameters[0]["text"]?parameters[0]["text"][0]:"";
var pTitle = parameters[0]["title"]?parameters[0]["title"][0]:"";
var pSearch = parameters[0]["search"]?parameters[0]["search"][0]:"";
var pFilter = parameters[0]["filter"]?parameters[0]["filter"][0]:"";
var pHeader = parameters[0]["header"]?paramFormat(parameters[0]["header"][0]):"";
var pFooter = parameters[0]["footer"]?paramFormat(parameters[0]["footer"][0]):"";
var pGroup = parameters[0]["group"]?parameters[0]["group"][0]:"";
var pDateFormat = parameters[0]["dateFormat"]?parameters[0]["dateFormat"][0]:this.dateFormat;
var pCustomParameter = parameters[0]["customParameter"]?parameters[0]["customParameter"][0]:"";
var pFormat = parameters[0]["format"]?parameters[0]["format"][0]:"list";
pFormat = formats[pFormat]?pFormat:"list"
// Separator
var pSeparator = parameters[0]["separator"]?paramFormat(parameters[0]["separator"][0]):(parameters[0]["seperator"]?paramFormat(parameters[0]["seperator"][0]):this.templates[pFormat][2])
// Template for group
var pGroupTemplate = this.templates[pFormat][3];
if (parameters[0]["groupTemplate"])
pGroupTemplate = paramFormat(parameters[0]["groupTemplate"][0])
pGroupTemplate = pGroupTemplate.replace("$))", ">>")
// Template for group footer
var pGroupFooterTemplate = "";
if (parameters[0]["groupFooterTemplate"])
pGroupFooterTemplate = paramFormat(parameters[0]["groupFooterTemplate"][0])
pGroupFooterTemplate = pGroupFooterTemplate.replace("$))", ">>")
// Template for item
var pItemTemplate = this.templates[pFormat][1];
if (parameters[0]["itemTemplate"])
pItemTemplate = paramFormat(parameters[0]["itemTemplate"][0])
pItemTemplate = pItemTemplate.replace("$))", ">>").replace("%link", "%0").replace("%item", "%1").replace("%abstract", "%2").replace("%text", "%3").replace("%created", "%4").replace("%modified", "%5").replace("%modifier", "%6").replace("%group", "%7").replace("%title", "%8").replace("%tags", "%9").replace("%nolink", "%10").replace("%custom", "%11")
// Template for footer
var pFooterTemplate = this.templates[pFormat][4].replace("%count", "%1")
// Get all tiddlers
var tiddlers = store.reverseLookup("tags","excludeLists",false);
// Sorting
if(!pOrder)
pOrder = "title";
if (pOrder.match(/^\-/i)) {
pOrder = pOrder.substr(1)
var sortDesc = true;
}
// Sorting on a standard field
if (pOrder.match(/(title)|(text)|(modifier)|(modified)|(created)|(tags)/))
if (sortDesc)
tiddlers.sort(function (a,b) {if(a[pOrder] == b[pOrder]) return(0); else return (a[pOrder] > b[pOrder]) ? -1 : +1; });
else
tiddlers.sort(function (a,b) {if(a[pOrder] == b[pOrder]) return(0); else return (a[pOrder] < b[pOrder]) ? -1 : +1; });
else
if (sortDesc)
tiddlers.sort(function (a,b) {if(a.fields[pOrder] == b.fields[pOrder]) return(0); else return (a.fields[pOrder] > b.fields[pOrder]) ? -1 : +1; });
else
tiddlers.sort(function (a,b) {if(a.fields[pOrder] == b.fields[pOrder]) return(0); else return (a.fields[pOrder] < b.fields[pOrder]) ? -1 : +1; });
// Header
if (pHeader)
listWikiText += formatItem(this.templates[pFormat][0], [pHeader], pFormat)
for(var t=0; t<tiddlers.length; t++) {
tiddler = tiddlers[t];
if (pText!="" && tiddler.text=="") tiddler.text=store.getValue(tiddler, 'text')
if (pTop==-1 || count<pTop) {
if (pText=="" || tiddler.text.match(pText)) {
if (pTitle=="" || tiddler.title.match(pTitle)) {
if (pSearch=="" || (tiddler.title.match(pSearch) || tiddler.text.match(pSearch))) {
if (pFilter=="" || eval(pFilter)) {
if (pTags.length==0 || compareArrays(tiddler.tags, pTags, "all")) {
count++;
if (tiddler.text=="") tiddler.text=store.getValue(tiddler, 'text')
// Grouping
if (pGroup) {
theGroup = eval(pGroup);
if(theGroup != lastGroup) {
groupCount++;firstInGroup = true;
if (pGroupFooterTemplate && groupCount>1)
listWikiText += pGroupFooterTemplate.replace("%group", theGroup)
listWikiText += pGroupTemplate.replace("%group", theGroup)
lastGroup = theGroup;
} else
firstInGroup = false;
}
// Separators
if (count>1 && !firstInGroup) listWikiText += pSeparator;
//Plaintext title
var noLink = tiddler.title.match(config.textPrimitives.wikiLink)?"~" + tiddler.title:tiddler.title;
// Custom parameter
if (pCustomParameter)
var custom="";
try {
custom = eval(pCustomParameter)
} catch (e) {}
// List individual tiddler
var strItem = formatItem(pItemTemplate,["[[" + tiddler.title + "]]",count,tiddler.text.substr(0,300),tiddler.text,tiddler.created.formatString(pDateFormat),tiddler.modified.formatString(pDateFormat),tiddler.modifier,theGroup,tiddler.title,tiddler.tags.join(" "),noLink,custom], pFormat)
for (var fld in tiddler.fields) strItem = strItem.replace('%field.' + fld, tiddler.fields[fld]);
listWikiText += strItem
}
}
}
}
}
}
}
// Last group footer
if (pGroup && pGroupFooterTemplate && count>0)
listWikiText += pGroupFooterTemplate.replace("%group", theGroup)
// Footer
if (pFooter) {
pFooter = pFooter.replace("%count", count)
listWikiText += formatItem(pFooterTemplate, [pFooter], pFormat)
}
// Render result
if (!parameters[0]["debug"])
wikify(listWikiText,place, null, currentTiddler)
else
place.innerHTML = "<textarea style=\"width:100%;\" rows=30>" + listWikiText + "</textarea>"
// Local functions
function paramFormat(param) {
// Allow "\n" in non evalled parameters
return param.replace(/\\n/g, "\n");
}
function formatItem(template, values, format) {
// Fill template with values (depending on list format)
if (format.match(/table/) && values[0].match(/\|/))
return ("%0\n").format(values)
else
return template.format(values)
}
function compareArrays(array, values, logic) {
// Compare items in array with AND("all") or OR("any") logic
var matches=0;
for(var v=0; v<values.length; v++)
if(values[v].replace(/^\s+|\s+$/g,"").match(/^\-/) && !array.contains(values[v].replace(/^\s+|\s+$/g,"").substr(1)))
matches++;
else if (array.contains(values[v]))
matches++;
return ((logic=="all" && matches==values.length) || (logic!="all" && matches>0))
}
}
String.prototype.prettyTrim = function(len,prefix,postfix) {
var result = this.trim().replace(/\r\n/g,' ').replace(/\n/g,' ');
if (!prefix) prefix = '';
if (!postfix) postfix = '';
if (result.length > len - 3)
return prefix + result.substr(0,len) + '...' + postfix;
else if (result.length > 0)
return prefix + result + postfix;
else
return result;
}
//}}}
!Description
The TiddlerListMacro lists tiddlers with ~SQL-Like features:
* List tiddlers containing a word in the title or text (case-sensitive)
* List tiddlers tagged with given tags or exclude certain tags
* Ascending and descending sorting of single fields
* Limit number of tiddlers displayed
* Specify different HTML formats for the lists
* Grouping of items in a list
* Customizable wiki templates
* Numbering and totals
!Revision History
* Original by [[Jack]] 17-Apr-2006
* Added formatting (v2.0.1 18-Apr-2006)
* Added grouping (v2.0.2 18-Apr-2006)
* Added flexible filtering (v2.0.3 19-Apr-2006)
* Added custom item templates (v2.0.4 20-Apr-2006)
* Added custom templates (v2.0.5 21-Apr-2006)
* Allow evalled parameters (v2.0.7 23-Apr-2006)
* Allow groupFooterTemplate (v2.0.9 30-Apr-2006)
* Added the customParameter (v2.0.10 2-May-2006)
!To Do
* Case-insensitive searching
* Sorting on multiple fields
!Usage
{{{<<tiddlerList parameter1:"value1" parameter2:"value2" ...>>}}}
!Examples ([[TiddlerListMacroExamples]])
List all tiddlers tagged with "Plugin"
{{{<<tiddlerList tags:Plugin>>}}}
List newest 3 plugins which are not templates:
{{{<<tiddlerList tags:"Plugin,-Template" top:3 order:"-created">>}}}
List all tiddlers containing "Jack" in their title or text (last modified first):
{{{<<tiddlerList search:"Jack" order:"-modified">>}}}
List all tiddlers starting with "T" in a table:
{{{<<tiddlerList title:"^T" format:"table" header:"Tiddlers beginning with T" footer:"%count items listed">>}}}
Group tiddlers by first letter
{{{<<tiddlerList top:"15" group:"tiddler.title.substr(0,1)" groupTemplate:"''%group''">>}}}
Show a list of all tiddlers with creation date (overrides default item template)
{{{<<tiddlerList itemTemplate:"* %link (%created)\n">>}}}
Show all tiddlers that have the host's tiddler title in their tag list
{{{<<tiddlerList filter:"tiddler.tags.contains(currentTiddler.title)">>}}}
!Parameters
|!Parameter|!Type|!Meaning|!Example|
|top|Integer|Number of tiddlers to display|"10"|
|tags|String|List tiddlers with matching tags (AND Logic). Leading - to exclude.|"~ToDo,Urgent,-Done"|
|title|~RegEx|List tiddlers with matching title|"^[Pp]"|
|text|~RegEx|List tiddlers with matching text|"Searchtext"|
|search|~RegEx|List tiddlers with matching title OR text|"Problem"|
|filter*|~JavaScript|List tiddlers according to boolean expression)|"tiddler.title.length<4 && tiddler.tags.contains('Idea')"|
|format|String (fixed list)|HTML formatting of list. list (ul, default), nlist (ol), span, stack (div), csv, table.|"list"|
|order|String|Sort order of tiddlers. - is descending, + ascending|"-created"|
|group*|~JavaScript|Grouping field|tiddler.title.substr(0,1)|
|customParameter*|~JavaScript|Custom parameter to be evalled for use in the itemTemplate|tiddler.text.match(/Version: (.*)/)[1]|
|header|String|Top caption|"Tiddlers beginning with T"|
|footer|String|Bottom caption|"End of list"|
|itemTemplate|~WikiTemplate|~WikiText with %placeholders|"%link\n%abstract\n%modified"|
|groupTemplate|~WikiTemplate|~WikiText with %placeholders for the start of each group|"!!%group"|
|groupFooterTemplate|~WikiTemplate|~WikiText with %placeholders for the end of each group|"----\n"|
|dateFormat|String|Date formatting string when displaying dates|~YYYY-MM-DD|
|separator|String|Define a string or character to be inserted between items listed|" "|
|debug|Boolean|Set to 1 or true for debug mode where only wikitext will be output|debug:1|
{{{*}}} Parameter will be evalled (do not pass with {{{{{ }} }}} unless you want it evalled twice!)
!Template Placeholders
Placeholder values for itemTemplate parameter
|!Placeholder|!Field|
|%item|List item number|
|%link|Link to Tiddler {{{[[MyTiddler]]}}}|
|%title|Tiddler Name {{{MyTiddler}}}|
|%nolink|Unlinked Tiddler Title {{{~MyTiddler}}}|
|%abstract|First 300 chars of tiddler text|
|%text|All tiddler text|
|%tags|Tags separated by space|
|%created|Creation date|
|%modified|Modified date|
|%modifier|Last modifier|
|%group|Name of group field|
|%custom|The result of your evalled customParameter|
|%count|Number of items listed (footer only)|
!Variables
{{{{{currentTiddler}} }}}refers to the current (host) tiddler in function scope (i.e. within the filter or group parameters)
{{{{{gCurrentTiddler}} }}}refers to the current (host) tiddler in global scope (i.e. within{{{ {{}} }}}evalled parameters. Example:
{{{<<tiddlerList tags:{{gCurrentTiddler.title}}>>}}}
!Style
No styles are pre-assigned to the lists. Use {{{@@}}} notation to define custom styles in the header, footer, groupTemplate and itemTemplate parameters.
Examples using the TiddlerListMacro:
!List Formatting
List all tiddlers tagged with "Plugin"
{{{<<tiddlerList tags:Plugin>>}}}
<<tiddlerList tags:Plugin>>
List top 1 plugins which are not templates:
{{{<<tiddlerList tags:"Plugin,-Template" top:1>>}}}
<<tiddlerList tags:"Plugin,-Template" top:1>>
List all tiddlers containing "Plugin" in their title and text (newest first):
{{{<<tiddlerList title:"Plugin" text:"Plugin" order:"-created">>}}}
<<tiddlerList title:"Plugin" text:"Plugin" order:"-created">>
List all tiddlers containing "Jack" in their title or text (oldest first):
{{{<<tiddlerList search:"Jack" order:"created">>}}}
<<tiddlerList search:"Jack" order:"created">>
List all tiddlers starting with "T":
{{{<<tiddlerList title:"^T">>}}}
<<tiddlerList title:"^T">>
List all tiddlers tagged with the current tiddler's title:
{{{<<tiddlerList tags:{{window.currentTiddler.title}}>>}}}
<<tiddlerList tags:{{window.currentTiddler.title}}>>
!Other Formats
Simple unnumbered list of tiddlers
{{{<<tiddlerList top:"3" format:"list">>}}}
<<tiddlerList top:"3" format:"list">>
Numbered list of tiddlers
{{{<<tiddlerList top:"3" format:"nlist">>}}}
<<tiddlerList top:"3" format:"nlist">>
Table with header and footer
{{{<<tiddlerList top:"3" format:"table" header:"Plugins" footer:"Tiddlers: %count">>}}}
<<tiddlerList top:"3" format:"table" header:"Plugins" footer:"Tiddlers: %count">>
Simple horizontal list:
{{{<<tiddlerList top:"3" format:"span">>}}}
<<tiddlerList top:"3" format:"span">>
Comma Separated list
{{{<<tiddlerList top:"3" format:"csv" header:"Plugins: [ " footer:" ]">>}}}
<<tiddlerList top:"3" format:"csv" header:"Plugins: [ " footer:" ]">>
Custom Separated list
{{{<<tiddlerList top:"10" separator:" - " format:"span">>}}}
<<tiddlerList top:"10" separator:" - " format:"span">>
!Grouping
Group tiddlers by first letter
{{{<<tiddlerList top:"7" group:"tiddler.title.substr(0,1)">>}}}
<<tiddlerList top:"7" group:"tiddler.title.substr(0,1)">>
!Custom Item Templates
List tiddlers in a custom format (title, date, abstract)
{{{<<tiddlerList tags:"News,-Template" itemTemplate:"* %link (%created)<<br>>%abstract\n" order:"-created">>}}}
<<tiddlerList tags:"News,-Template" filter:"tiddler.title!=currentTiddler.title" itemTemplate:"%link (%created)\n%abstract" order:"-created">>
!!!Beware of infinite recursion!!
!Advanced
Tiddlers created today
{{{<<tiddlerList format:table filter:"tiddler.created.formatString('YYYYMMDD')==(new Date()).formatString('YYYYMMDD')" header:{{'Tiddlers created on ' + (new Date()).formatString('DDD, DD MMM YYYY')}}>>}}}
<<tiddlerList format:table filter:"tiddler.created.formatString('YYYYMMDD')==(new Date()).formatString('YYYYMMDD')" header:{{'Tiddlers created on ' + (new Date()).formatString('DDD, DD MMM YYYY')}}>>
Fancy table with grouping on modified date
{{{<<tiddlerList top:"10" header:"|>|!Tiddlers|\n|bgcolor(#ddf):''Title''|bgcolor(#ddf):''Created''|" itemTemplate:"|%0|%4|\n" format:"table" group:"tiddler.created.formatString('DD MMM YYYY')" groupTemplate:"|>|bgcolor(#eef): ''Updated: %group'' |\n" dateFormat:"DDD, DD MM YYYY">>}}}
<<tiddlerList top:"10" header:"|>|!Tiddlers|\n|bgcolor(#ddf):''Title''|bgcolor(#ddf):''Created''|" itemTemplate:"|%0|%4|\n" format:"table" group:"tiddler.created.formatString('DD MMM YYYY')" groupTemplate:"|>|bgcolor(#eef): ''Updated: %group'' |\n" dateFormat:"DDD, DD MM YYYY">>
* [[TiddlyWiki Style - Tips, Macros and FAQ|http://www.geocities.jp/wikistyle/]]
/***
Description: Contains the stuff you need to use Tiddlyspot
Note, you also need UploadPlugin, PasswordOptionPlugin and LoadRemoteFileThroughProxy
from http://tiddlywiki.bidix.info for a complete working Tiddlyspot site.
***/
//{{{
// edit this if you are migrating sites or retrofitting an existing TW
config.tiddlyspotSiteId = 'hikikomorigoto';
// make it so you can by default see edit controls via http
config.options.chkHttpReadOnly = false;
window.readOnly = false; // make sure of it (for tw 2.2)
window.showBackstage = true; // show backstage too
// disable autosave in d3
if (window.location.protocol != "file:")
config.options.chkGTDLazyAutoSave = false;
// tweak shadow tiddlers to add upload button, password entry box etc
with (config.shadowTiddlers) {
SiteUrl = 'http://'+config.tiddlyspotSiteId+'.tiddlyspot.com';
SideBarOptions = SideBarOptions.replace(/(<<saveChanges>>)/,"$1<<tiddler TspotSidebar>>");
OptionsPanel = OptionsPanel.replace(/^/,"<<tiddler TspotOptions>>");
DefaultTiddlers = DefaultTiddlers.replace(/^/,"[[WelcomeToTiddlyspot]] ");
MainMenu = MainMenu.replace(/^/,"[[WelcomeToTiddlyspot]] ");
}
// create some shadow tiddler content
merge(config.shadowTiddlers,{
'WelcomeToTiddlyspot':[
"This document is a ~TiddlyWiki from tiddlyspot.com. A ~TiddlyWiki is an electronic notebook that is great for managing todo lists, personal information, and all sorts of things.",
"",
"@@font-weight:bold;font-size:1.3em;color:#444; //What now?// @@ Before you can save any changes, you need to enter your password in the form below. Then configure privacy and other site settings at your [[control panel|http://" + config.tiddlyspotSiteId + ".tiddlyspot.com/controlpanel]] (your control panel username is //" + config.tiddlyspotSiteId + "//).",
"<<tiddler TspotControls>>",
"See also GettingStarted.",
"",
"@@font-weight:bold;font-size:1.3em;color:#444; //Working online// @@ You can edit this ~TiddlyWiki right now, and save your changes using the \"save to web\" button in the column on the right.",
"",
"@@font-weight:bold;font-size:1.3em;color:#444; //Working offline// @@ A fully functioning copy of this ~TiddlyWiki can be saved onto your hard drive or USB stick. You can make changes and save them locally without being connected to the Internet. When you're ready to sync up again, just click \"upload\" and your ~TiddlyWiki will be saved back to tiddlyspot.com.",
"",
"@@font-weight:bold;font-size:1.3em;color:#444; //Help!// @@ Find out more about ~TiddlyWiki at [[TiddlyWiki.com|http://tiddlywiki.com]]. Also visit [[TiddlyWiki.org|http://tiddlywiki.org]] for documentation on learning and using ~TiddlyWiki. New users are especially welcome on the [[TiddlyWiki mailing list|http://groups.google.com/group/TiddlyWiki]], which is an excellent place to ask questions and get help. If you have a tiddlyspot related problem email [[tiddlyspot support|mailto:support@tiddlyspot.com]].",
"",
"@@font-weight:bold;font-size:1.3em;color:#444; //Enjoy :)// @@ We hope you like using your tiddlyspot.com site. Please email [[feedback@tiddlyspot.com|mailto:feedback@tiddlyspot.com]] with any comments or suggestions."
].join("\n"),
'TspotControls':[
"| tiddlyspot password:|<<option pasUploadPassword>>|",
"| site management:|<<upload http://" + config.tiddlyspotSiteId + ".tiddlyspot.com/store.cgi index.html . . " + config.tiddlyspotSiteId + ">>//(requires tiddlyspot password)//<br>[[control panel|http://" + config.tiddlyspotSiteId + ".tiddlyspot.com/controlpanel]], [[download (go offline)|http://" + config.tiddlyspotSiteId + ".tiddlyspot.com/download]]|",
"| links:|[[tiddlyspot.com|http://tiddlyspot.com/]], [[FAQs|http://faq.tiddlyspot.com/]], [[blog|http://tiddlyspot.blogspot.com/]], email [[support|mailto:support@tiddlyspot.com]] & [[feedback|mailto:feedback@tiddlyspot.com]], [[donate|http://tiddlyspot.com/?page=donate]]|"
].join("\n"),
'TspotSidebar':[
"<<upload http://" + config.tiddlyspotSiteId + ".tiddlyspot.com/store.cgi index.html . . " + config.tiddlyspotSiteId + ">><html><a href='http://" + config.tiddlyspotSiteId + ".tiddlyspot.com/download' class='button'>download</a></html>"
].join("\n"),
'TspotOptions':[
"tiddlyspot password:",
"<<option pasUploadPassword>>",
""
].join("\n")
});
//}}}
! クラス図
; クラス間の関係
| ! | !表記 | !説明 |
|汎化 | [スーパクラス ] ◁------ [サブクラス] |
|実装 | [インタフェース] ◁ - - - [クラス ] |
|~| ○------ [クラス ] |
|集約 | [クラスA ]◇------ [クラスB] | クラスAがクラスBを持つ|
|コンポジット| [クラスA ]◆------ [クラスB] |
; クラスメンバー
| ! | !表記 | !説明 |
|public | + |
|protected | # |
|private | - |
|package | ~ | パッケージ内で可視 |
(staticなメンバーには、下線を引く)
! シーケンス図
; メッセージ
| ! | !表記 | !説明 |
|同期メッセージ | ------ ► | 黒塗りの実線矢印 |
|同期メッセージのリプライ | - - - > | 点線矢印 |
|非同期メッセージ | ------ > | 実線矢印 |
; 結合フラグメント
| !表記 | !説明 |
|opt |1つの処理を実行するかどうかを選択させる。 ( if文 ) |
|alt |処理の分岐を表す。 (if ~ else 文) |
|loop |繰り返し |
<<slider tocSlider 出かける 出かける>>
<<slider tocSlider 泳ぐ 泳ぐ>>
<<slider tocSlider 調べる 調べる>>
<<slider tocSlider お気に入りページ お気に入りページ>>
+++[仕事|tooltip]
<<tiddlerList tags:"URLs,仕事">>
===
. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。.
<<list filter [tag[URLs]]>>
| !date | !user | !location | !storeUrl | !uploadDir | !toFilename | !backupdir | !origin |
| 22/04/2012 18:18:55 | ss | [[/|http://hikikomorigoto.tiddlyspot.com/]] | [[store.cgi|http://hikikomorigoto.tiddlyspot.com/store.cgi]] | . | [[index.html | http://hikikomorigoto.tiddlyspot.com/index.html]] | . | ok |
| 22/04/2012 18:20:13 | ss | [[/|http://hikikomorigoto.tiddlyspot.com/]] | [[store.cgi|http://hikikomorigoto.tiddlyspot.com/store.cgi]] | . | [[index.html | http://hikikomorigoto.tiddlyspot.com/index.html]] | . | ok |
| 22/04/2012 18:22:59 | ss | [[/|http://hikikomorigoto.tiddlyspot.com/]] | [[store.cgi|http://hikikomorigoto.tiddlyspot.com/store.cgi]] | . | [[index.html | http://hikikomorigoto.tiddlyspot.com/index.html]] | . |
| 22/04/2012 18:26:05 | ss | [[/|http://hikikomorigoto.tiddlyspot.com/]] | [[store.cgi|http://hikikomorigoto.tiddlyspot.com/store.cgi]] | . | [[index.html | http://hikikomorigoto.tiddlyspot.com/index.html]] | . | ok |
| 22/04/2012 18:32:28 | ss | [[/|http://hikikomorigoto.tiddlyspot.com/]] | [[store.cgi|http://hikikomorigoto.tiddlyspot.com/store.cgi]] | . | [[index.html | http://hikikomorigoto.tiddlyspot.com/index.html]] | . |
| 22/04/2012 20:41:08 | ss | [[/|http://hikikomorigoto.tiddlyspot.com/]] | [[store.cgi|http://hikikomorigoto.tiddlyspot.com/store.cgi]] | . | [[index.html | http://hikikomorigoto.tiddlyspot.com/index.html]] | . |
| 28/04/2012 13:57:06 | ss | [[/|http://hikikomorigoto.tiddlyspot.com/]] | [[store.cgi|http://hikikomorigoto.tiddlyspot.com/store.cgi]] | . | [[index.html | http://hikikomorigoto.tiddlyspot.com/index.html]] | . | ok |
| 28/04/2012 13:58:57 | ss | [[/|http://hikikomorigoto.tiddlyspot.com/]] | [[store.cgi|http://hikikomorigoto.tiddlyspot.com/store.cgi]] | . | [[index.html | http://hikikomorigoto.tiddlyspot.com/index.html]] | . |
| 29/04/2012 22:44:59 | ss | [[/|http://hikikomorigoto.tiddlyspot.com/]] | [[store.cgi|http://hikikomorigoto.tiddlyspot.com/store.cgi]] | . | [[index.html | http://hikikomorigoto.tiddlyspot.com/index.html]] | . |
| 12/05/2012 17:27:07 | ss | [[/|http://hikikomorigoto.tiddlyspot.com/]] | [[store.cgi|http://hikikomorigoto.tiddlyspot.com/store.cgi]] | . | [[index.html | http://hikikomorigoto.tiddlyspot.com/index.html]] | . |
/***
|''Name:''|UploadPlugin|
|''Description:''|Save to web a TiddlyWiki|
|''Version:''|4.1.3|
|''Date:''|Feb 24, 2008|
|''Source:''|http://tiddlywiki.bidix.info/#UploadPlugin|
|''Documentation:''|http://tiddlywiki.bidix.info/#UploadPluginDoc|
|''Author:''|BidiX (BidiX (at) bidix (dot) info)|
|''License:''|[[BSD open source license|http://tiddlywiki.bidix.info/#%5B%5BBSD%20open%20source%20license%5D%5D ]]|
|''~CoreVersion:''|2.2.0|
|''Requires:''|PasswordOptionPlugin|
***/
//{{{
version.extensions.UploadPlugin = {
major: 4, minor: 1, revision: 3,
date: new Date("Feb 24, 2008"),
source: 'http://tiddlywiki.bidix.info/#UploadPlugin',
author: 'BidiX (BidiX (at) bidix (dot) info',
coreVersion: '2.2.0'
};
//
// Environment
//
if (!window.bidix) window.bidix = {}; // bidix namespace
bidix.debugMode = false; // true to activate both in Plugin and UploadService
//
// Upload Macro
//
config.macros.upload = {
// default values
defaultBackupDir: '', //no backup
defaultStoreScript: "store.php",
defaultToFilename: "index.html",
defaultUploadDir: ".",
authenticateUser: true // UploadService Authenticate User
};
config.macros.upload.label = {
promptOption: "Save and Upload this TiddlyWiki with UploadOptions",
promptParamMacro: "Save and Upload this TiddlyWiki in %0",
saveLabel: "save to web",
saveToDisk: "save to disk",
uploadLabel: "upload"
};
config.macros.upload.messages = {
noStoreUrl: "No store URL in parmeters or options",
usernameOrPasswordMissing: "Username or password missing"
};
config.macros.upload.handler = function(place,macroName,params) {
if (readOnly)
return;
var label;
if (document.location.toString().substr(0,4) == "http")
label = this.label.saveLabel;
else
label = this.label.uploadLabel;
var prompt;
if (params[0]) {
prompt = this.label.promptParamMacro.toString().format([this.destFile(params[0],
(params[1] ? params[1]:bidix.basename(window.location.toString())), params[3])]);
} else {
prompt = this.label.promptOption;
}
createTiddlyButton(place, label, prompt, function() {config.macros.upload.action(params);}, null, null, this.accessKey);
};
config.macros.upload.action = function(params)
{
// for missing macro parameter set value from options
if (!params) params = {};
var storeUrl = params[0] ? params[0] : config.options.txtUploadStoreUrl;
var toFilename = params[1] ? params[1] : config.options.txtUploadFilename;
var backupDir = params[2] ? params[2] : config.options.txtUploadBackupDir;
var uploadDir = params[3] ? params[3] : config.options.txtUploadDir;
var username = params[4] ? params[4] : config.options.txtUploadUserName;
var password = config.options.pasUploadPassword; // for security reason no password as macro parameter
// for still missing parameter set default value
if ((!storeUrl) && (document.location.toString().substr(0,4) == "http"))
storeUrl = bidix.dirname(document.location.toString())+'/'+config.macros.upload.defaultStoreScript;
if (storeUrl.substr(0,4) != "http")
storeUrl = bidix.dirname(document.location.toString()) +'/'+ storeUrl;
if (!toFilename)
toFilename = bidix.basename(window.location.toString());
if (!toFilename)
toFilename = config.macros.upload.defaultToFilename;
if (!uploadDir)
uploadDir = config.macros.upload.defaultUploadDir;
if (!backupDir)
backupDir = config.macros.upload.defaultBackupDir;
// report error if still missing
if (!storeUrl) {
alert(config.macros.upload.messages.noStoreUrl);
clearMessage();
return false;
}
if (config.macros.upload.authenticateUser && (!username || !password)) {
alert(config.macros.upload.messages.usernameOrPasswordMissing);
clearMessage();
return false;
}
bidix.upload.uploadChanges(false,null,storeUrl, toFilename, uploadDir, backupDir, username, password);
return false;
};
config.macros.upload.destFile = function(storeUrl, toFilename, uploadDir)
{
if (!storeUrl)
return null;
var dest = bidix.dirname(storeUrl);
if (uploadDir && uploadDir != '.')
dest = dest + '/' + uploadDir;
dest = dest + '/' + toFilename;
return dest;
};
//
// uploadOptions Macro
//
config.macros.uploadOptions = {
handler: function(place,macroName,params) {
var wizard = new Wizard();
wizard.createWizard(place,this.wizardTitle);
wizard.addStep(this.step1Title,this.step1Html);
var markList = wizard.getElement("markList");
var listWrapper = document.createElement("div");
markList.parentNode.insertBefore(listWrapper,markList);
wizard.setValue("listWrapper",listWrapper);
this.refreshOptions(listWrapper,false);
var uploadCaption;
if (document.location.toString().substr(0,4) == "http")
uploadCaption = config.macros.upload.label.saveLabel;
else
uploadCaption = config.macros.upload.label.uploadLabel;
wizard.setButtons([
{caption: uploadCaption, tooltip: config.macros.upload.label.promptOption,
onClick: config.macros.upload.action},
{caption: this.cancelButton, tooltip: this.cancelButtonPrompt, onClick: this.onCancel}
]);
},
options: [
"txtUploadUserName",
"pasUploadPassword",
"txtUploadStoreUrl",
"txtUploadDir",
"txtUploadFilename",
"txtUploadBackupDir",
"chkUploadLog",
"txtUploadLogMaxLine"
],
refreshOptions: function(listWrapper) {
var opts = [];
for(i=0; i<this.options.length; i++) {
var opt = {};
opts.push();
opt.option = "";
n = this.options[i];
opt.name = n;
opt.lowlight = !config.optionsDesc[n];
opt.description = opt.lowlight ? this.unknownDescription : config.optionsDesc[n];
opts.push(opt);
}
var listview = ListView.create(listWrapper,opts,this.listViewTemplate);
for(n=0; n<opts.length; n++) {
var type = opts[n].name.substr(0,3);
var h = config.macros.option.types[type];
if (h && h.create) {
h.create(opts[n].colElements['option'],type,opts[n].name,opts[n].name,"no");
}
}
},
onCancel: function(e)
{
backstage.switchTab(null);
return false;
},
wizardTitle: "Upload with options",
step1Title: "These options are saved in cookies in your browser",
step1Html: "<input type='hidden' name='markList'></input><br>",
cancelButton: "Cancel",
cancelButtonPrompt: "Cancel prompt",
listViewTemplate: {
columns: [
{name: 'Description', field: 'description', title: "Description", type: 'WikiText'},
{name: 'Option', field: 'option', title: "Option", type: 'String'},
{name: 'Name', field: 'name', title: "Name", type: 'String'}
],
rowClasses: [
{className: 'lowlight', field: 'lowlight'}
]}
};
//
// upload functions
//
if (!bidix.upload) bidix.upload = {};
if (!bidix.upload.messages) bidix.upload.messages = {
//from saving
invalidFileError: "The original file '%0' does not appear to be a valid TiddlyWiki",
backupSaved: "Backup saved",
backupFailed: "Failed to upload backup file",
rssSaved: "RSS feed uploaded",
rssFailed: "Failed to upload RSS feed file",
emptySaved: "Empty template uploaded",
emptyFailed: "Failed to upload empty template file",
mainSaved: "Main TiddlyWiki file uploaded",
mainFailed: "Failed to upload main TiddlyWiki file. Your changes have not been saved",
//specific upload
loadOriginalHttpPostError: "Can't get original file",
aboutToSaveOnHttpPost: 'About to upload on %0 ...',
storePhpNotFound: "The store script '%0' was not found."
};
bidix.upload.uploadChanges = function(onlyIfDirty,tiddlers,storeUrl,toFilename,uploadDir,backupDir,username,password)
{
var callback = function(status,uploadParams,original,url,xhr) {
if (!status) {
displayMessage(bidix.upload.messages.loadOriginalHttpPostError);
return;
}
if (bidix.debugMode)
alert(original.substr(0,500)+"\n...");
// Locate the storeArea div's
var posDiv = locateStoreArea(original);
if((posDiv[0] == -1) || (posDiv[1] == -1)) {
alert(config.messages.invalidFileError.format([localPath]));
return;
}
bidix.upload.uploadRss(uploadParams,original,posDiv);
};
if(onlyIfDirty && !store.isDirty())
return;
clearMessage();
// save on localdisk ?
if (document.location.toString().substr(0,4) == "file") {
var path = document.location.toString();
var localPath = getLocalPath(path);
saveChanges();
}
// get original
var uploadParams = new Array(storeUrl,toFilename,uploadDir,backupDir,username,password);
var originalPath = document.location.toString();
// If url is a directory : add index.html
if (originalPath.charAt(originalPath.length-1) == "/")
originalPath = originalPath + "index.html";
var dest = config.macros.upload.destFile(storeUrl,toFilename,uploadDir);
var log = new bidix.UploadLog();
log.startUpload(storeUrl, dest, uploadDir, backupDir);
displayMessage(bidix.upload.messages.aboutToSaveOnHttpPost.format([dest]));
if (bidix.debugMode)
alert("about to execute Http - GET on "+originalPath);
var r = doHttp("GET",originalPath,null,null,username,password,callback,uploadParams,null);
if (typeof r == "string")
displayMessage(r);
return r;
};
bidix.upload.uploadRss = function(uploadParams,original,posDiv)
{
var callback = function(status,params,responseText,url,xhr) {
if(status) {
var destfile = responseText.substring(responseText.indexOf("destfile:")+9,responseText.indexOf("\n", responseText.indexOf("destfile:")));
displayMessage(bidix.upload.messages.rssSaved,bidix.dirname(url)+'/'+destfile);
bidix.upload.uploadMain(params[0],params[1],params[2]);
} else {
displayMessage(bidix.upload.messages.rssFailed);
}
};
// do uploadRss
if(config.options.chkGenerateAnRssFeed) {
var rssPath = uploadParams[1].substr(0,uploadParams[1].lastIndexOf(".")) + ".xml";
var rssUploadParams = new Array(uploadParams[0],rssPath,uploadParams[2],'',uploadParams[4],uploadParams[5]);
var rssString = generateRss();
// no UnicodeToUTF8 conversion needed when location is "file" !!!
if (document.location.toString().substr(0,4) != "file")
rssString = convertUnicodeToUTF8(rssString);
bidix.upload.httpUpload(rssUploadParams,rssString,callback,Array(uploadParams,original,posDiv));
} else {
bidix.upload.uploadMain(uploadParams,original,posDiv);
}
};
bidix.upload.uploadMain = function(uploadParams,original,posDiv)
{
var callback = function(status,params,responseText,url,xhr) {
var log = new bidix.UploadLog();
if(status) {
// if backupDir specified
if ((params[3]) && (responseText.indexOf("backupfile:") > -1)) {
var backupfile = responseText.substring(responseText.indexOf("backupfile:")+11,responseText.indexOf("\n", responseText.indexOf("backupfile:")));
displayMessage(bidix.upload.messages.backupSaved,bidix.dirname(url)+'/'+backupfile);
}
var destfile = responseText.substring(responseText.indexOf("destfile:")+9,responseText.indexOf("\n", responseText.indexOf("destfile:")));
displayMessage(bidix.upload.messages.mainSaved,bidix.dirname(url)+'/'+destfile);
store.setDirty(false);
log.endUpload("ok");
} else {
alert(bidix.upload.messages.mainFailed);
displayMessage(bidix.upload.messages.mainFailed);
log.endUpload("failed");
}
};
// do uploadMain
var revised = bidix.upload.updateOriginal(original,posDiv);
bidix.upload.httpUpload(uploadParams,revised,callback,uploadParams);
};
bidix.upload.httpUpload = function(uploadParams,data,callback,params)
{
var localCallback = function(status,params,responseText,url,xhr) {
url = (url.indexOf("nocache=") < 0 ? url : url.substring(0,url.indexOf("nocache=")-1));
if (xhr.status == 404)
alert(bidix.upload.messages.storePhpNotFound.format([url]));
if ((bidix.debugMode) || (responseText.indexOf("Debug mode") >= 0 )) {
alert(responseText);
if (responseText.indexOf("Debug mode") >= 0 )
responseText = responseText.substring(responseText.indexOf("\n\n")+2);
} else if (responseText.charAt(0) != '0')
alert(responseText);
if (responseText.charAt(0) != '0')
status = null;
callback(status,params,responseText,url,xhr);
};
// do httpUpload
var boundary = "---------------------------"+"AaB03x";
var uploadFormName = "UploadPlugin";
// compose headers data
var sheader = "";
sheader += "--" + boundary + "\r\nContent-disposition: form-data; name=\"";
sheader += uploadFormName +"\"\r\n\r\n";
sheader += "backupDir="+uploadParams[3] +
";user=" + uploadParams[4] +
";password=" + uploadParams[5] +
";uploaddir=" + uploadParams[2];
if (bidix.debugMode)
sheader += ";debug=1";
sheader += ";;\r\n";
sheader += "\r\n" + "--" + boundary + "\r\n";
sheader += "Content-disposition: form-data; name=\"userfile\"; filename=\""+uploadParams[1]+"\"\r\n";
sheader += "Content-Type: text/html;charset=UTF-8" + "\r\n";
sheader += "Content-Length: " + data.length + "\r\n\r\n";
// compose trailer data
var strailer = new String();
strailer = "\r\n--" + boundary + "--\r\n";
data = sheader + data + strailer;
if (bidix.debugMode) alert("about to execute Http - POST on "+uploadParams[0]+"\n with \n"+data.substr(0,500)+ " ... ");
var r = doHttp("POST",uploadParams[0],data,"multipart/form-data; ;charset=UTF-8; boundary="+boundary,uploadParams[4],uploadParams[5],localCallback,params,null);
if (typeof r == "string")
displayMessage(r);
return r;
};
// same as Saving's updateOriginal but without convertUnicodeToUTF8 calls
bidix.upload.updateOriginal = function(original, posDiv)
{
if (!posDiv)
posDiv = locateStoreArea(original);
if((posDiv[0] == -1) || (posDiv[1] == -1)) {
alert(config.messages.invalidFileError.format([localPath]));
return;
}
var revised = original.substr(0,posDiv[0] + startSaveArea.length) + "\n" +
store.allTiddlersAsHtml() + "\n" +
original.substr(posDiv[1]);
var newSiteTitle = getPageTitle().htmlEncode();
revised = revised.replaceChunk("<title"+">","</title"+">"," " + newSiteTitle + " ");
revised = updateMarkupBlock(revised,"PRE-HEAD","MarkupPreHead");
revised = updateMarkupBlock(revised,"POST-HEAD","MarkupPostHead");
revised = updateMarkupBlock(revised,"PRE-BODY","MarkupPreBody");
revised = updateMarkupBlock(revised,"POST-SCRIPT","MarkupPostBody");
return revised;
};
//
// UploadLog
//
// config.options.chkUploadLog :
// false : no logging
// true : logging
// config.options.txtUploadLogMaxLine :
// -1 : no limit
// 0 : no Log lines but UploadLog is still in place
// n : the last n lines are only kept
// NaN : no limit (-1)
bidix.UploadLog = function() {
if (!config.options.chkUploadLog)
return; // this.tiddler = null
this.tiddler = store.getTiddler("UploadLog");
if (!this.tiddler) {
this.tiddler = new Tiddler();
this.tiddler.title = "UploadLog";
this.tiddler.text = "| !date | !user | !location | !storeUrl | !uploadDir | !toFilename | !backupdir | !origin |";
this.tiddler.created = new Date();
this.tiddler.modifier = config.options.txtUserName;
this.tiddler.modified = new Date();
store.addTiddler(this.tiddler);
}
return this;
};
bidix.UploadLog.prototype.addText = function(text) {
if (!this.tiddler)
return;
// retrieve maxLine when we need it
var maxLine = parseInt(config.options.txtUploadLogMaxLine,10);
if (isNaN(maxLine))
maxLine = -1;
// add text
if (maxLine != 0)
this.tiddler.text = this.tiddler.text + text;
// Trunck to maxLine
if (maxLine >= 0) {
var textArray = this.tiddler.text.split('\n');
if (textArray.length > maxLine + 1)
textArray.splice(1,textArray.length-1-maxLine);
this.tiddler.text = textArray.join('\n');
}
// update tiddler fields
this.tiddler.modifier = config.options.txtUserName;
this.tiddler.modified = new Date();
store.addTiddler(this.tiddler);
// refresh and notifiy for immediate update
story.refreshTiddler(this.tiddler.title);
store.notify(this.tiddler.title, true);
};
bidix.UploadLog.prototype.startUpload = function(storeUrl, toFilename, uploadDir, backupDir) {
if (!this.tiddler)
return;
var now = new Date();
var text = "\n| ";
var filename = bidix.basename(document.location.toString());
if (!filename) filename = '/';
text += now.formatString("0DD/0MM/YYYY 0hh:0mm:0ss") +" | ";
text += config.options.txtUserName + " | ";
text += "[["+filename+"|"+location + "]] |";
text += " [[" + bidix.basename(storeUrl) + "|" + storeUrl + "]] | ";
text += uploadDir + " | ";
text += "[[" + bidix.basename(toFilename) + " | " +toFilename + "]] | ";
text += backupDir + " |";
this.addText(text);
};
bidix.UploadLog.prototype.endUpload = function(status) {
if (!this.tiddler)
return;
this.addText(" "+status+" |");
};
//
// Utilities
//
bidix.checkPlugin = function(plugin, major, minor, revision) {
var ext = version.extensions[plugin];
if (!
(ext &&
((ext.major > major) ||
((ext.major == major) && (ext.minor > minor)) ||
((ext.major == major) && (ext.minor == minor) && (ext.revision >= revision))))) {
// write error in PluginManager
if (pluginInfo)
pluginInfo.log.push("Requires " + plugin + " " + major + "." + minor + "." + revision);
eval(plugin); // generate an error : "Error: ReferenceError: xxxx is not defined"
}
};
bidix.dirname = function(filePath) {
if (!filePath)
return;
var lastpos;
if ((lastpos = filePath.lastIndexOf("/")) != -1) {
return filePath.substring(0, lastpos);
} else {
return filePath.substring(0, filePath.lastIndexOf("\\"));
}
};
bidix.basename = function(filePath) {
if (!filePath)
return;
var lastpos;
if ((lastpos = filePath.lastIndexOf("#")) != -1)
filePath = filePath.substring(0, lastpos);
if ((lastpos = filePath.lastIndexOf("/")) != -1) {
return filePath.substring(lastpos + 1);
} else
return filePath.substring(filePath.lastIndexOf("\\")+1);
};
bidix.initOption = function(name,value) {
if (!config.options[name])
config.options[name] = value;
};
//
// Initializations
//
// require PasswordOptionPlugin 1.0.1 or better
bidix.checkPlugin("PasswordOptionPlugin", 1, 0, 1);
// styleSheet
setStylesheet('.txtUploadStoreUrl, .txtUploadBackupDir, .txtUploadDir {width: 22em;}',"uploadPluginStyles");
//optionsDesc
merge(config.optionsDesc,{
txtUploadStoreUrl: "Url of the UploadService script (default: store.php)",
txtUploadFilename: "Filename of the uploaded file (default: in index.html)",
txtUploadDir: "Relative Directory where to store the file (default: . (downloadService directory))",
txtUploadBackupDir: "Relative Directory where to backup the file. If empty no backup. (default: ''(empty))",
txtUploadUserName: "Upload Username",
pasUploadPassword: "Upload Password",
chkUploadLog: "do Logging in UploadLog (default: true)",
txtUploadLogMaxLine: "Maximum of lines in UploadLog (default: 10)"
});
// Options Initializations
bidix.initOption('txtUploadStoreUrl','');
bidix.initOption('txtUploadFilename','');
bidix.initOption('txtUploadDir','');
bidix.initOption('txtUploadBackupDir','');
bidix.initOption('txtUploadUserName','');
bidix.initOption('pasUploadPassword','');
bidix.initOption('chkUploadLog',true);
bidix.initOption('txtUploadLogMaxLine','10');
// Backstage
merge(config.tasks,{
uploadOptions: {text: "upload", tooltip: "Change UploadOptions and Upload", content: '<<uploadOptions>>'}
});
config.backstageTasks.push("uploadOptions");
//}}}
*[[[Excel 2007] Visual Basic for Applications (VBA) を用いる準備|http://brain.cc.kogakuin.ac.jp/~kanamaru/lecture/vba2003/2007_01-intro00.html]]
;基本的な話
* Excel で使う必要があるから使うが、言語として覚える価値はなさげ
* ステートメントを複数行に分割する際は、行末にスペースとアンダーバー ''( _ )'' を入れる
*[[VBA基本(Functionプロシージャ)|http://www.asahi-net.or.jp/~ef2o-inue/vba_k/sub04_110_02.html]]
*[[Excel VBA 入門講座 If ~ ElseIf|http://excelvba.pc-users.net/fol6/6_1.html]]
* ~VB6(VBA)では、配列の初期化ができないっぽい...
; Range について
* [[Deep Decryption - Excel VBA Tips - Range オブジェクト|http://www012.upp.so-net.ne.jp/scotchegg/ExcelVBA/Range/index.htm]]
* [[Rangeオブジェクト、Areasコレクション|http://arrow3.way-nifty.com/shige/2004/08/excelvba_rangea.html]]
* [[行列]]
; 選択範囲(Selection) について
{{{
' 選択範囲に含まれるセルの値の一覧表示
Sub checkSelectionSample()
Dim selectRange, item As Range
' 選択範囲の取得
Set selectRange = Selection
' 選択範囲の情報
Debug.Print ("----------")
Debug.Print ("Selection")
Debug.Print (" Count : " & selectRange.Count) ' 要素数
Debug.Print (" Areas.Count: " & selectRange.Areas.Count) ' エリア数
Debug.Print ("----------")
' 選択範囲のセルを1つずつ処理する
For Each item In selectRange
Debug.Print ("(" & item.Row & ", " & item.Column & ") = " & item.Value)
'Debug.Print (item.Address)
Next
End Sub
}}}
;Cell について
* Cell の色
**[[ColorIndexプロパティ値一覧:Excel エクセルの使い方-マクロ/VBA|http://www.relief.jp/itnote/archives/000482.php]]
**[[Excel VBA Reference ★文字色とセルの塗りつぶし設定★|http://www.big.or.jp/~seto/vbaref/vbaref4.htm]]
;ほか
{{{
activeCell.Offset(1, 2).Activate
}}}
{{{
' 列番号を列名に変換する関数
Public Function colToColumnName(ColNum As Integer) As String
Dim codeA As Integer
codeA = Asc("A")
'文字コードから文字をとる
Chr (文字コード)
'/ 割り算 8 / 5 1.6
'\ 割り算の商 8 \ 5 1
Mod 割り算の余り 8 Mod 5 33
MsgBox (codeA)
End Function
}}}
こんな感じかな...
{{{
' 列番号を列名に変換する関数 (2文字まで)
Public Function colToColumnName(colNum As Integer) As String
Dim codeA As Integer
codeA = Asc("A")
Dim num1, num2 As Integer
Dim char1, char2 As String
' \ は割り算の商, Mod 割り算の余り
num1 = colNum \ 26
If (colNum Mod 26 = 0) Then
num1 = num1 - 1
End If
If num1 > 26 Then
Debug.Print ("colNum is too big.")
colToColumnName = ""
Exit Function
End If
' 上位の文字
If num1 = 0 Then
char1 = ""
Else
char1 = Chr(codeA + num1 - 1)
End If
num2 = colNum - num1 * 26
' 下位の文字
char2 = Chr(codeA + num2 - 1)
Debug.Print (num1 & " " & char1)
Debug.Print (num2 & " " & char2)
colToColumnName = char1 & char2
End Function
}}}
プロジェクトの設定とdllをコンパイルした時の設定が違うと、色々問題が出る。
; 参考にしたサイト
* [[適切な C ランタイム (CRT) ライブラリとリンクする方法|http://support.microsoft.com/kb/140584/ja]]
* [[exeファイルとCRT - EternalWindows|http://eternalwindows.jp/else/exe.html]]
* [[MSVCR80.dll/MSVCR90.dllに依存しないようにする方法 |http://d.hatena.ne.jp/hideAki/20080617/1213691492]]
* [[DLLとEXEの話 |http://d.hatena.ne.jp/yhabe/20080724]]
; 設定方法
# プロジェクト => ~"プロジェクト名"のプロパティ
# C/C++ => コード生成 => ランタイムライブラリ
; オプション
|!Switch |!説明 |!補足 |
|/ML |シングルスレッド ||
|/MT |マルチスレッド (スタティックリンク) ||
|/MD |マルチスレッド (ダイナミックリンク) |実行時に MSVCRT DLLが必要 |
|/~MLd |Debug シングルスレッド ||
|/~MTd |Debug マルチスレッド (スタティックリンク) ||
|/~MDd |Debug マルチスレッド (ダイナミックリンク) |実行時に MSVCRTD DLLが必要 |
; こんな感じ?
* とりあえず自分が使えればよい => /MD
* EXE単体で配布したい => DLLは使わない => /MT
* /MD で作ったものを配布したい時は、MSVCRT をEXEのフォルダに入れておく
; リンクするライブラリの指定
{{{
#pragma comment(lib, "xxx.lib")
}}}
; コンソール非表示
{{{
#pragma comment(linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"")
}}}
; インクルードパス
* C/C++ => 全般 => 追加のインクルードディレクトリ
; ライブラリパス
* リンカ => 全般 => 追加のライブラリディレクトリ
; リンクするライブラリ
* リンカ => 入力 => 追加の依存ファイル
* [[VC++ pragma]] で設定した方がよいかも...
This document is a ~TiddlyWiki from tiddlyspot.com. A ~TiddlyWiki is an electronic notebook that is great for managing todo lists, personal information, and all sorts of things.
@@font-weight:bold;font-size:1.3em;color:#444; //What now?// @@ Before you can save any changes, you need to enter your password in the form below. Then configure privacy and other site settings at your [[control panel|http://hikikomorigoto.tiddlyspot.com/controlpanel]] (your control panel username is //hikikomorigoto//).
<<tiddler TspotControls>>
See also GettingStarted.
@@font-weight:bold;font-size:1.3em;color:#444; //Working online// @@ You can edit this ~TiddlyWiki right now, and save your changes using the "save to web" button in the column on the right.
@@font-weight:bold;font-size:1.3em;color:#444; //Working offline// @@ A fully functioning copy of this ~TiddlyWiki can be saved onto your hard drive or USB stick. You can make changes and save them locally without being connected to the Internet. When you're ready to sync up again, just click "upload" and your ~TiddlyWiki will be saved back to tiddlyspot.com.
@@font-weight:bold;font-size:1.3em;color:#444; //Help!// @@ Find out more about ~TiddlyWiki at [[TiddlyWiki.com|http://tiddlywiki.com]]. Also visit [[TiddlyWiki.org|http://tiddlywiki.org]] for documentation on learning and using ~TiddlyWiki. New users are especially welcome on the [[TiddlyWiki mailing list|http://groups.google.com/group/TiddlyWiki]], which is an excellent place to ask questions and get help. If you have a tiddlyspot related problem email [[tiddlyspot support|mailto:support@tiddlyspot.com]].
@@font-weight:bold;font-size:1.3em;color:#444; //Enjoy :)// @@ We hope you like using your tiddlyspot.com site. Please email [[feedback@tiddlyspot.com|mailto:feedback@tiddlyspot.com]] with any comments or suggestions.
; コマンドプロンプト
* [[Windowsコマンド一覧|http://www10.plala.or.jp/kobayan/command.html]]
* [[cp, mvコマンドとcopy, moveコマンドの微妙な違い:実例とまとめ|http://d.hatena.ne.jp/m-hiyama/20081211/1228976433]]
* [[cmd.exe のコマンドラインの仕様を解析してみた - 永遠に未完成 | http://d.hatena.ne.jp/thinca/20100210/1265813598 ]]
* [[Windowsのバッチ(bat)でsleep(wait)する方法 |http://kgo.dtiblog.com/blog-entry-23.html]]
* [[コマンドプロンプトで逆クォート]]
; Word
* [[変更履歴記録モードを解除する|http://www.relief.jp/itnote/archives/001803.php]]
* [[変更履歴の一括削除-すべての変更を反映|http://www.relief.jp/itnote/archives/001981.php]]
* [[グリッド線を自在に表示|http://kokoro.kir.jp/word/grid.html]]
* [[グリッドに揃えない|http://www.isc.meiji.ac.jp/~ken/word/word.html#Anchor-10802]]
* [[Wordの図表番号]]
* [[修正前後の文章を比較する | http://trendy.nikkeibp.co.jp/article/tec/word/20040311/107852/ ]]
* [[「音声認識データを保存する十分な空き領域がないため、データは失われました」の対策 | http://sato-si.at.webry.info/200607/article_3.html ]]
* [[Word セクションの区切り方 | http://www.geocities.jp/kotopara_g/oshiete01/w_section/sec_main.htm ]]
* [[Word 挿入したページ番号を削除したい | http://www.ndsu.ac.jp/1000_guid/1700_inst/1760_ce02/jkksc/sub/qanda/page/word/word.html#word5 ]]
* [[版の管理--Word・ワード|http://kokoro.kir.jp/word/han.html]]
** 新しいWordには、無いらしいが...
* [[Word 2007 で Excel 2007 または PowerPoint 2007 から図、図形、クリップ アートなどを貼り付けると 1 つのSmartArt グラフィックになり、編集できない|http://support.microsoft.com/kb/953410/ja]]
* [[ワードの変更履歴の3つの表示方法[ワード(Word)の使い方]All About|http://allabout.co.jp/gm/gc/297861/2/]]
* [[Word 2007 数式ツールでの「等号揃え」: ごんざぶログ|http://gonzaburou.cocolog-nifty.com/blog/2009/05/equation-1.html]]
; Excel
* ウィンドウ枠の固定
** 「ウィンドウ -> ウィンドウ枠の固定」
** [[ウィンドウ枠固定で行・列を固定表示|http://kokoro.kir.jp/excel/window-frame-fixation.html]]
* [[エクセルでのブック全体の両面印刷について質問です。 | http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1114529696 ]]
* [[Excel でシートを自動縮小して最適な横幅で印刷する|http://sonic64.com/2007-02-27.html]]
* [[等高線グラフ |http://homepage3.nifty.com/pcsalon/eg/eg06.htm]]
; ~PowerPoint
* [[行間を調節する | http://www.ppt119.com/lesson/layout/gyoukan.html]]
* [[スライド番号を使いこなすコツ - All About|http://allabout.co.jp/computer/mspowerpoint/closeup/CU20080725A/]]
* [[grafoo:blog - IllustratorファイルをPowerPointへ変換する|http://blog.grafoo.info/archives/ai2ppt]]
; Wireshark
* [[Loopback インタフェースのパケットをキャプチャする|http://www.tomoyan.net/dokuwiki/doku.php/windows/wireshark]]
* [[ホストPCにMicrosoft Loopback Adapter をインストール|http://pcarekore.blogspot.com/2008/01/pcmicrosoft-loopback-adapter.html]]
* [[Wireshark(旧Ethereal)でTCP/UDPのチェックサムがエラー - torutkの日記|http://d.hatena.ne.jp/torutk/20070616/p1]]
; その他
* [[HTML ヘルプ(.chm)が正常に表示されない |http://www.yoriki.jp/blog_2008/2005/08/html-chm.html]]
* [[知られざるバッチファイル | http://sgry.jp/pgarticles/batch.html]]
* [[NYACUS|http://www.nyaos.org/]] tcshっぽいシェル
* [[ckw改造版|http://d.hatena.ne.jp/hideden/20071123/1195822428]] cmd.exeのUIを改良したものらしい
** [[ckw 0.8.10 改造版を更に改造した(コンソール隠し)|http://blogs.wankuma.com/shuujin/archive/2008/10/15/158825.aspx]]
* [[UnixUtils|http://sourceforge.net/projects/unxutils]] UnixコマンドのWindowsバイナリ
* [[NT版UNIX-like tools|http://www.piedey.co.jp/softs/ntuxtl014.html]] 日本語(シフトJIS)を処理できる~UnixUtils。みたいなもの
* [[grep|http://gnuwin32.sourceforge.net/packages/grep.htm]] あれこれdllを入れないとだめ[[らしい|http://d.hatena.ne.jp/eclipse-a/20080326/1206514291]]
* [[vim|http://www.kaoriya.net/]]
* [[less|http://www.d2.dion.ne.jp/~imady/freesoft/lesspatch/index.html]] 未確認
''「挿入 -> 参照 -> 図表番号」'' から入れることが可能。
番号のフォーマットは、番号付けで可能。
{{{
例えば数値が0、-1、-2、3、5、-7とあって、「最小の数値を返しなさい」と言うのなら、Schemeでは
(min 0 -1 -2 3 5 -7)
と書きます。これは良い。
では、リスト(0 -1 -2 3 5 -7)があって「リスト内の最小値を返せ」と言った場合どうするか?
(min '(0 -1 -2 3 5 -7))
これじゃ動かないんですね。こう言う時使うのがapplyです。
(apply min '(0 -1 -2 3 5 -7))
}}}
[[1338. Tech talk: Gauche Scheme | http://www.shido.info/gb/guestbook.php?id=1338]] より
;calc-custom.l
{{{
(provide "calc-custom")
;;; load "calc-mode".
(eval-when (:compile-toplevel :load-toplevel :execute)
(require "calc"))
(in-package :user)
;; 三角形が成り立つかどうか?
(defun triangle-inequality(a b c)
(and (= (count-if #'plusp (list a b c)) 3)
(< (abs (- b a)) c)
(< c (+ b a))))
;; 三角形の面積
(defun heron(a b c)
(unless (triangle-inequality a b c)
(error "与えられた辺の長さでは三角形が作れません: ~F ~F ~F" a b c))
(let ((s (/ (+ a b c) 2)))
(sqrt (* s (- s a) (- s b) (- s c)))))
;; 円の面積
(defun circle(r)
(when (minusp r)
(error 'range-error :datum r))
(* r r calc::pi))
;; アニュラス(ドーナッツみたいな形)の面積
(defun ring(or ir)
(when (< or ir)
(error "外側の円より内側の円が大きいです: or:~F ir:~F" or ir))
(- (circle or) (circle ir)))
;;;; ----------------------------------------
;;; pipe 計算
;; 断面積
(defun cross-section(diameter)
(circle (/ diameter 2)))
;; アニュラスの面積
(defun annulus(od id) (ring (/ od 2) (/ id 2)))
;; 単位変換
(defun inch2cm(inch) (* inch 2.54))
(defun cm2inch(cm) (/ cm 2.54))
(defun knot2mh(knot) (* knot 1852))
;;;; ----------------------------------------
;; 計算結果を小数で表示
(setq ed::*calc-ratio* 'float)
(add-hook 'ed::*calc-mode-hook*
#'(lambda()
(setf (symbol-function 'calc::heron) #'heron)
(setf (symbol-function 'calc::circle) #'circle)
(setf (symbol-function 'calc::ring) #'ring)
(setf (symbol-function 'calc::annulus) #'annulus)
(setf (symbol-function 'calc::pcs) #'cross-section)
;; 単位変換
(setf (symbol-function 'calc::inch2cm) #'inch2cm)
(setf (symbol-function 'calc::cm2inch) #'cm2inch)
(setf (symbol-function 'calc::knot2mh) #'knot2mh)
))
;; タブ補完
(define-key *calc-mode-map* #\Tab 'lisp-complete-symbol)
;;;; ----------------------------------------
;; calc の履歴
(require "calc-ext")
(define-key *calc-mode-map* #\PageDown 'calc-complete-next)
(define-key *calc-mode-map* #\PageUp 'calc-complete-previous)
}}}
↑
↓
←
→
Ctrl + P
Ctrl + N
Ctrl + B
Ctrl + F
Ctrl + L
Return
{{{
(defvar-local calc-curr-line)
(define-key *calc-mode-map* #\RET
#'(lambda()
(calc-eval-line-add-history)
(setq calc-curr-line (current-line-number))))
}}}
; cons
(cons X Y)
「X を car」 「Y を cdr」 として、コンスセルを新しく作り、この新しいコンスセルへのポインタを返します。
(通常はリストですが) Y が特定のあるタイプでなくてはならないという制限はありません。
; list
(list X Y Z ...)
=> (X Y Z ...)
単純に、引数を要素とするリストを作成する。
結果として返されるリストは(常に) nil でターミネート(訳注:終端)されています。
引数 が与えられない場合、 empty リストを返します。
(empty リストは、評価されると nil になる?)
{{{
(list 1 2 3)
=>(1 2 3)
(list 1 '(20 30) 4 '(50 60 (700 800)))
=> (1 (20 30) 4 (50 60 (700 800)))
(cdr (list 1 2))
=> (2)
(cdr (cdr (list 1 2)))
=> nil
}}}
; append
[R5RS] 渡されたリストの要素を繋げたリストを返します。
''最後の引数の部分以外は''新しいセルがアロケートされて使われます。
最後の引数は正規のリストである必要がありません。
その場合、結果は正規でないリストとなります。
{{{
(append '(1 2 3) '(4 5))
=> (1 2 3 4 5)
(append (list 1 2 3 4) 5)
=> (1 2 3 4 . 5)
(append (list 1 2 3 4) (list 5))
=> (1 2 3 4 5)
}}}
* [[appendによるconsセル操作方法 - 睡眠不足?! | http://d.hatena.ne.jp/sleepy_yoshi/20080608/p2]]
** appendは新しくコピーをつくるイメージがあったけれど,どうやら第1引数のリストはコピーして,最後のcdrに2引数の先頭へのポインタを格納する省コスト操作をしているらしい.
* [[find コマンドの -mtime は +1 でも2日前のファイルが対象|http://sonic64.com/2005-07-06.html]]
. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。.
; コマンドのフォーマット
''find [検索するパス] [オプション...]''
; 検索条件の指定
''-name [pattern]''
ファイル名の条件
( * などのシェルのパターンを使用する場合は、patternを "" で囲む)
''-mtime [n]''
ファイルの最終更新日時の条件
n : n日前に更新されたファイル
+n: n+1日以上前に更新されたファイル
-n : n-1日以内に更新されたファイル
''-mmin [n]''
ファイルの最終更新日時の条件
n : n分前に更新されたファイル
+n: n+1分以上前に更新されたファイル
-n : n-1分以内に更新されたファイル
; -exec オプションについて
-exec オプションをつけることで、検索で見つかったファイルに対して処理を行うことが可能である。
-execオプションの指定方法は、
-exec command ;
となる。
find のコマンドラインで指定されたこれ以降の引き数は、 `;' を含む引き数にいた る まで、
すべて command の引き数とみなされる。文字列 `{}' は現在処理しているファイル名に置き換えられる。
これらの文字はシェルによって展開されないよう、 `\' によってエスケープするか引用符で囲む必要がある。
コマンドはfind を実行したディレクトリから実行される。
使用例
''find . -name "*.h" -exec grep define {} \;''
----
NYACUS の find では、
どうも、'';'' を ''";"'' としないとだめみたい。
こんな感じ、
''find . -name *.h -exec grep define {} ";"''
* [[gnuplotの初歩|http://graph.pc-physics.com/]]
* [[yebo blog: GnuplotでPDF出力|http://yebo-blog.blogspot.com/2008/05/gnuplotpdf.html]]
* [[GNUPLOTの使い方|http://tortoise1.math.ryukoku.ac.jp/~takataka/gnuplot/]]
* [[gnu plot 入門|http://www.suri.it.okayama-u.ac.jp/~niitsuma/j/lecture/gnuplot_nyuumon.html]]
* [[gnuplot|http://albatross.dip.jp/blog/archives/165]]
; ヒストリーをファイルへ出力
{{{
history "outputFile"
}}}
----
<<list filter [tag[gnuplot]]>>
初期設定は、 ''gnuplot.ini'' を作って、そこに書けばよいみたい
{{{
# User Functions.
tax(amount) = amount * 0.05
# unit conversion
inch2mm(inch) = inch * 25.4
inch2cm(inch) = inch * 2.54
inch2m(inch) = inch * 0.254
mm2inch(mm) = mm / 25.4
sample(x, y) = (x > y) ? x : y
}}}
; 2D のデータプロット
''> load "plotbat.txt"''
{{{
<plotbat.txt>
set autoscale
# デフォルトでは、 1行目をX, 2行目をY
set terminal wxt 1
plot "plotData.txt"
set terminal wxt 2 title "Temperature" size 400,600
set yrange [] reverse
plot "plotData.txt" using 2:1 with lines ti "avg", \
"plotData.txt" using 3:1 with lines ti "max", \
"plotData.txt" using 4:1 with lines ti "min"
}}}
{{{
<plotData.txt>
# 深度 平均水温 最大水温 最小水温 サンプル数 標準偏差
0 21.63 30.56 13.00 7679 3.76
10 21.46 30.10 12.93 7457 3.66
20 20.92 29.44 10.91 8385 3.57
30 20.46 29.60 10.14 8585 3.46
50 19.52 29.20 10.50 8611 3.28
75 18.41 27.47 9.29 8462 3.08
100 17.40 26.13 9.10 8233 2.91
125 16.44 24.59 8.15 8076 2.78
150 15.51 23.49 7.40 7950 2.74
200 13.90 21.80 5.90 7722 2.75
250 12.46 20.12 4.43 6766 2.78
300 11.24 19.12 2.80 5376 2.82
400 9.26 16.77 2.72 4092 2.57
500 7.25 12.91 3.40 1825 1.91
600 5.65 9.12 2.23 1485 1.16
700 4.74 6.98 3.00 1330 0.76
800 4.13 5.72 3.09 1196 0.53
900 3.68 4.81 2.89 1034 0.39
1000 3.33 4.18 2.71 903 0.28
1100 3.04 3.68 2.57 518 0.22
1200 2.83 3.39 2.30 460 0.19
1300 2.65 3.08 2.32 361 0.15
1400 2.49 2.82 2.15 337 0.12
1500 2.37 2.66 2.09 303 0.10
1750 2.12 2.39 1.93 131 0.09
2000 1.93 2.11 1.78 186 0.07
}}}
{{{
# 組み込み関数を描画
plot sin(x)
# ユーザ定義した関数を描画
f(x) = x ** 2 + 5
plot f(x)
# 直接関数を書くことも可能みたい
plot 3 * x
}}}
; 2D のデータプロット
''> load "plot3d_bat.txt"''
{{{
<plot3d_bat.txt>
splot "3Ddata.txt"
# 等高線を書く場合
set dgrid3d 6, 10 # 縦横のデータ数に合わせて、メッシュを切る
# (Y軸のデータ数, X軸のデータ数)
splot "3Ddata.txt" with lines # 線で描画
# カラーの等高線
set pm3d
splot "3Ddata.txt"
# plot した元データを非表示にする場合
splot "3Ddata.txt" with pm3d
# 等高線を2次元で表示
set pm3d map
splot "3Ddata.txt"
# レンジの設定
# set xrange [273.15:274.050001]
# set yrange [10:15]
set cbrange[0:0.20] # 2次元カラーマップの範囲指定は、これで行うらしい
replot
# カラーパレットの変更
set palette rgbformulae 22,13,-31
}}}
{{{
# 別のサンプルだが...
set dgrid3d 141, 180
set cbrange[0:0.18] # set zrange[0:0.20] ??
set palette rgbformulae 22,13,-31
set pm3d map
splot "methane.txt"
# splot[273.15:291.050001][10:150] "methane.txt"
}}}
{{{
<3Ddata.txt">
# X Y Z
273.15 10 0.01944
273.25 10 0.01939
273.35 10 0.01934
273.45 10 0.01929
273.55 10 0.01924
273.65 10 0.01919
273.75 10 0.01914
273.85 10 0.01909
273.95 10 0.01904
274.05 10 0.01899
273.15 11 0.02129
273.25 11 0.02124
273.35 11 0.02118
273.45 11 0.02113
273.55 11 0.02107
273.65 11 0.02102
273.75 11 0.02096
273.85 11 0.02091
273.95 11 0.02086
274.05 11 0.0208
273.15 12 0.02313
273.25 12 0.02307
273.35 12 0.02301
273.45 12 0.02295
273.55 12 0.02289
273.65 12 0.02284
273.75 12 0.02278
273.85 12 0.02272
273.95 12 0.02266
274.05 12 0.0226
273.15 13 0.02496
273.25 13 0.02489
273.35 13 0.02483
273.45 13 0.02477
273.55 13 0.0247
273.65 13 0.02464
273.75 13 0.02457
273.85 13 0.02451
273.95 13 0.02445
274.05 13 0.02439
273.15 14 0.02677
273.25 14 0.0267
273.35 14 0.02663
273.45 14 0.02656
273.55 14 0.02649
273.65 14 0.02642
273.75 14 0.02636
273.85 14 0.02629
273.95 14 0.02622
273.15 15 0.02856
273.25 15 0.02849
273.35 15 0.02841
273.45 15 0.02834
273.55 15 0.02827
273.65 15 0.0282
273.75 15 0.02812
273.85 15 0.02805
273.95 15 0.02798
274.05 15 0.02791
}}}
; PDF へ書き出し
{{{
set terminal pdf
set output "test.pdf"
plot cos(x)
set output
}}}
* [[Arugoworksの開発日記 - iPod touch のワイヤレスLAN (Wifi)が利用できなくなったときの対処法 | http://www.arugoworks.net/blog/?p=705]]
* [[iPad2を手に入れたらまずDropbox系アプリ - W&R : Jazzと読書の日々 | http://d.hatena.ne.jp/wineroses/20110429]]
* [[葉っぱを調べられるアプリ Leafsnap を使ってみた - HIROSHiSM|http://hiroshism.com/2011/05/leafsnap.html#more]]
* [[jQuery 1.3.2 日本語リファレンス|http://semooh.jp/jquery/]]
* [[Martin Fowler's Bliki in Japanese - 流れるようなインターフェース|http://capsctrl.que.jp/kdmsnr/wiki/bliki/?FluentInterface]]
; プラグイン
* [[jQueryの日本語の解説サイトと国産のプラグイン集 コリス|http://coliss.com/articles/build-websites/operation/javascript/jquery-for-japanese.html]]
*ポップアップ
** [[Simpletip - A simple jQuery tooltip plugin|http://craigsworks.com/projects/simpletip/]]
*スライドショー
** [[jQuery.popeye 2.0 - an inline lightbox alternative | http://dev.herr-schuessler.de/jquery/popeye/demo.html]]
** [[Nivo Slider - The Most Awesome jQuery Image Slider|http://nivo.dev7studios.com/]]
* [[Plugins/Authoring - プラグインを作る | http://docs.jquery.com/Plugins/Authoring]]
* code 色
** http://digital-nb.com/wp/archives/378
; コードを読む
* [[特集:jquery.jsを読み解く gihyo.jp … 技術評論社|http://gihyo.jp/dev/feature/01/jquery]]
* [[jQueryコードリーディング:セレクタを渡した場合の挙動について - $('a') は何を返すか - | http://d.hatena.ne.jp/gnarl/20110226/1298731211]]
----
* [[はじめてのjQuery | http://higashizm.sakura.ne.jp/jquery_first/ ]]
* [[Prototyperに贈るjQuerystからの手紙 | http://tech.kayac.com/data/jquery-to-prototype/index.html ]]
* [[plugin : tech.kayac.com - KAYAC engineers' blog | http://tech.kayac.com/?tag=plugin ]]
* [[目的を持ってAjaxを使うためにjQueryの文法を知ろう (1/3) ─ @IT|http://www.atmarkit.co.jp/fwcr/rensai2/jquery02/01.html]]
* [[ASCII.jp:40分で覚える!jQuery速習講座|http://ascii.jp/elem/000/000/498/498710/index-3.html]]
* [[jQueryを読むために知っておきたい6つの知識 tech.kayac.com - KAYAC engineers' blog|http://tech.kayac.com/archive/jquery-codereading-tips.html]]
new より、こういう感じの方がしっくりくる。
{{{
var createStringBuffer = (function() {
var constructorFunction= (function() {
var f = function() {
this.buf = []
}
f.prototype = {
append: function(s) {
this.buf.push(s)
},
toString: function() {
return this.buf.join('<br />')
},
clear: function() {
this.buf = []
}
}
return f
})()
return function() {
var o = new constructorFunction()
return o
}
})()
}}}
* [[例のあれ(仮題)- JavaScriptでStringBuffer。|http://reiare.net/blog/2010/11/15/javascript-de-stringbuffer/]]
{{{
-- from the end backwards
function _ripairs(t)
local function ripairs_it(t,i)
i=i-1
local v=t[i]
if v==nil then return v end
return i,v
end
return ripairs_it, t, #t+1
end
--
ripairs = (function()
local function ripairs_it(_t, i)
i = i - 1
local v = _t[i]
if v == nil then return v end
return i, v
end
return function(t)
return ripairs_it, t, #t+1
end
end)()
t1 = {'a', 'b', 'd', 'e', false}
for k,v in ripairs(t1) do print(k,v) end
}}}
* ~WikiLinkの正規表現
** だいたいこんな感じ? (?:(?:[A-Z]+[a-z0-9_]+[A-Z].*)|(?:[A-Z]{2,}[a-z0-9_])) HHelloKvvvあ
{{{
(provide "my/tiddly-mode")
(in-package "my-custom")
(export '(*tiddly-mode-hook*
*tiddly-mode-syntax-table*
*tiddly-mode-map*
))
(export '(tiddly-mode
tiddly-test
tiddly-header-shift-or-clear tiddly-header-unshift
tiddly-ul-shift-or-clear tiddly-ul-unshift
tiddly-ol-shift-or-clear tiddly-ol-unshift
tiddly-quote-shift-or-clear tiddly-quote-unshift
tiddly-add-em-mark
tiddly-add-em))
;; Define hook.
(defvar *tiddly-mode-hook* nil)
(defvar *tiddly-mode-syntax-table* nil)
(unless *tiddly-mode-syntax-table*
(setq *tiddly-mode-syntax-table* (make-syntax-table))
)
;; Key Map
(defvar *tiddly-mode-map* nil)
(unless *tiddly-mode-map*
(setq *tiddly-mode-map* (make-sparse-keymap))
(define-key *tiddly-mode-map* #\C-j 'tiddly-header-shift-or-clear)
(define-key *tiddly-mode-map* #\M-j 'tiddly-header-unshift)
(define-key *tiddly-mode-map* #\C-k 'tiddly-ul-shift-or-clear)
(define-key *tiddly-mode-map* #\M-k 'tiddly-ul-unshift)
(define-key *tiddly-mode-map* #\C-l 'tiddly-ol-shift-or-clear)
(define-key *tiddly-mode-map* #\M-l 'tiddly-ol-unshift)
(define-key *tiddly-mode-map* #\C-\; 'tiddly-quote-shift-or-clear)
(define-key *tiddly-mode-map* '(#\C-z #\C-z) 'tiddly-add-em)
)
(setq tiddly-mode-max-list-depth 5)
(setq tiddly-quotation-mark "''")
(setq tiddly-header-prefix "!")
(setq tiddly-ul-prefix "*")
(setq tiddly-ol-prefix "#")
(setq tiddly-quote-prefix ">")
(setq tiddly-prefix-list
(list tiddly-header-prefix
tiddly-ul-prefix
tiddly-ol-prefix
tiddly-quote-prefix))
;; -------------------------------------------------------------
(defun get-list-depth (prefix)
""
(save-excursion
(goto-bol)
(- (progn (skip-chars-forward prefix) (point))
(progn (skip-chars-backward prefix) (point)))))
(defun get-current-line-list-prefix ()
""
(car
(remove-if-not
#'(lambda (prefix)
(save-excursion
(goto-bol)
(string= prefix (buffer-substring (point) (+ (point) 1)))))
tiddly-prefix-list)))
(defun tiddly-list-shift (prefix)
""
(save-excursion
(let ((current-line-prefix (get-current-line-list-prefix)))
(and
(< (get-list-depth prefix) tiddly-mode-max-list-depth)
(if current-line-prefix (string= current-line-prefix prefix) t)
(progn (goto-bol) (insert prefix))))))
(defun tiddly-list-unshift (prefix)
""
(save-excursion
(if (> (get-list-depth prefix) 0)
(progn (goto-bol) (delete-char 1)))))
(defun tiddly-list-shift-or-clear (prefix)
(if (/= (get-list-depth prefix) tiddly-mode-max-list-depth)
(tiddly-list-shift prefix)
(save-excursion
(goto-bol) (delete-char tiddly-mode-max-list-depth))))
(defun tiddly-add-quotation-mark (from to mark)
(if (> from to)
(rotatef from to))
(save-excursion
(goto-char to)
(insert mark)
(goto-char from)
(insert mark)))
;; -------------------------------------------------------------
; interactive function.
(defun tiddly-header-shift-or-clear ()
"" (interactive "*")
(tiddly-list-shift-or-clear tiddly-header-prefix))
(defun tiddly-header-unshift () "" (interactive "*") (tiddly-list-unshift tiddly-header-prefix))
(defun tiddly-ul-shift-or-clear ()
"" (interactive "*")
(tiddly-list-shift-or-clear tiddly-ul-prefix))
(defun tiddly-ul-unshift () "" (interactive "*") (tiddly-list-unshift tiddly-ul-prefix))
(defun tiddly-ol-shift-or-clear ()
"" (interactive "*")
(tiddly-list-shift-or-clear tiddly-ol-prefix))
(defun tiddly-ol-unshift () "" (interactive "*") (tiddly-list-unshift tiddly-ol-prefix))
(defun tiddly-quote-shift-or-clear ()
"" (interactive "*")
(tiddly-list-shift-or-clear tiddly-quote-prefix))
(defun tiddly-quote-unshift () "" (interactive "*") (tiddly-list-unshift tiddly-quote-prefix))
(defun tiddly-add-em ()
""
(interactive "*")
(cond ((selection-start-end (start end)
(tiddly-add-quotation-mark start end tiddly-quotation-mark)))
((mark t)
(tiddly-add-quotation-mark (region-beginning) (region-end) tiddly-quotation-mark))))
(defun tiddly-add-em-mark ()
"" (interactive "*") (insert tiddly-quotation-mark))
(defun tiddly-convert-to-tiddly-format ()
"" (interactive "*")
)
;; -------------------------------------------------------------
(defun tiddly-mode ()
(interactive)
(kill-all-local-variables)
(setq mode-name "Tiddly")
(setq buffer-mode 'tiddly-mode)
(use-syntax-table *tiddly-mode-syntax-table*)
(use-keymap *tiddly-mode-map*)
(make-local-variable 'auto-save)
(setq auto-save nil)
(run-hooks '*tiddly-mode-hook*))
}}}
* [[JavaScript 第5版 David Flanagan (著) 村上 列 (翻訳) |http://www.amazon.co.jp/JavaScript-第5版-David-Flanagan/dp/4873113296]]
* [[特集:jquery.jsを読み解く|gihyo.jp … 技術評論社 | http://gihyo.jp/dev/feature/01/jquery]]
* [[jQueryコードリーディング:セレクタを渡した場合の挙動について - $('a') は何を返すか - | http://d.hatena.ne.jp/gnarl/20110226/1298731211]]
* [[call メソッド : Function オブジェクト : JavaScript リファレンス - Web/DB プログラミング徹底解説|http://keicode.com/jsref/function.call.php]]
* 使用しているライブラリ
** [[Lua SJIS対応版|http://hammm.dw.land.to/lua/]]
** [[IUP - Portable User Interface|http://www.tecgraf.puc-rio.br/iup/]]
** [[CD - Canvas Draw|http://www.tecgraf.puc-rio.br/cd/]]
* なんとなく、Lua はShift JIS 対応版を使った
* manifest やらの問題があるので、Cランタイムはスタティックリンクした
** [[VS2008SP1 マニフェストに関する不具合の回避方法 « nabehide’s sol-log|http://nabehide.jp/sollog/?p=22]]
** [[MSVCR80.dll/MSVCR90.dllに依存しないようにする方法 |http://d.hatena.ne.jp/hideAki/20080617/1213691492]]
* IUP や CD のライブラリはリリースビルドされているようなので、 ランタイムのオプションは ''/MT'' にする
* あと、自動でmanifestを埋め込むのをやめて、自分で作成したmanifestを埋め込んだ
* コンソール画面を隠した
** [[VC++,glut,コンソール非表示 |http://d.hatena.ne.jp/gnarl/20071012/1192197418]]
* [[A look at Lua 5.2 (work3) | Corsix.org|http://www.corsix.org/content/look-lua-52-work3]]
|| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|柿しぶ染め| | | | | | | | | | | | |柿渋で世界でたった一つの作品づくり |
|みそづくり| | | | | | | | | | | | |
|こんにゃくづくり| | | | | | | | | | | | |
|桜の花塩漬け| | | | | | | | | | | | |
|もちつき| | | | | | | | | | | | |
|柿しぶ染め| | | | | | | | | | | | |
|みそづくり| | | | | | | | | | | | |
|こんにゃくづくり| | | | | | | | | | | | |
|桜の花塩漬け| | | | | | | | | | | | |
|もちつき| | | | | | | | | | | | |
|柿しぶ染め| | | | | | | | | | | | |
|みそづくり| | | | | | | | | | | | |
|こんにゃくづくり| | | | | | | | | | | | |
|桜の花塩漬け| | | | | | | | | | | | |
|もちつき| | | | | | | | | | | | |
|柿しぶ染め| | | | | | | | | | | | |
|みそづくり| | | | | | | | | | | | |
|こんにゃくづくり| | | | | | | | | | | | |
|桜の花塩漬け| | | | | | | | | | | | |
|もちつき| | | | | | | | | | | | |
|| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | |
|柿しぶ染め| | | | | | | | | | | | |
|みそづくり| | | | | | | | | | | | |
|こんにゃくづくり| | | | | | | | | | | | |
|桜の花塩漬け| | | | | | | | | | | | |
|もちつき| | | | | | | | | | | | |
|柿しぶ染め| | | | | | | | | | | | |
|みそづくり| | | | | | | | | | | | |
|こんにゃくづくり| | | | | | | | | | | | |
|桜の花塩漬け| | | | | | | | | | | | |
|もちつき| | | | | | | | | | | | |
|柿しぶ染め| | | | | | | | | | | | |
|みそづくり| | | | | | | | | | | | |
|こんにゃくづくり| | | | | | | | | | | | |
|桜の花塩漬け| | | | | | | | | | | | |
|もちつき| | | | | | | | | | | | |
|柿しぶ染め| | | | | | | | | | | | |
|みそづくり| | | | | | | | | | | | |
|こんにゃくづくり| | | | | | | | | | | | |
|桜の花塩漬け| | | | | | | | | | | | |
|もちつき| | | | | | | | | | | | |
tr '[a-z]' '[A-Z]' < file
file内の小文字を大文字に変換する。
<<version>>
<html>
<head>
<title>untitled</title>
</head>
<body>
<div class="viewer">
<<tdump UML>>
</div></body></html>
* [[xyzzy 初期化(siteinit.l)]]
* [[xyzzy-Lisp]]
- - - - - - - - - - - - - - - - - - - - -
; カスタマイズコード
<<tiddlerList tags:"xyzzy,setting">>
; 拡張ライブラリ
* [[sfiler.l | http://www003.upp.so-net.ne.jp/rex/ ]]
** explorer みたいなものを表示
* [[browserex | http://ohkubo.s53.xrea.com/xyzzy/#browserex ]]
** ブラウザ表示が見れるようになる
** [[browser.dll が要る | http://www.osk.3web.ne.jp/~usitukai/ ]]
* [[outline-tree2 | http://ohkubo.s53.xrea.com/xyzzy/#outline-tree2 ]]
** 色々ツリーで見れる
** 個人的には、どうも合わない...
- - - - - - - - - - - - - - - - - - - - -
* [[xyzzyで文字コード指定再読み込み / 随筆 - 随筆prototype | http://6994.hito.thebbs.jp/Madam/1122125407 ]]
* [[表示しているバッファのタブを色づけ | http://d.hatena.ne.jp/octech/20080508/1210216239]]
; カーソル移動用関数
| !関数名 | !引数 | !説明 |
|''goto-char'' |POINT |指定された位置にカレントバッファのカーソルを移動 |
|''forward-char'' |&optional (ARG 1) |指定された文字数だけ右に移動 |
|''backward-char'' |&optional (ARG 1) |指定された文字数だけ左に移動 |
|''goto-bol'' | |行頭に移動 |
|''goto-eol'' | |行末に移動 |
|''skip-chars-forward''|CHARS |指定された文字群を右方向にスキップ<br>CHARSの型は文字列でよい |
|''skip-chars-backward''|CHARS |指定された文字群を左方向にスキップ<br>CHARSの型は文字列でよい |
; カーソル位置を取得
(point)
; カーソル位置の文字を取得
(char-after (point))
(string (char-after (point))) @@color(#008000):; 文字列で取得@@
; カーソル位置の前の文字を取得
(char-before (point))
(string (char-before (point))) @@color(#008000):; 文字列で取得@@
; カーソル位置から文字列を取得する
(buffer-substring (point) (+ (point) 10)) @@color(#008000):; カーソル位置から10文字取得@@
----
| !関数名 | !引数 | !説明 |
|''char-after'' |point &optional not-used |カレントバッファの POINT 位置の文字を返します。 |
|''char-before'' ||カレントバッファの POINT の前の位置の文字を返します。 |
; char-after
カレントバッファの POINT 位置の文字を返します。
; char-before
カレントバッファの POINT の前の位置の文字を返します。
!サンプルコード
!!デバッグプリント
(msgbox (format nil "string ~D ~X" int-dec int-hex))
(msgbox (format nil "~A" object))
!!mapcar
(mapcar #'+ '(1 2 3 4) '(1 3 5) '(1 4 9 16) '(1 8 27))
=> (4 17 44)
! 簡易ツール
!! ちょっとした計算
(defun cal (exp) "Ctrl+jで実行しないと結果が見えない" (format t "~D" exp))
(cal (* 1000 1000 30))
! バッファの設定
* 書き込みを禁止する
** (toggle-read-only)
* tail -f する
** (tail-f)
try {
...
} finally {
...
}
{{{
(unwind-protect (call-interactively 'search-forward)
(setq *wrap-search* t))
}}}
try {
...
} catch{
...
}
{{{
(handler-case
(例外を発生するかもしれない処理)
(キャッチする例外1 ...)
(キャッチする例外2 ...)
...)
}}}
; 多値を返す
| !関数名 | !引数 | !説明 |
|''values'' |values &rest ARGS |多値で値を返す |
|''values-list'' |values-list LIST |指定されたリストを多値として返す |
!割り算
| ! |!サンプル |!サンプルの結果 |!備考 |
|商 (分数) |(/ 4 3) |4/3 ||
|商 (整数) |(truncate (/ 4 3)) |1, 1/3 |truncate は、2つの値を返す関数 |
|商 (小数) |(float (/ 4 3)) |1.3333333 ||
|余り |(rem 4 3) |1 ||
!指数・対数
| ! |!サンプル |!サンプルの結果 |
|べき乗 |(expt 7 2) |49 |
|自然対数のべき乗 |(exp 1) |2.718282 |
|~|(exp 2) |7.389056 |
|対数 |(log 100 10) |2.0 |
|eを底とする対数 |(log 2.718282) |1.0 |
|~|(log (exp 1)) |0.9999999 |
!文字列の数値への変換
[[文字列<->数値やsplit - 睡眠不足?! | http://d.hatena.ne.jp/sleepy_yoshi/20080215/p2]]
(read-from-string "256") @@color(green):; ふたつ目の返り値は数値以外の文字が始まるindex@@
=> 256, 3
(parse-integer "256")
=> 256
インクリメンタルサーチについては知らない
; 大文字小文字区別しない
(setq *case-fold-search* t)
; バッファの最後まで行っても、最初に戻らない
(setq *wrap-search* nil)
; 前回の検索で正規表現を使ったか
ed::*last-search-regexp-p*
; 前回の検索語
ed::*last-search-string*
; 前回の正規表現検索パターン
ed::*last-search-regexp*
; 特殊な記号の表示・非表示
| !関数名 | !引数 | !説明 |
|''toggle-tab'' |&optional (arg nil sv) |タブの表示・非表示を切り替える<br>(t, nil を引数で渡すことで、表示・非表示を明示的に指定することも可能) |
* [[xyzzy -- 設定画面 | http://www.netlaputa.ne.jp/~henmi/lisp/xyzzy/editor/971012d.html]]
''M-x: describe-function'' 関数の意味を知る
''M-x: describe-variable'' 変数の意味を知る
# ''site-lisp/siteinit.l'' に初期設定を書き込む。
# ''M-x: eval-buffer'' を実行し、siteinit.lの文法をチェックする。
# ''M-x: byte-compile-file'' で、''siteinit.l'' をバイトコンパイルする。(これによって、''siteinit.lc'' が作成される )
# ''siteinit.lc'' を再評価するために、''Shift + Ctrl'' を押しながらxyzzyを再起動する。
''Shift + Ctrl'' を押しながらxyzzyを再起動すると、ダンプファイル(xyzzy.w98,xyzzy.w2kなど)が削除される
* [[列関数 M.Hiroi's Home Page|http://www.geocities.jp/m_hiroi/xyzzy_lisp/abclisp06.html]]
! 関数の使い方
!! mapcar
''mapcar FUNCTION LIST &rest ~MORE-LISTS''
2個以上の引数(関数と1個以上のリスト、その関数の取る引数毎にリストが1個必要)を取り、その関数をそれぞれのリストの要素に先頭から適用していく。
{{{
(mapcar #'+ '(1 2 3 4) '(1 3 5) '(1 4 9 16) '(1 8 27))
=> (4 17 44)
}}}
!! remove-if
''remove-if PREDICATE SEQUENCE &key :from-end :start :end :count :key''
SEQUENCE の中で PREDICATE を満たすものを削除したシーケンスを返す。(副作用はない)
{{{
;; 10以下の値をリストから削除する
(remove-if #'(lambda (num) (<= num 10)) '(2 4 6 8 10 12 14))
=> (12 14)
; :start と :end でチェックする範囲を指定可能
(remove-if #'(lambda (num) (<= num 10)) '(2 4 6 8 10 12 14) :start 1 :end 3)
=> (2 8 10 12 14)
; from-end を t にすると、列の後ろから処理を行う らしい...
}}}
* [[関数リファレンス|http://xyzzy.s53.xrea.com/wiki/index.php?%A5%EA%A5%D5%A5%A1%A5%EC%A5%F3%A5%B9#download]] の [[アーカイブページ|http://xyzzy.s53.xrea.com/reference/archive/]]
- - - - - -
* [[xyzzy Lisp プログラミング|http://homepage2.nifty.com/coin/xyzzy_lisp_prog/index.html]]
* [[Lisp のパッケージ - *Trace Output*|http://d.hatena.ne.jp/miyamuko/20080225/package]]
* [[M.Hiroi's Home Page / defstruct | http://www.geocities.jp/m_hiroi/xyzzy_lisp/abclisp09.html ]]
* [[Common Lisp Tips > 連想リスト(association list) | http://www.hokkority.com/blog/common-lisp-tips/association-list.html ]]
* [[遠い海: lispとrubyとpythonと その5 例外処理(lisp) | http://faroffsea.blogspot.com/2008/12/lisprubypython5-lisp.html ]]
- - - - - - - - - - - - - - - - - - - - -
* [[xyzzy 初期化(siteinit.l)]]
* [[xyzzy ヘルプを使う]]
* [[xyzzyのマイナーモード]]
- - - - - - - - - - - - - - - - - - - - -
関数
<<tiddlerList tags:"xyzzy-Lisp,reference">>
- - - - - - - - - - - - - - - - - - - - -
サンプルコード
<<tiddlerList tags:"xyzzy-Lisp,sample-code">>
- - - - - - - - - - - - - - - - - - - - -
カスタマイズ
<<tiddlerList tags:"xyzzy-Lisp,setting">>
[Colors]
textColor=#bfffff
backColor=#400000
ctlColor=#808080
selectionTextColor=#fffffff
selectionBackColor=#ec56a31
kwdColor1=#cd
kwdColor2=#cd00cd
kwdColor3=#cd
stringColor=#f0f000
commentColor=#b100
tagColor=#4040
cursorColor=#800080
caretColor=#bfffff
imeCaretColor=#80
linenum=#bfffff
reverse=#2984e00
unselectedModeLineFg=#13000000
unselectedModeLineBg=#10d8e9ec
modeLineFg=#15ffffff
modeLineBg=#13000000
{{{
;; マイナーモードのOn・Offを管理するバッファローカルな変数を宣言
;; (つまり、マイナーモードのOn・Off状態は、バッファごとに管理する)
(defvar-local *sample-minor-mode* nil)
;; マイナーモード用のキーマップを保持する変数を宣言
;; (defvar で宣言された変数は、グローバルなスペシャル変数になる)
(defvar *sample-minor-mode-map* nil)
;; 宣言した変数にキーマップをセットする (これはメジャーモードと同じ)
;; この処理は、1回だけ実行される
(unless *sample-minor-mode-map*
(setq *sample-minor-mode-map* (make-sparse-keymap))
(define-key *sample-minor-mode-map* #\C-z 'undo)
(define-key *sample-minor-mode-map* #\C-a 'selection-whole-buffer)
; (define-key *sample-minor-mode-map* #\C-v 'paste-rectangle-from-clipboard))
(define-key *sample-minor-mode-map* #\C-v 'overwrite-rectangle-with-clipboard))
;; マイナーモードの切り替えを行う関数
;; (Onの時に)
(defun sample-minor-mode (&optional (arg nil sv))
(interactive "p")
(ed::toggle-mode '*sample-minor-mode* arg sv)
(update-mode-line t)
(if *sample-minor-mode*
(progn
(set-minor-mode-map *sample-minor-mode-map*)
(message "[minor-mode] Set My Winkey mode."))
(progn
(unset-minor-mode-map *sample-minor-mode-map*)
(message "[minor-mode] Unset My Winkey mode.")))
t)
;; マイナーモードを有効にした時の、モードライン表示の設定
;; (この例だと、"SampleMinor" という文字列が表示されるようになる)
(pushnew '(*sample-minor-mode* . "SampleMinor") *minor-mode-alist* :key #'car)
}}}
* [[関西の名銭湯|http://www.sairosha.com/meisento/sento.htm]]
* [[レストラン サン・ミケ-レ日記|http://katsuji.ko-co.jp/e23023.html]]
* [[Blue Lotus: Cooking|http://blue_moon.typepad.com/blue_lotus/cooking/index.html]]
* [[掛川花鳥園 - 動画ブログ|http://www.kamoltd.co.jp/movie/kakegawa/]]
. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。.
* [[阪東勲 "Poker face"|http://www.pokerface-photo.com/index.html]]
* [[七左衛門のメモ帳|http://memo7.sblo.jp/]]
知らなかった
* [[動画の適切な画面サイズとは? StudioEasy -動画制作工房- | http://studioeasy.blog115.fc2.com/blog-entry-126.html]]
----
* [[Nivo Slider - The Most Awesome jQuery Image Slider|http://nivo.dev7studios.com/]]
480px x 320px
6 x 4 (block)
33cm x 22cm (B4くらい) A3がよい?
;scene1
* 色のずれ
** 23
** 24
** 25
** 28
** 29
** 30
https://ifttt.com/join
http://satoshi.blogs.com/life/2011/10/pandora.html
http://chemeng.in.coocan.jp/ce/cepd.html
;美しすぎるムクドリの群れを科学する
* DVDがあるらしい
* [[Islands and Rivers | http://islandsandrivers.co.uk/shop.html]]
* どうも支払いが、PayPal みたい..
; 急ぎ
* クレジットカード
** プロバイダの引き落とし
* [[バランスツリー]]
* [[千葉県で人間ドックを受けよう-人間ドックまにあ|http://dock.hns.jp/chiba.html]]
* [[人間ドックの選び方 はじめての人間ドック体験記|http://medical-dock.com/select.html]]
* ぽつぽつ馬・犬・猫を...
* Tシャツ
* 色塗りを、ある程度方法化する必要あり
* 栞 + シール + 磁石
* クリスタルパック
* 作りかけのままの[[ホームページ|http://www.ssnsk.com/index.html]]
** 無地に
* 外貨定期
** sbi証券
* SmillaEnlarger
* [[NAVER Nドライブ - 無料5GBのストレージ。iPhone、オンライン、インターネット、web対応。|http://ndrive.naver.jp/]]
* [[スクリーンショットを撮ってすぐに加工「Greenshot」 - MOONGIFT オープンソース・ソフトウェア紹介を軸としたITエンジニア、Webデザイナー向けブログ|http://www.moongift.jp/2009/01/greenshot/]]
* BJERKNES FORCES
* [[粘度計/純水の粘度、動粘度および密度|http://www.as-1.co.jp/academy/24/24-2.html]]
. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。.
* <<slider tocSlider そのうち、しようかな そのうち、しようかな>> [[ Edit |そのうち、しようかな]]
* <<slider tocSlider だいたい終わり だいたい終わり>> [[ Edit |だいたい終わり]]
* <<slider tocSlider "だいたい終わり (-2009)" "だいたい終わり (-2009)">> [[ Edit |だいたい終わり (-2009)]]
* 高い盆栽を見てみる。
* 色んな椅子に座ってみる。
* 「株」って。
* ペーパークラフトの自動生成。
** 中の絵を交換可能にする (中と外を別部品に...)
* [[ぱらぱらマンガをブラウザで]] のバージョンアップ
* 紅葉と楓
* Google Map のマイマップがとてつもなく使いにくい
* [[calc-shell]]
* デジカメ写真を安くプリント
* 火山の景色
* 室内できれいに写真を撮る方法
** まずは明るさか...
*** ちょっとした白熱球程度では、全然明るさが足りない。
!2011/10/22
* [[秋季雅楽演奏会の申込要領 - 宮内庁 | http://www.kunaicho.go.jp/event/ensokai.html]]
** なかなか、おもしろかった
* マイレージ
** [[お選びいただいたJALカードの種類 | https://www.jalcard.co.jp/cgi-bin/cardlist2/cardlist.cgi?c=16,17&root=34VCAKI]]
!2011/08/27
* [[神田神保町の南洋堂書店で「東京の微地形模型」-建築物を剥がした東京を再現 | http://kanda.keizai.biz/headline/101/]]
** そんなに期待してなかったけど、予想以上によかった
!2011/03/21
* [[トマトスープ]] がおいしくできた気がする
!2011/02/09
* Google Notebook が開発終了
** 全て gmail に +memo で送った
** 内容を本文に貼り付けておいたので、検索可能
** [[EvernoteをやめてGmailへ: Shu's blog 雌伏編|http://rainy.seesaa.net/article/126639753.html]]
!2010/08/08
* [[地球の肌 |http://www.ssnsk.com/earthkin/index.html?animation=true]] に移動アニメーションをつけてみた
!2010/07/03
* [[地球の肌 |http://www.ssnsk.com/earthkin/index.html]]
** とりあえずこんなもんかな...
** RSSはもうちょっとだけいじる
** マウスホイールでの拡大縮小は、早めに入れておくべきだった
!2010/06/19
* [[喋るメッセージカード|http://www.ssnsk.com/picture/messageCard_10.html]]
** ちょっと人にあげるにはいいかもしれないけど...
** 個人的にはなんか物足りない
** まあ、普通ってことかな
!2010/01/23
* サイトの構成をいじった
* [[リゾット作ってみた]]
!2010/01/09
* ホームページ
** 上の絵
** 名前
!2009/12/09
* オンラインリポジトリ
** 割とよいかも
** [[Unfuddle|http://unfuddle.com/]]
** [[クラウドコンピューティングで遊ぼう: ネットでバージョン管理 No.1|http://www.spreadclouds.com/2009/09/no1.html]]
!2009/10/25
* [[ログ用モード]]
!2009/10/20
* コンソールアプリケーションに簡易GUIを追加
** manifest やら CRT やらのせいで、配布用バイナリ作成が面倒だった
!2009/10/04
* 鳥ひき肉 + きのこ + トマトピューレ + バター + バジル + 醤油 + 牛乳
** メモ作成
!2009/09/26
* 鳥ひき肉 + きのこ + トマトピューレ + バター
** バジル + 醤油
** にんにく + (鷹の爪) + 牛乳
** ありかも...
!2009/09/21
* 羊
** あんまり派手な色にすると、線に目がいかなくなる
** 線をある程度生かすなら、そこそこの明度・彩度で
!2009/09/12
* 落語
** 近くで見たい...
** 柳家小三治
*** もっと素な感じかと思ってたが、舞台上ではちゃんと噺家
!2009/08/16
* チョウチョの眼
** あれこれ展開させられるかも...
!2009/08/04
* イノシシ塗り
** 画面で見ていたときはいまいちかなと思ったが、はがきサイズで印刷したらわりとよかった
** 派手な色のものに対しても、ブラシはありかな...
** レイヤ効果との組み合わせ
!2009/08/02
* 牛の絵
** こんな感じで頼まれた
*** 2cm x 2cm
*** 名刺の右上
*** デフォルメしすぎないように
*** 紙の色は白
*** 印刷してみて調節
*** レイヤーに分ける
** 暗い色の塗り方をあれこれと...
** 赤・青・緑... 等で塗ったレイヤをうまく組み合わせて、暗い色を作る。
** ブラシの使い方
!2009/06/13
* [[牡丹三丁目|http://www.ssnsk.com/hoka/botan_03.html]]
** ボツにした方がよいかも...
!2009/06/10
* [[鶏ミンチとキノコのスパゲッティ|http://katsuji.ko-co.jp/e34217.html#more]]
** ミンチとキノコのソースは、パスタ以外でも使えそう
!2009/05/01
* かまきりの鎌
** 絵も写真もいまいちかなぁ...
!2009/04/26
* JAXB と HTML
** いちおうJAXBのサンプルになる
** 使い道は...
!2009/04/05
* 主に動物で、はがきを作ってみた。
!2009/03/21
* 仰向けで浮く
** 力を抜いて上を向けるようになったので、とりあえずよいかな。
** [[黒柳徹子|http://www.1101.com/kuroyanagi/2008-09-09.html]] のようにはいかない...
!2009/03/16
* ある程度絵をまとめた
** いがいと生き物の絵が多かった
!2009/03/15
* メニューの作成
** ちょっと力みがある...
!2009/02/15
* 名刺をとりあえず作ってみた
** サイズ 55mm×91mm
** 載せるべき情報が足りていない気もするが...
!2009/02/09
* [[VALUE DOMAIN|http://www.value-domain.com/xrea.php]] 借りた
** ホームページは[[ここ|http://ssnsk.s326.xrea.com/]]
** ログインは[[ここ|https://www.value-domain.com/login.php]]
!2009/01/04
* [[JavaScriptの言語仕様]]をながめた
!2008/12/29
* 年賀状
** もう少し効率のよい色塗りの方法を考える必要あり
!2008/12/16
* [[カメラのキタムラ フォトブック|http://www.kitamura.co.jp/print/photobook.html]]
** ちょっとした絵本なら作れそう
!2008/12/06
* [[パトカーのフォントはかわいい|http://www.ab.auone-net.jp/~for_test/hoka/patrolCar_01.html]]
** 写真は乗用車の方がよいので、そのうち撮り直したい
!2008/11/22
* 絵をビデオで撮ってみた
** 結構明るいところでないと無理
** 動かさずにとるのは、まあいける
** カメラを動かしながら、絵の一部を撮るのは難しい
*** アップになっているため、手ぶれの影響が大きい
*** 一定の速度でカメラを動かすのが難しい
!2008/11/08
* [[ぱらぱらマンガをブラウザで]] の [[暫定版|http://www.ssnsk.com/picture/cutoffAnime_04.html]]
!2008/10/05
* 横泳ぎ
** 簡単なやつはなんとなく泳げるようになった
** あおり足 (もうちょい調べる)
!2008/09/27
* 残暑見舞いの直し
** あんまり上手くいかなかった。
** 気をつける点・上手くいかなかった点は、ノートに書いた。
!2008/09/15
* ぱらぱらマンガを作ってみる
!2008/09/13
* Googleマップの[[マイマップ|http://maps.google.co.jp/maps/ms?hl=ja&ie=UTF8&msa=0&msid=108421779437446071199.000456a8a720718ed68a8&ll=36.554878,136.856689&spn=0.747931,1.036835&z=10]] (画像をつけるのが思ったより面倒だった)
; パソコン
* [[使える GUI デザイン|http://www.emptypage.jp/translations/benroe/gui.html]]
* [[第36回 手品とインタフェース WIRED VISION|http://wiredvision.jp/blog/masui/200910/200910141340.html]]
* [[デモではものができあがっているように見せない | http://www.aoky.net/articles/kathy_sierra/dont_make_the_d.htm ]]
* [[顧客の機能要求に折れないこと! | http://www.aoky.net/articles/kathy_sierra/dont_give_in_to.htm ]]
* [[Getting Real by 37signals|http://gettingreal.37signals.com/GR_jpn.php]]
* [[実はメイリオまだ進化中! 誕生秘話を河野氏に聞いた - @IT|http://www.atmarkit.co.jp/news/201001/07/meiryo.html]]
; 画像・動画
* [[地球上でもっとも地球に見えない島、ソコトラ島 |http://www.paropunte.net/archives/116362.html]]
* [[Legoストップモーションでゲーム界を表現|http://wiredvision.jp/news/200909/2009090719.html]]
* [[ニコン顕微鏡写真コンテスト入賞作品:ギャラリー(3/18) WIRED VISION|http://wiredvision.jp/gallery/201010/20101025113404.html]]
* [[美しすぎるムクドリの群れを科学する | http://wired.jp/2011/11/14/%e7%be%8e%e3%81%97%e3%81%99%e3%81%8e%e3%82%8b%e3%83%a0%e3%82%af%e3%83%89%e3%83%aa%e3%81%ae%e7%be%a4%e3%82%8c%e3%82%92%e7%a7%91%e5%ad%a6%e3%81%99%e3%82%8b/?utm_source=twitter&utm_medium=20111216]]
** [[Islands and Rivers | http://islandsandrivers.co.uk/shop.html]]
* [[TED]]
; ブログ
* [[農家の嫁の事件簿|http://kamatsuta.way-nifty.com/blog/]]
* [[山中俊治の「デザインの骨格」 » 図面なんかいらない | http://lleedd.com/blog/2010/08/20/no_drafting/]]
; シンプルなサイトデザイン
<<tiddler "シンプルなサイトデザイン">>
; ほか
*[[徹子の部屋辞典-黒柳徹子さんトークショー|http://www.h4.dion.ne.jp/~giten/]]
*[[徹子の部屋辞典(巻上公一・井筒和幸)|http://www.h2.dion.ne.jp/~kinki-bc/z14-z12-12.htm]]
* [[i-Radio: clammbon - 胡麻みそズイ|http://clammbon.i-radio.fm/]]
* [[柳家小三治一門会 特別企画「公開稽古」 - 茜の とぉんと来ました|http://d.hatena.ne.jp/turarayuki/20090614/1244990412]]
* [[間違いだらけの文章を読めてしまう脳の不思議! BusinessTrend.jp ビジネストレンド|http://www.businesstrend.jp/2009/05/10/105/]]
* [[とある昆虫研究者のメモ : マツモムシの中性浮力維持法|http://ghop.exblog.jp/3415346/]]
* [[Verior Interpretatio Naturae 地球潮汐現象―地面の干満とは?|http://www.cshe.nagoya-u.ac.jp/physdemo/%e5%9c%b0%e7%90%83%e6%bd%ae%e6%b1%90%e7%8f%be%e8%b1%a1/]]
* [[家具の博物館|http://kaguhaku.or.jp/]]
* [[直島銭湯|http://www.naoshimasento.jp/]]
* [[火星探査機スピリットの最後 - Radium Software|http://d.hatena.ne.jp/KZR/20100130/p1]]
* [[フィルムの形|http://www.mediajoy.com/mjc/movie_club/movie_film/p02.html]]
* [[サンプル|http://www.ab.auone-net.jp/~for_test/pc/cutoffAnime_04.html]]
** 「戻る」ボタンが使い物にならなくなる
*** location.replace(#xxx) は、IEだと履歴に残ってしまうため使えない。
*** scrollBy()か...
** 穴の位置を少しずらす必要がありそう
** 「再生の停止」が無い...
* スーツ
* ベルト
* ネクタイ
* 革靴
* お金 (包みは必要?)
* 航空券
* 服 (寒いのか?)
* おみやげ (ぱらぱらマンガのやつ)
スーツケースを送り返す方法
* [[Icon Search Engine Iconfinder | http://www.iconfinder.com/]]
; フリーアイコン
* [[Free Icons, Stock Icons, Icon Pot | http://www.iconpot.com/]]
** [[無料で自由に使えるライセンスのアイコンばかりを怒涛のごとく集めた『iconPot』 100SHIKI | http://www.100shiki.com/archives/2009/03/iconpot.html]]
* [[フリーで汎用的なアイコンセット : FindxFine -Web制作に関するメモ-|http://www.findxfine.com/graphic/sozai/1878.html]]
* [[50 (More) Excellent Mini Icon Sets | http://www.hongkiat.com/blog/mini-icon-sets/]]
* [[GoSquared – Blog – 165 Vector Icons, Now in 5 Colours | http://www.gosquared.com/liquidicity/archives/122]]
* [[45 Photoshop Tutorials for Better Navigation Vandelay Design Blog|http://vandelaydesign.com/blog/design/photoshop-navigation-tutorials/]]
* [[クリエイティブコモンズにおける著作権表示[to-R]|http://blog.webcreativepark.net/2007/12/03-154350.html]]
* [[アイコン - ponnao-clip | http://ponnao.com/?s=%E3%82%A2%E3%82%A4%E3%82%B3%E3%83%B3&pcview=true&img=link]]
; TDD
* [[僕がTDDをやめた理由 - カタチづくり | http://d.hatena.ne.jp/u_1roh/20090208/1234095960 ]]
* [[八角研究所 : TDD は新規性の高いサービス開発には適さない | http://www.hakkaku.net/articles/20080331-181 ]]
* [[満足せる豚。眠たげなポチ。:TDD は企画には使うなってことでいい? | http://blog.hacklife.net/archives/51508394.html ]]
* [[TddAntiPatterns - TDD のアンチパターン | http://www.hyuki.com/yukiwiki/wiki.cgi?TddAntiPatterns#i1 ]]
; BDD
* [[TDDはYAGNIに矛盾する? - カタチづくり | http://d.hatena.ne.jp/u_1roh/20090201/1233490739 ]]
** ~JDave
* [[XPで楽しい人生を | http://oss.timedia.co.jp/show/XP%e3%81%a7%e6%a5%bd%e3%81%97%e3%81%84%e4%ba%ba%e7%94%9f%e3%82%92 ]]
* [[リレーショナル・データベースの世界 | http://www.geocities.jp/mickindex/database/idx_database.html ]]
* [[「組み込みコラム」インデックス - @IT MONOist | http://monoist.atmarkit.co.jp/fembedded/index/column_index.html ]]
* [[DDDについて、だらだらと - みねこあ | http://d.hatena.ne.jp/minekoa/20091031/1256994075 ]]
* [[[ 技術講座 ] Domain-Driven Designのエッセンス 第1回 | http://www.ogis-ri.co.jp/otc/hiroba/technical/DDDEssence/chap1.html ]]
* [[よいコメントの書き方入門(心構え編) - 新・日々録 by TRASH BOX@Eel | http://d.hatena.ne.jp/eel3/20090811/1249977594 ]]
* [[農家の嫁の事件簿 +(ぷらす) | http://kamatsuta2.exblog.jp/]]
* [[ラフォーレ原宿 | http://www.laforet.ne.jp/]]
* [[WIRED VISION - “アカルイ”未来を考えるニュースサイト | http://wiredvision.jp/]]
* [[交通のご案内茶屋日本最初毘沙門天 神峯山寺 - 大阪府高槻市の天台宗仏教寺院- | http://www.kabusan.or.jp/chaya/access.php]]
;企業サイト風
* [[株式会社IHI | http://www.ihi.co.jp/]]
* [[東京メトロ | http://www.tokyometro.jp/index.html]]
* [[羊羹(ようかん) 総本家 駿河屋 | http://www.souhonke-surugaya.co.jp/]]
* [[ヤクルト本社 | http://www.yakult.co.jp/]]
* [[黒酢はヤマシゲの福山酢 伝統の酢造り 福山酢醸造 株式会社 | http://fukuyamasu.co.jp/]]
;ショッピングサイト
* [[All About COCOMO ココロのこもった贈り物。 | http://ccm.stylestore.allabout.co.jp/mojo?language=ja]]
* [[北欧家具・雑貨のインテリア通販ショップ - morphica | http://www.morphica.jp/]]
* [[無印良品ネットストア | http://www.muji.net/store/]]
* [[ファストフードメニュー MINISTOP | http://www.ministop.co.jp/menu2/]]
* [[Decoration Quatuor: Magasin de meubles contemporain, design et décoration | http://www.quatuor.be/fr-wr/categorie.decoration/]]
* [[SELECSONIC サンエー・インターナショナルグループショッピングサイト | http://www.selecsonic.com/selecsonic/top/index.jsp]]
* [[Photoshop Vip » ショッピングサイトデザインに関する15個の間違い | http://photoshopvip.net/archives/8429]]
;小さめな団体・お店
* [[はつかいちご 広島県廿日市の温暖な気候で育った平良いちごのスペシャルスイーツ | http://www.hatsukaichigo.jp/]]
* [[B.cafe - モルドバワイン専門店 | http://www.binc.co.jp/bcafe/index.html]]
* [[テーラー・ラト LATOについて | http://www.tailor-lato.com/ja/lato/]]
* [[紀州ほそ川 | http://kishu-u.me/]]
* [[恵比寿ガーデンプレイス | http://gardenplace.jp/]]
* [[Web制作テクニック Webクリエイターボックス | http://www.webcreatorbox.com/category/tech/]]
* [[レンタルサーバー「heteml」 - 大容量・高機能のレンタルサーバー | http://heteml.jp/]]
* [[cafe andonand(カフェ アンドナンド) | http://www.andonand.jp/index.html]]
; レストランの参考にしたもの
* http://www.kiyasuya.jp/
* http://www.nhk.or.jp/jbungaku/
* [[大治将典 - Oji Masanori / Oji & Design | http://www.o-ji.jp/]]
* [[魅力的なスライドショーを使ったウェブサイトデザイン具体例30個まとめ - WEBデザインチュートリアル | http://www.buguxs.com/a/1301.html]]
; コンテナのレイアウト
* [[TasteSpotting a community driven visual potluck | http://www.tastespotting.com/]]
* [[DRAFT | http://www.draft.jp/]]
* [[プロジェクト管理ツール「Basecamp」の使い方 webのネタをアグリゲータしてみました... | http://aggregator.awazo.com/web/2011/03/08/%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E7%AE%A1%E7%90%86%E3%83%84%E3%83%BC%E3%83%AB%E3%80%8Cbasecamp%E3%80%8D%E3%81%AE%E4%BD%BF%E3%81%84%E6%96%B9/]]
;妙にプッシュされた
* [[伊賀の里モクモク手づくりファーム | http://www.moku-moku.com/]]
* [[Oisix 有機野菜などの食材宅配 ナチュラル&オーガニック・ネットスーパー | http://www.oisix.com/topPageG5.htm?SESSIONISNEW=TRUEID&mi2=7749]]
* [[生協の食材宅配なら【生活クラブ】安心できる食材の宅配は生協 | http://www.seikatsuclub.coop/]]
; 既存ページ
* [[レストラン | http://www7.ocn.ne.jp/~nouyusha/]]
* [[農悠舎王隠堂(自家栽培 無添加 手作りをモットーとして栽培、製造に励んでいます!) | http://www.nouyusha.com/]]
* [[農悠舎王隠堂 古民家農園館 ここきち —全国の食材と農家レストランを紹介— | http://www.cocokichi.jp/restaurant/nara3014.html]]
* [[農悠舎王隠堂 紀伊半島で手塩にかけてつくった | http://nouyusha.seesaa.net/]]
* [[農家レストラン/農悠舎王隠堂 古民家レストラン | http://www.pref.nara.jp/miryoku/nouka/nouka-restaurant/ouindo.html]]
;あんまり関係なかった
* [[i-Radio: clammbon - 胡麻みそズイ | http://clammbon.i-radio.fm/]]
* [[The White House | http://www.whitehouse.gov/]]
* [[特別寄稿『がんばろう、ニッポン! 僕らはひとりじゃない!』 - サッカーキング|世界のサッカー情報サイト | http://www.soccer-king.jp/blog_item/id=1159]]
* [[free stitch FIT AND SHOOT|http://www.freestitch.jp/match/]]
* [[表参道ヒルズOmotesando Hills | http://www.omotesandohills.com/index.php]]
* [[Catalog(カタログ)|JILL by JILLSTUART [ジルバイジルスチュアート] | http://www.jillbyjillstuart.jp/catalog/index.html]]
* http://www.kotsu.metro.tokyo.jp/bus/shitamachi/japanese/index.html
* [[London Web Designer / Web Developer - Peter Pearson | http://www.peter-pearson.com/]]
----
; すごく基本的なこと
* [[画像の角を丸くする (for Photoshop) | http://cinnamoncafe.jugem.cc/?eid=61]]
* [[オブジェクトの縁取り イラストレーターの使い方 | http://ameblo.jp/haro2015/entry-10180091964.html]]
** フォトショのレイヤー効果でもよいけど
* [[覚えておくと便利なバランスのよい縦横比とバナーサイズ :: Love & Design :: | http://sweetlovexx.seesaa.net/article/94420713.html]]
* [[地図用鉄道ラインを描く | http://roundsquaretriangle.web.fc2.com/tips/illustrator/train_line/index.html]]
;フッターについて
* [[コリス | http://coliss.com/]]
* [[Ad server solution for publishers, advertisers & networks OpenX | http://www.openx.org/]]
* [[良い相互リンクと悪い相互リンク、良いフッターリンクと悪いフッターリンク 海外SEO情報ブログ|http://www.suzukikenichi.com/blog/differences-between-good-crosslinking-and-bad-crosslinking-and-good-footerlinks-and-bad-footerlinks/]]
* [[名古屋グランパス公式サイト | http://nagoya-grampus.jp/]]
* [[フッターサイトマップのデザイン at bookslope blog | http://www.bookslope.jp/blog/2009/04/footersitemap.html]]
; ミニブログ
* [[Twitter | http://twitter.com/]]
* [[(7) はてなハイク - お絵かきも楽しめるミニブログ | http://h.hatena.ne.jp/]]
* [[Zapd: アヒルちゃんザップザップ! | http://1st.zapd.co/]]
; フリーアイコン
* [[無料で自由に使えるライセンスのアイコンばかりを怒涛のごとく集めた『iconPot』 100SHIKI | http://www.100shiki.com/archives/2009/03/iconpot.html]]
* [[フリーで汎用的なアイコンセット : FindxFine -Web制作に関するメモ-|http://www.findxfine.com/graphic/sozai/1878.html]]
* [[シンプル、ミニマルなサイトを作りたい時に役立ちそうなアイコンやフォント、ギャラリーなどのまとめ - かちびと.net|http://kachibito.net/web-design/minimal-site-resource.html]]
* [[50 (More) Excellent Mini Icon Sets | http://www.hongkiat.com/blog/mini-icon-sets/]]
* [[45 Photoshop Tutorials for Better Navigation Vandelay Design Blog|http://vandelaydesign.com/blog/design/photoshop-navigation-tutorials/]]
* [[クリエイティブコモンズにおける著作権表示[to-R]|http://blog.webcreativepark.net/2007/12/03-154350.html]]
;favicon
* [[Ganglia|http://blog.ps-ax.info/tag/ganglia/]]
; アクセス
* [[地図のブブンデザイン|Webデザインの“ブブン”を集めたブブンデザインアーカイブ 公式サイト|http://bubundesignarchive.jp/2011/01/map4004.html]]
* [[とにかくわかりやすいマップ普及推進委員会/安心の地図作成代行サービス | http://www.wakariyasui-map.com/]]
; Google Maps API v3
* [[Google Maps Javascript API V3 Examples - Google Maps JavaScript API V3 - Google Code | http://code.google.com/intl/ja/apis/maps/documentation/javascript/examples/index.html]]
* [[ユーザーがページのどこをクリックしたか解析するツール[to-R]|http://blog.webcreativepark.net/2007/08/20-223606.html]]
* [[WordPressサイトのバックアップ - 俺のメモ|http://d.hatena.ne.jp/latexcatsuit/20110502/1304283553]]
** WP sakura でバックアップ
* [[About jQuery.TinySlider - jQuery.TinySlider|http://wex.im/]]
* [[白銀比・黄金比 WEBデザインの小技 | http://viskowaza.web.fc2.com/layout/ratio/divide/index.html]]
* [[秋元 » 日本向けのウェブデザインというのはあるのか? | http://akimoto.jp/blog/2011/01/27/how-to-localize-website-for-japan/]]
* [[ゴールドプラン / Gold Plan ホームページ制作会社 ウェブバーガーデザイン ハワイ - Web-burger.com|http://www.web-burger.com/jp/C-PlanGold.htm]]
* http://www.bbc.co.uk/news/world-asia-pacific-13017282
----
; プロジェクト管理
* [[Basecampを使う理由(2) system-enablers日記|http://www.system-sekkei.com/yamauchi/?p=363]]
* [[BasecampライクなRails製プロジェクト管理「Teambox」 - MOONGIFT|オープンソース・ソフトウェア紹介を軸としたITエンジニア、Webデザイナー向けブログ|http://www.moongift.jp/r/2009/07/teambox/]]
* [[プロジェクト管理ツール「Basecamp」の使い方 Webクリエイターボックス | http://www.webcreatorbox.com/webinfo/how-to-use-basecamp/]]
----
; 写真の処理
{{{
トップの写真
選択範囲 -> 選択範囲を変更 -> 滑らかに (4px)
コンテナ
選択範囲 -> 選択範囲を変更 -> 滑らかに (6px)
コンテナ内の写真
選択範囲 -> 選択範囲を変更 -> 滑らかに (3px)
レストラン
選択範囲 -> 境界をぼかす (3px)
角の1pxだけ消しゴムで消す
}}}
* [[Unfuddle |http://unfuddle.com/]]
** * [[クラウドコンピューティングで遊ぼう: ネットでバージョン管理 No.1|http://www.spreadclouds.com/2009/09/no1.html]]
* [[Mercurial hosting — bitbucket.org | http://bitbucket.org/ ]]
* [[Accelerate your team with online workspaces | Home | Assembla|http://www.assembla.com/?affiliate=phize]]
よく分からないがこんな感じでいけるらしい
{{{
setlocal
For /F "delims=" %%a In ( 'cd' ) Do set CURRDIR=%%a
echo %CURRDIR%
endlocal
}}}
[[バッチファイルで逆クオート展開? - oogattaの勉強日記|http://d.hatena.ne.jp/oogatta/20060915/1158297862]]
* ファイル名を除き、どのコマンドラインデータもフラグのあとに指定する
* 特にプログラムにさまざまな目的でファイルを指定できる場合には、ファイル名ごとのフラグも提供する
* 3文字までの短い形式のフラグには、ハイフン1つのプレフィックスを使用する
* 長い形式のフラグには、ハイフン2つのプレフィックスを使用する
* フラグに値を指定する場合には、フラグと値の間にオプションとして '=' を使用できるようにする
** $ command -i=sample_data -op=normalize
* 1文字オプションはハイフンのあとに「まとめて」指定できるようにする
** $ command -i -v -l を $ command -ivl みたいに
* 1文字のフラグのフラグすべてに複数文字のフラグを用意する
* 常にハイフンを特殊なファイル名として使用できるようにする
** $ cat - みたいなこと
* 特に二重ハイフンをファイルリストマーカーとして使用できるようにする
* メタオプションを標準化する
{{{
--usage
プログラムの使用法を簡潔に表示
--help
--version
--man
プログラムの完全なドキュメントを表示する
}}}
「Perl ベストプラクティス」 より
; プログラミング言語
<<tiddlerList tags:"プログラミング言語" order:"modified">>
; マークアップ言語
<<tiddlerList tags:"マークアップ言語" order:"modified">>
; DSL
<<tiddlerList tags:"DSL" order:"modified">>
<<list filter [tag[サイトデザイン]]>>
* [[ウェブデザインのユーザーインターフェースに使えるサイトまとめ DesignWalker|http://www.designwalker.com/2009/08/user-interface.html]]
* [[Showcase Konigi|http://konigi.com/showcase/latest?page=1]]
* [[印象に残る写真を撮るための10のポイント コリス|http://coliss.com/articles/build-websites/operation/design/1514.html]]
* [[シンプル、ミニマルなサイトを作りたい時に役立ちそうなアイコンやフォント、ギャラリーなどのまとめ - かちびと.net|http://kachibito.net/web-design/minimal-site-resource.html]]
* [[Photoshop で背景透過の美しい favicon (ファビコン) を作成する | http://2xup.org/log/2006/04/28-2323]]
* [[BEAMプロジェクト DTPノート レイアウト | http://www13.plala.or.jp/TeruNet/dtp03.html]]
* <<slider tocSlider "サイトデザイン (ライブラリやプラグイン)" "サイトデザイン (ライブラリやプラグイン)">>
----
;レイアウト
* [[Fotolog - Share photos. Make friends. It's easy!|http://www.fotolog.com/]]
* [[Cire Trudon : cires et bougies depuis 1643|http://www.ciretrudon.com/en/index.html]]
* [[東西新風堂|http://www.shinpudo.com/]]
* [[:: EMOTIONS by Mike :: freelance portfolio|http://www.emotionslive.co.uk/index.html]]
* [[Jumpei-kawamura.com|http://jumpei-kawamura.com/]]
;画像処理
* [[画像の角を丸くする (for Photoshop) | http://cinnamoncafe.jugem.cc/?eid=61]]
* [[覚えておくと便利なバランスのよい縦横比とバナーサイズ | http://sweetlovexx.seesaa.net/article/94420713.html]]
;フォント
* [[Hints of fonts on the web -- Introduction|http://www.tg.rim.or.jp/~hexane/ach/hfw/]]
; 角丸 ・ ドロップシャドウ
* [[IE6/7/8のブラウザでも角丸やドロップシャドウが使えるCSS3 T's blog|http://www.ts-design-lab.jp/blog/wordpress/?p=57]]
* [[[JS]さまざまなエフェクトを持つ角丸を実装できるスクリプト -ShadedBorder | コリス|http://coliss.com/articles/build-websites/operation/javascript/548.html]]
<<list filter [tag[サーバサイド]]>>
* [[スリランカ家庭料理レストラン すらさ|http://www16.plala.or.jp/sesathe/]]
* [[ハンバーガー/Rバーガー|http://www.r-burger.co.jp/]]
* [[秋葉原カレー専門店ベンガル | http://www.bengal-curry.com/]]
* [[スカイスキャナーによる 東京 から ソコトラ島 への格安フライト | http://www.skyscanner.jp/flights/tyoa/sct/december-2011/january-2012/cheapest-flights-per-day-from-tokyo-to-socotra-in-december-2011-and-january-2012.html]]
* [[ソコトラ島 行く人、この指と~まれっ! サナアDAY|世界のどこかで何か叫ぶ・・・ かもしれない。 | http://ameblo.jp/ok-be/entry-10592780403.html]]
* [[イーツアー 海外格安航空券 - コース一覧 | http://www.etour.co.jp/neo/discount_list.php]]
<<list filter [tag[ソフトの設計]]>>
* [[意外と知らないバージョン表記・数字の豆知識 - @IT|http://www.atmarkit.co.jp/fjava/column/andoh/andoh51.html]]
<<list filter [tag[ソフト開発]]>>
; タクシー
* 15% くらい
*
; レストラン
* 15% くらい
!調べる
<<tiddler "調べる">>
!出かける
<<tiddler "出かける">>
! オンラインリポジトリ
<<tiddler "オンラインリポジトリ">>
!その他
* [[Another HTML-lint gateway|http://htmllint.itc.keio.ac.jp/htmllint/htmllint.html]]
* [[複数のブラウザ環境でのレイアウト | http://browsershots.org/]]
. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。.
* [[REGex TESTER v1.5.3 | http://www.regextester.com/]]
;線形性
* 線型写像
** ''加法性'' と ''斉次性''
** つまり、 ''f(αx + βy) = αf(x) + βf(y)''
* 双線形写像
** ''f(x + y, z) = f(x, z) + f(y, z)'' (ベクトルの内積でいえば、分配法則?)
** ''f(x, y + z) = f(x, y) + f(x, z)''
** ''f(cx, y) = f(x, cy) = cf(x, y)''
* 多重線形写像
** 線形性を、さらに多変数関数にまで拡張したもの
* 座標変換
; テンソルの記号
* [[基底の座標変換 [物理のかぎしっぽ]|http://hooktail.sub.jp/vectoranalysis/BaseTransform/]]
* 縮約
; 本
*[[テンソル解析 (基礎数学選書 23): 田代 嘉宏|http://www.amazon.co.jp/%E3%83%86%E3%83%B3%E3%82%BD%E3%83%AB%E8%A7%A3%E6%9E%90-%E5%9F%BA%E7%A4%8E%E6%95%B0%E5%AD%A6%E9%81%B8%E6%9B%B8-23-%E7%94%B0%E4%BB%A3-%E5%98%89%E5%AE%8F/dp/4785311258]]
** これがよさげ
*[[テンソル―科学技術のために: 石原 繁|http://www.amazon.co.jp/%E3%83%86%E3%83%B3%E3%82%BD%E3%83%AB%E2%80%95%E7%A7%91%E5%AD%A6%E6%8A%80%E8%A1%93%E3%81%AE%E3%81%9F%E3%82%81%E3%81%AB-%E7%9F%B3%E5%8E%9F-%E7%B9%81/dp/4785310685/ref=pd_sim_b_1]]
*[[物理とテンソル (物理数学One Point): 中村 純|http://www.amazon.co.jp/%E7%89%A9%E7%90%86%E3%81%A8%E3%83%86%E3%83%B3%E3%82%BD%E3%83%AB-%E7%89%A9%E7%90%86%E6%95%B0%E5%AD%A6One-Point-%E4%B8%AD%E6%9D%91-%E7%B4%94/dp/4320033035/ref=pd_sim_b_2]]
* [[Decorator - Strategic Choice | http://d.hatena.ne.jp/asakichy/20090311/1236760103 ]]
* [[デジカメプリント 50%ポイント還元の店 DPONE.NET ■|http://www.dpone.net/]]
* [[おぎさくネットプリント|http://www.ogisaku.com/html/netprint/index.htm]]
* [[デジカメプリント、結局どこがいいの? - くろんの風|http://d.hatena.ne.jp/klon/20071114/1195062956]]
* [[お勧め業者ランキング - デジカメプリント比較|http://www.dpe-navi.net/rank+index.htm]]
久しぶりに作ったら割とおいしくできたような気がするけど、
どうなのだろうか...
たまねぎ
にんじん
ピーマン
しめじ
豚バラ (当たり前な気がするが、牛切り落としの方がおいしかった)
ホールトマト
牛乳
バター
バジル 瓶の
コンソメのもと
----
# たまねぎをやや少なめのサラダオイルで炒める
# 辛い煙が出なくなったら、バターをひとかけ(3~4g?)加える
#ほっといてもこげない程度の弱火にして、5分ほど放置
#その間に、にんじんを乱切り
#きり終えたにんじんを、たまねぎの中に入れて、かき混ぜる
# そのまま5分ほど放置
#その間に、ピーマンを切る
# バターをひとかけ(3~4g?)加えて、混ぜる
# よく混ぜてから、ピーマンを加え、さらに混ぜる
# そのまま5分ほど放置
#鍋にオリーブオイル引き、軽く塩コショウした肉を炒める
#表面の色が大体変わったところで少なめの水をいれ、強火にする
#軽く沸騰するのを待つ (その間に、軽く灰汁取り)
#炒めた野菜とシメジを放り込む
#灰汁取り
#こしょうとバターとコンソメのもとを加える
#肉の臭いが気になるなら、バジル(瓶)と牛乳を加える
#弱火で10分ほど放置
#必要ならば、こしょうとバターとコンソメのもと
#ホールトマトを入れる
#野菜に(特ににんじん)火が通るまで、弱火
#味を整える塩・コショウ
* ''運動量の変化(全微分)'' = ''力積''
** 運動量の変化(全微分) = 運動量の時間微分 + 移流項
** 力積 = 圧力項 + 粘性項 + 外力
* ''運動量の時間微分 + 移流項 = 圧力項 + 粘性項 + 外力''
** 圧力項と粘性項は、内力(面積力)
** 粘性項は拡散項ともいう?
** 移流項には、オイラーとラグランジェの話がからむっぽい
** ラグランジェ
*** 座標(位置)が時間の従属関数になる
----
* [[これで解決!大学数学 - ナビエ・ストークスの方程式|http://www.isigas.com/Navier-Stokes.html]]
>書き込みや削除を繰り返して深さに差の出た探索二分木をバランス化する手続きを作りたい
う~む。普通は「削除を終えた直後」「挿入を終えた直後」に「バランス化を行う」のですが。
因みに「更新(書き込み)」は「更新前データを削除して、更新データを挿入する」と言う手続きで可能です。
[[探索二分木をバランス化する。 - その他(プログラミング) - 教えて!goo|http://oshiete.goo.ne.jp/qa/3731244.html]]
;これなら読めるかも
[[Balanced Binary Tree - CodeGuru|http://www.codeguru.com/cpp/cpp/algorithms/article.php/c5129]]
[[computer programming II|http://lecture.ecc.u-tokyo.ac.jp/%7Eyamaguch/pub/cp2-10/what-is-search-avl.html]]
[[AVL Tree in C - source code|http://cprogramminglanguage.net/avl-tree.aspx]]
[[Algorithms with Python / AVL 木|http://www.geocities.jp/m_hiroi/light/pyalgo13.html#update]]
[[meh/klib - GitHub|https://github.com/meh/klib]]
; data
* key
* value
* compareTo()
;avltree
* getelem()
* search()
* insert()
* key
* value
* left
* right
* balance {LEFT, RIGHT, EVEN}
!Windowsでシェル
<<tiddler "Windowsでシェル">>
!ソースコード
* [[Blue Step Counter|http://bluecard.no-ip.com/freeware/bluestepcounter/]] ステップ数を調べる
* [[WinMerge 日本語版|http://www.geocities.co.jp/SiliconValley-SanJose/8165/winmerge.html]] テキスト比較 (マージ処理も可能)
* [[DF|http://www.vector.co.jp/soft/win95/util/se113286.html]] テキスト比較
* [[文字コード変換ツール「KanjiTranslator」|http://www.kashim.com/kanjitranslator/]]
** 文字コードをまとめて変換
* [[StepCounter - Project Amateras | http://amateras.sourceforge.jp/cgi-bin/fswiki/wiki.cgi?page=StepCounter ]]
** Lua のコードも数えられる
** - -[ [ - -]] 形式のコメントは未サポート
! Firefoxアドオン
<<tiddler "Firefoxアドオン">>
! Thunderbirdアドオン
<<tiddler "Thunderbirdアドオン">>
!テスト
* [[IETester |http://www.my-debugbar.com/wiki/IETester/HomePage]] いろんなバージョンのIEを同時にチェックできる
* [[soapUI | http://www.soapui.org/]]
* [[Website Explorer | http://www.umechando.com/webex/]] サイトのリンク切れをチェック
! 画像編集
* [[PictBear SE|http://sleipnir.pos.to/]] 画像編集ソフト (ベジェ以外はだいたいいけそう)
*[[ゆなカラーピッカー|http://www.uryusoft.com/software/YunaColor/]]
* [[Photoshopのプラグインとか|http://www.pentacom.jp/pentacom/products.html]] 画像の角を丸くするプラグインがある
* [[The Portable Freeware Collection - FastStone Capture | http://www.portablefreeware.com/?id=775]] スクリーンキャプチャ
** 説明 [[パソコンの操作マニュアル作成に!「FastStone Capture」 | http://plus.lunarscape.net/blog/2009/03/faststone_capture.html]]
! 動画編集ソフト
<<tiddler "動画編集ソフト">>
!ほか
* [[WinTree|http://www.hs-jp.com/aska/wintree/]] TREEコマンドの豪華なやつ
* [[DVD-RAMのフォーマッタ |http://www.csd.toshiba.com/cgi-bin/tais/support/jsp/download.jsp?soid=1134400#]]
* [[タイプ数カウンター|http://www.vector.co.jp/soft/win95/util/se399353.html]]
* [[BurnAware Free | http://www.burnaware.com/burnaware_free.html]] CDのライティングソフト
* [[Wireshark |http://sourceforge.jp/projects/wireshark/releases/]]
* [[Resource Hacker|http://angusj.com/resourcehacker/]] EXEに埋め込まれたリソースがみれる
** manifest をチェック
* [[Dependency Walker (depends.exe) |http://www.dependencywalker.com/]] EXE が必要とするDLLのチェック
* [[BunBackup|http://homepage3.nifty.com/nagatsuki/bunbackup/bunbackup.htm]]
** バックアップソフト
* [[換算君|http://www.vector.co.jp/soft/win95/business/se326048.html]]
** 単位変換
* [[CLCL|http://www.nakka.com/soft/clcl/]]
** クリップボードの複数履歴
; 無償で商用利用できるフォント
* [[出島フォント|http://code.google.com/p/dejima-fonts/]]
** 一つこういう字体が入っていてもよいかな。という感じ。
* [[Axisフォント (試用版)|http://www.typeproject.com/trial/]]
** 使える文字に制限あり
* [[青柳衡山 無料フォント集 | http://musashi.or.tv/aoyagikouzanfont.htm]]
** 未使用
* [[和田研細丸ゴシック Wiki - SourceForge.JP | http://sourceforge.jp/projects/jis2004/wiki/FrontPage]]
* [[ロールズプロジェクト | http://makufont.dip.jp/]]
** 難しい漢字 (麒麟とか,,,) は、入ってない
** 多分、、商用利用可
----
* [[freefont | http://wiki.fdiary.net/font/?freefont]]
* [[無償で商用利用できて品質の高い日本語フォント一覧 - Liner Note|http://note.openvista.jp/2007/japanese-fonts-for-free-commercial-use/]]
* [[無料で使える日本語フォント11選 DesignWalker|http://www.designwalker.com/2007/03/jp-font.html]]
* [[| ドケチなのに良質な無料漢字フォントを探している人向けフォント大全集 |http://www.yukawanet.com/archives/1520240.html]]
* [[WebFonts として利用できるフリーの和文フォント | ヨモツネット | http://www.yomotsu.net/wp/?p=565]]
; 好きに使ってよさげ
* [[ソザイヂテン|http://www.sozaijiten-business.rash.jp/index.html]]
* [[持田製薬 メディカルイラスト|http://www.mochida.co.jp/dis/material/illust/index.html]]
* [[無料素材 WEB素材-Memory|http://ao777.blog64.fc2.com/]]
* [[クリップアートファクトリー |http://www.printout.jp/clipart/]]
; 使うのはまずそう
* [[GANREF (写真検索) |http://ganref.jp/photo_searches]]
* [[羊の壁紙(羊の写真)|http://www5e.biglobe.ne.jp/~shops/photo/hitsuji/kabegami.html]]
* [[クリップアートファクトリー 全部無料で使えるテンプレート&素材集のダウンロードサイト | http://www.printout.jp/clipart/ ]]
;未確認
* [[プログラミング作法: ブライアン カーニハン, ロブ パイク, Brian Kernighan, Rob Pike, 福崎 俊博| http://www.amazon.co.jp/%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E4%BD%9C%E6%B3%95-%E3%83%96%E3%83%A9%E3%82%A4%E3%82%A2%E3%83%B3-%E3%82%AB%E3%83%BC%E3%83%8B%E3%83%8F%E3%83%B3/dp/4756136494/ref=sr_1_1?ie=UTF8&s=books&qid=1264565160&sr=8-1 ]]
* [[計算機プログラムの構造と解釈 |http://www.amazon.co.jp/exec/obidos/ASIN/489471163X/higepon-22/ref=nosim/]]
* [[Linuxのブートプロセスをみる (UNIXMAGAZINE COLLECTION): 白崎 博生|http://www.amazon.co.jp/Linux%E3%81%AE%E3%83%96%E3%83%BC%E3%83%88%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9%E3%82%92%E3%81%BF%E3%82%8B-UNIXMAGAZINE-COLLECTION-%E7%99%BD%E5%B4%8E-%E5%8D%9A%E7%94%9F/dp/4756144519/ref=sr_1_3?ie=UTF8&s=books&qid=1234281630&sr=8-3]]
* [[Java RMI: ウィリアム グロッソ, William Grosso, 田和 勝|http://www.amazon.co.jp/Java-RMI-%E3%82%A6%E3%82%A3%E3%83%AA%E3%82%A2%E3%83%A0-%E3%82%B0%E3%83%AD%E3%83%83%E3%82%BD/dp/4873110866/ref=sr_1_1?ie=UTF8&s=books&qid=1243388453&sr=8-1]]
** RMI がどう実装されているかの説明が載ってるかを、そのうち確認
;よかった
* [[make 改訂版: Andrew Oram, Steve Talbott, 矢吹 道郎, 菊池 彰|http://www.amazon.co.jp/make-%E6%94%B9%E8%A8%82%E7%89%88-Andrew-Oram/dp/4900900605/ref=sr_1_8?ie=UTF8&s=books&qid=1282316819&sr=8-8]]
* [[Perlベストプラクティス: Damian Conway, クイープ | http://www.amazon.co.jp/Perl%E3%83%99%E3%82%B9%E3%83%88%E3%83%97%E3%83%A9%E3%82%AF%E3%83%86%E3%82%A3%E3%82%B9-Damian-Conway/dp/4873113008/ref=sr_1_1?ie=UTF8&s=books&qid=1263274614&sr=8-1 ]]
** Perl以外のコーディングルールを作る場合にも役に立つ
** インサイドアウトオブジェクト
* [[センス・オブ・プログラミング! 抽象的に考えること・データ構造を理解すること: 前橋 和弥|http://www.amazon.co.jp/%E3%82%BB%E3%83%B3%E3%82%B9%E3%83%BB%E3%82%AA%E3%83%96%E3%83%BB%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0-%E6%8A%BD%E8%B1%A1%E7%9A%84%E3%81%AB%E8%80%83%E3%81%88%E3%82%8B%E3%81%93%E3%81%A8%E3%83%BB%E3%83%87%E3%83%BC%E3%82%BF%E6%A7%8B%E9%80%A0%E3%82%92%E7%90%86%E8%A7%A3%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8-%E5%89%8D%E6%A9%8B-%E5%92%8C%E5%BC%A5/dp/4774121738/ref=sr_1_3?s=books&ie=UTF8&qid=1282317102&sr=1-3]]
;ふつう
* [[JavaScript 第5版: David Flanagan, 村上 列|http://www.amazon.co.jp/JavaScript-%E7%AC%AC5%E7%89%88-David-Flanagan/dp/4873113296/ref=sr_1_1?ie=UTF8&s=books&qid=1230092168&sr=8-1]]
* [[Subversion実践入門:達人プログラマに学ぶバージョン管理(第2版): Mike Mason, でびあんぐる|http://www.amazon.co.jp/Subversion%E5%AE%9F%E8%B7%B5%E5%85%A5%E9%96%80-%E9%81%94%E4%BA%BA%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9E%E3%81%AB%E5%AD%A6%E3%81%B6%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3%E7%AE%A1%E7%90%86-%E7%AC%AC2%E7%89%88-Mike-Mason/dp/4274066800/ref=sr_1_1?ie=UTF8&s=books&qid=1282317486&sr=8-1]]
* [[組込み開発者におくるMISRA‐C:2004―C言語利用の高信頼化ガイド: MISRA‐C研究会|http://www.amazon.co.jp/%E7%B5%84%E8%BE%BC%E3%81%BF%E9%96%8B%E7%99%BA%E8%80%85%E3%81%AB%E3%81%8A%E3%81%8F%E3%82%8BMISRA%E2%80%90C-2004%E2%80%95C%E8%A8%80%E8%AA%9E%E5%88%A9%E7%94%A8%E3%81%AE%E9%AB%98%E4%BF%A1%E9%A0%BC%E5%8C%96%E3%82%AC%E3%82%A4%E3%83%89-MISRA%E2%80%90C%E7%A0%94%E7%A9%B6%E4%BC%9A/dp/4542503461/ref=sr_1_1?ie=UTF8&s=books&qid=1282317580&sr=8-1]]
** 組み込みはほとんどやってないので、なんともいえないが...
;リファレンス
* [[Web標準の教科書―XHTMLとCSSでつくる“正しい”Webサイト: 益子 貴寛|http://www.amazon.co.jp/Web%E6%A8%99%E6%BA%96%E3%81%AE%E6%95%99%E7%A7%91%E6%9B%B8%E2%80%95XHTML%E3%81%A8CSS%E3%81%A7%E3%81%A4%E3%81%8F%E3%82%8B%E2%80%9C%E6%AD%A3%E3%81%97%E3%81%84%E2%80%9DWeb%E3%82%B5%E3%82%A4%E3%83%88-%E7%9B%8A%E5%AD%90-%E8%B2%B4%E5%AF%9B/dp/4798010928/ref=sr_1_2?ie=UTF8&s=books&qid=1282317381&sr=8-2]]
* [[プログラミング言語C 第2版 ANSI規格準拠: B.W. カーニハン, D.M. リッチー, 石田 晴久|http://www.amazon.co.jp/%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E8%A8%80%E8%AA%9EC-%E7%AC%AC2%E7%89%88-ANSI%E8%A6%8F%E6%A0%BC%E6%BA%96%E6%8B%A0-B-W-%E3%82%AB%E3%83%BC%E3%83%8B%E3%83%8F%E3%83%B3/dp/4320026926/ref=sr_1_3?ie=UTF8&s=books&qid=1282317311&sr=8-3]]
; CVS や Subversion の場合
プロジェクトの配下に、以下の3つのディレクトリを作成しておく。
* trunk
** 開発のメインライン
* branches
** ブランチがあれこれ入る
* tags
; 分散型の場合
;各プロジェクトのディレクトリ構成
|README.txt |プロジェクトの概要 |
|BUILDING.txt |ビルド・実行方法 (実行環境なども) |
|GLOSSARY.txt |専門用語 |
|doc |プロジェクトに関するドキュメント (外部ドキュメントの参照先についての情報も) |
|src |ソースコード |
|lib |プロジェクトで使用するサードパーティのライブラリなど |
|sql |データベースの初期化スクリプトなど |
|data |設定ファイル や テストデータ など |
|tools |プロジェクトで使用するユーティリティプログラム(スクリプト) |
「Subversion実践入門」 の 「9.2 プロジェクト内の構造」 を参考にした。
; JAKARTAのディレクトリ構成
* [[JAKARTA-TAGLIBS のソース配布物の使用について | http://www.jajakarta.org/taglibs/doc-ja/sourcedist.html ]]
* [[The Jakarta Site - Jakarta Directory Layout | http://jakarta.apache.org/site/dirlayout.html ]]
* 気液二相流を瞬間的に固定したときの気相の体積割合
* ボイド率は(流れに垂直な?) ''断面の気相が流れる面積割合と同じ''
* なので、体積速度(Superficial Velocity)との関係は、 実速度を u とすると...
** ''jg = α・ug''
** ''jl = (1-α)・ul''
* また、体積クオリティーとの関係は...
** β = α・ug / (α・ug + (1-α)・ul) = αS / (αS + (1-α)) <br> (Sは気液の速度比)
* 気液の速度比はスリップ比という
** S = ug / ul
* α = β / (β + (1-β)) なので、''スリップ比が1ならば(S = 1)、 ボイド率は体積クオリティーに等しい''
* 気液速度の関係は、スリップ比の相関式として与えることが多い
** Thom の式
** Almad の式
** Smith の式
; スリップ比 (S)
* 一般に気体は液体より速度が大きいので、''S > 1'' となる
** 重力と慣性力が密度の大きい液体に大きく作用する (重力・慣性は、質量あたりに働く力)
** 圧力勾配による力は、体積あたりの力なので、比容量の大きい気体に大きく作用する?
; ボイド率の測定方法
* 締め切り法 (バルブ)
** 配管の2ヶ所のバルブを同時に閉じて、閉じ込めた二相流の気液比を測定する
* 気液の電気抵抗の差
* 気液の光の屈折率の差
* CT
* 静電容量センサ
; ドリフトフラックス
* ug = ''C0・(jg + jl) + Jg'' = C0・{α・ug + (1 - α)ul} + Jg
** C0 : 分布定数
** j : 体積速度
** J : ドリフトフラックス
* [[海底疑似反射面(BSR)|http://mhy.cmpcmp.net/050/ent6.html]]
; Web
<<tiddlerList tags:"メモ,URLs">>
; もの
<<tiddlerList tags:"メモ,もの" order:"modified">>
; やりかけ
<<list filter [tag[やりかけ]]>>
----
; 場所
* [[うらわ美術館|http://www.uam.urawa.saitama.jp/]]
* [[東京大学総合研究博物館 The University Museum, The University of Tokyo|http://www.um.u-tokyo.ac.jp/]]
* [[東京国立博物館 HOME|http://www.tnm.go.jp/jp/servlet/Con?pageId=X00/processId=00]]
* [[D&DEPARTMENT PROJECT|http://www.d-department.com/jp/]]
* [[(社)落語協会|http://rakugo-kyokai.or.jp/]]
* [[伊豆の長八美術館 - Wikipedia|http://ja.wikipedia.org/wiki/%E4%BC%8A%E8%B1%86%E3%81%AE%E9%95%B7%E5%85%AB%E7%BE%8E%E8%A1%93%E9%A4%A8]]
* [[江戸のアルチザン伊豆長の世界 風を待ちながら・・・/ウェブリブログ|http://freeport.at.webry.info/200703/article_5.html]]
* [[秋葉原カレー専門店ベンガル | http://www.bengal-curry.com/]]
* [[蓬莱庭園及び文化財 | http://www.sunalix.co.jp/daichiji/houraiteien.html]]
{{{
;;;; Common Function
(provide "my-common")
(in-package "user")
(export '(iota
tabulate
bol-point
eol-point))
;;; --------------------------------------------------------------------------
;;; xyzzy に依存しないLispとしての機能
;; http://www.geocities.jp/m_hiroi/clisp/clispb09.html からもらった
(defun iota (m &optional (n 1) (step 1))
"nからmまでの値でstep間隔のリストを作成する"
(if (> n m)
nil
(cons n (iota m (+ n step) step))))
(defun tabulate (fn m &optional (n 1) (step 1))
"数列の生成"
(if (> n m)
nil
(cons (funcall fn n) (tabulate fn m (+ n step) step))))
;; http://www.geocities.jp/m_hiroi/clisp/clispb09.html からもらった
(defun tabulate (fn m &optional (n 1) (step 1))
"iota で生成した数列に関数 fn を適用した結果を返す"
(if (> n m)
nil
(cons (funcall fn n) (tabulate fn m (+ n step) step))))
;;; --------------------------------------------------------------------------
;;; exkey
;; (set-extended-key-translate-table exkey-space #\F19)
;; (set-extended-key-translate-table exkey-S-space #\S-F19)
;; (set-extended-key-translate-table exkey-C-space #\C-F19)
;; (set-extended-key-translate-table exkey-S-C-space #\S-C-F19)
;; (set-extended-key-translate-table exkey-M-space #\M-F19)
;; (set-extended-key-translate-table exkey-S-M-space #\S-M-F19)
;; (set-extended-key-translate-table exkey-C-M-space #\C-M-F19)
;; (set-extended-key-translate-table exkey-S-C-M-space #\S-C-M-F19)
;; (set-extended-key-translate-table exkey-backspace #\F20)
;; (set-extended-key-translate-table exkey-S-backspace #\S-F20)
;; (set-extended-key-translate-table exkey-C-backspace #\C-F20)
;; (set-extended-key-translate-table exkey-S-C-backspace #\S-C-F20)
;; (set-extended-key-translate-table exkey-M-backspace #\M-F20)
;; (set-extended-key-translate-table exkey-S-M-backspace #\S-M-F20)
;; (set-extended-key-translate-table exkey-C-M-backspace #\C-M-F20)
;; (set-extended-key-translate-table exkey-S-C-M-backspace #\S-C-M-F20)
;; (set-extended-key-translate-table exkey-tab #\F21)
(set-extended-key-translate-table exkey-S-tab #\S-F21)
(set-extended-key-translate-table exkey-C-tab #\C-F21)
;; (set-extended-key-translate-table exkey-S-C-tab #\S-C-F21)
;; (set-extended-key-translate-table exkey-return #\F22)
;; (set-extended-key-translate-table exkey-S-return #\S-F22)
(set-extended-key-translate-table exkey-C-return #\C-F22)
(set-extended-key-translate-table exkey-S-C-return #\S-C-F22)
;; (set-extended-key-translate-table exkey-M-return #\M-F22)
;; (set-extended-key-translate-table exkey-S-M-return #\S-M-F22)
;; (set-extended-key-translate-table exkey-C-M-return #\C-M-F22)
;; (set-extended-key-translate-table exkey-S-C-M-return #\S-C-M-F22)
;; (set-extended-key-translate-table exkey-escape #\F23)
;; (set-extended-key-translate-table exkey-S-escape #\S-F23)
;; (set-extended-key-translate-table exkey-zenkaku #\F24)
;; (set-extended-key-translate-table exkey-S-zenkaku #\S-F24)
;; (set-extended-key-translate-table exkey-C-zenkaku #\C-F24)
;; (set-extended-key-translate-table exkey-S-C-zenkaku #\S-C-F24)
;; (set-extended-key-translate-table exkey-S-M-zenkaku #\S-M-F24)
;;; --------------------------------------------------------------------------
;;; カーソル位置の取得
(defun bol-point ()
"カーソルのある行の開始位置を、ポイントで返す"
(save-excursion (progn (goto-bol) (point))))
(defun eol-point ()
"カーソルのある行の開始位置を、ポイントで返す"
(save-excursion (progn (goto-eol) (point))))
}}}
ここを参考に作ってみた。
* [[レストラン サン・ミケ-レ日記:リーゾ|http://katsuji.ko-co.jp/e10962.html#more]]
# オリーブオイルににんにくの香りつける
# 玉ねぎ炒める (少しバターを入れる)
# 細かく切ったにんじんを、そこに入れる
# 細かく刻んだアーモンドを入れる
# 弱火でとろとろ
# 別のフライパンで、ベーコンとエリンギを炒める
# 玉ねぎ・にんじんと一緒にし、弱火で時間をかけて火を通す
あとはこれを、ご飯と一緒にする。
* それなりにおいしくできたが、手間にあわないかな...
* 刻んだアーモンドの食感がいまいち、うんと細かく刻まないと...
! Subversion
<<tiddler "Subversion">>
! Mercurial
<<tiddler "Mercurial>>
! Git
<<tiddler "Git">>
* [[いろいろ hg and git | http://www.e-hdk.com/misc/hg-and-git.html ]]
* lessライクな 移動と検索
* バッファを読み取り専用モードにする
** C-x C-q で解除可能
* ファイルが変更されたら自動で読み直す
* 検索にマッチした文字列をハイライト
** 他の拡張と干渉する可能性あり
* hook関数
* goto-line
** L に割り当てた
* package
** ちょっと怪しいが...
----
* ファイルのリロードを、どっかのキーに割り当てる
* mark は?
* 可能なら bracket へ移動も
* syntax-table って使わなくても作るもの?
* 入力しないので、 abbrev-table は要らない
* 複数の検索結果に色が着くとよい
{{{
(defstruct search-info word regexp cf)
(setq yyy (make-search-info :word "ERROR" :regexp nil :cf nil))
(search-info-word yyy)
(search-info-regexp yyy)
(search-info-cf yyy)
}}}
* [[MSDN: 予約済み識別子 | http://msdn.microsoft.com/ja-jp/library/cc440188%28VS.71%29.aspx ]]
* [[標準Cライブラリの実装 iso646.h | http://libc.blog47.fc2.com/blog-entry-9.html ]]
* [[日本工業標準調査会(JISC):プログラム言語C | http://www.jisc.go.jp/app/JPS/JPSO0020.html ]]
** X3010 で検索する
<<list filter [tag[仕事]]>>
低温(70℃くらい)で蒸すと、野菜はシャキシャキになる
* 内力 (面積力)
** 圧力
** 粘性応力
*外力 (体積力)
** 重力
** 電磁力
* ガウス(グリーン)の定理
** ∫∫ f・n dS = ∫∫∫ (∇・v) dv
''乗り換え案内''
* [[駅探|http://ekitan.com/]]
* [[ジョルダン|http://www.jorudan.co.jp/norikae/norikeyin.html]]
* [[スパナビ|http://supanavi.rurubu.com/supanavi/simple/]]
* [[鉄道運行情報|http://www.tetsudo.com/traffic/]]
; 天気
* [[東京電力 雨量情報|http://thunder.tepco.co.jp/cgi-bin/main.cgi?area=4&zoom=4]]
* [[Yahoo!天気|http://weather.yahoo.co.jp/weather/]]
* [[気象庁|http://www.jma.go.jp/jma/index.html]]
* [[国土交通省 防災情報|http://www.mlit.go.jp/saigai/bosaijoho/]]
; 地図
* [[Mapion|http://www.mapion.co.jp/]]
* [[MapFun|http://www.mapfan.com/]]
; メモ
* [[持っていくもの|出かけるときに持っていくもの]]
* [[英語 (お出かけ時の会話)]]
;最小構成
*服
*雨具
*ビニール袋
*携帯の充電器
*iPodTouch (+ 充電器)
*(筆記用具)
*(名刺)
;海外なら
*お金
*パスポート
*クレジットカード
*eチケット
*薬
**バファリン
**目薬
**オロナイン
**正露丸
**のど飴
;オプション
*バンドエイド
*カメラ
*本
*虫よけ
* 豚
** 貯金箱
** 蚊取り線香
* 牛
* 鶏
* 羊
* 犬
* 猫
* 馬
* 象
* [[AviUtlのお部屋 | http://spring-fragrance.mints.ne.jp/aviutl/]]
** [[DirectShow File Reader プラグイン for AviUtl | http://www.tenchi.ne.jp/~yoko/aviutl/index.php?DirectShow%20File%20Reader%20%A5%D7%A5%E9%A5%B0%A5%A4%A5%F3%20for%20AviUtl]] <br>メディアプレーヤーで再生できるファイルならば基本的に読み込み可能になる
* [[Motion Jpeg Codec | http://www.geocities.com/strictdaddy_uk/index.html]] 多分VFW用
* [[CodecInstaller | http://www.jockersoft.com/english/codecinstaller.php]] インストールされているコーデックを確認できる
* [[SwfDrop | http://www.gigafree.net/media/flashenc/swfdrop.html]] swf => avi
* [[画面動画キャプチャーソフト CamStudio 日本語版 | http://nonn-et-twk.net/twk/CamStudio/]]
* [[mp4tomp3 | http://d.hatena.ne.jp/FukayaAruto/20091107/mp4_to_mp3_converter_ver2]]
この先にある建物ごとに、番地が割り当てられているっぽい
* 4番地: 警視庁第一機動隊
* 5番地: 宮内庁代官町宿舎
* 6番地: 皇宮警察宿舎
[img[http://ssnsk.s326.xrea.com/storage/tiddly/kitanomaru_kouen.jpg]]
;長さ
| !単位 | !単位記号 | !変換 |
|インチ (inch) | in | 1 in = 0.0254 m = 2.54 cm |
|フィート | ft | 1 ft = 0.3048 m = 30.48 cm |
;重さ
| !単位 | !単位記号 | !変換 |
|ポンド (pound) | lb | 1 lb = 0.45359237 kg |
;体積
| !単位 | !単位記号 | !変換 |
|バレル (barrel) | bbl | 1 bbl = 158.987294928 l |
; 圧力
| !単位 | !単位記号 | !変換 |
| 重量ポンド毎平方インチ (PSI) | psi | 1 psi = 1 lb/in2 ≒ 6894.757 Pa |
|大気圧 | atm | 1 atm = 101325 Pa |
; 温度
| !単位 | !単位記号 | !変換 |
|華氏 | F | F = 9/5 * ℃ + 32, ℃ = 5/9(F - 32) |
; 流速
| !単位 | !単位記号 | !変換 |
| 立方フィート/分 (CFM) | cfm | 1 cfm = 1.6992 m3/h |
|million standard cubic feet per day |MMSCFD |1MMSCFD = 28316.85 m3/d |
* SCFM (Standard Cubic Feet per Minute)
** 1 scfm = 1.6992 * T * 0.1013 / (P * 228) ??
; 粘度
| !単位 | !単位記号 | !変換 |
|センチポアズ | CP | 1CP = 0.001 N-s/m2 = 0.001 Pa-s |
----
; リンク
* [[計量単位|http://www.geocities.jp/jitensha_tanken/unit.html]]
* [[ExcelのCONVERT関数の使い方|http://www.excel-list.com/convert.html]]
* http://www.cgc.co.jp/tomoe/products/pdf/precautions/precautions6.pdf
* [[Interactive Conversion Tool US EPA|http://www.epa.gov/lmop/projects-candidates/interactive.html]]
----
{{{
Assuming the standard conditions are the same, (ex 14.7 psia and 60F),
1 mmscfd is 1 million standard cubic feet per day, which is 28316.85 cubic meters per day
}}}
http://wiki.answers.com/Q/How_do_you_convert_from_MMSCFD_to_m3
Read more: http://wiki.answers.com/Q/How_do_you_convert_from_MMSCFD_to_m3#ixzz1Z76RJYfH
* [[職業としてのプログラミング ビットシフトの落とし穴 - 算術シフトと論理シフト|http://proger.blog10.fc2.com/blog-entry-62.html]]
* [[複雑な演算子|http://www9.plala.or.jp/sgwr-t/c/sec14.html]]
* [[c言語における数値表現|http://www.isc.meiji.ac.jp/~deptec/cmanapdx1.html]]
. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。.
シフト演算の処理には、算術シフトと論理シフトの2種類がある。
それぞれの処理は、
* ''算術シフト'': シフトによって空いたビットを符号ビットで埋める
* ''論理シフト'': シフトによって空いたビットを0で埋める
となるため、算術シフトと論理シフトの場合で、右シフト演算の結果は異なる。
そして、C言語では、
* 型によって挙動(算術シフトか論理シフトか)がかわることがある
* C言語の規格として、算術シフトか論理シフトかは不定
* Nbitの算術シフトと2のN乗での除算は等価ではない
であるため、注意が必要である。
; あれこれ考えごと
* google map投稿掲示板 が作りたいわけではない
** [[グーグルアース(Google Earth)-おもしろ画像 おもしろ画像一覧 グーグルアースで見つけたおもしろ画像|http://www.inqlink.com/index.htm?mode=i_step02&cat_type=1116&offset=20]]
* 一人で選ぶと趣味が偏る気はするのだが...
** 個人的な偏りを見せるものになってきてる気がするので、それでよいかな...
* よくよく考えると、意外と場所選びの条件にこだわってる...
** 単に画像として見ても、ちゃんとおもしろいか?
** ○○ っぽい、は無し
** 明るめの画像の割合
* ということで、公開登録フォームは作らない
* Google Earth
** * [[white-screen.jp:HonestのGoogleマップアニメ「Satellite Car Chase」を目撃せよ!|http://white-screen.jp/2010/03/satellite_car_chase.php]]
* 自分が見たいから作る
** 言葉で捉え損なうものが好き
* とすると、
**もし見知らぬ誰かが作ったものをたまたま見たとしても、自分がおもしろいと思えるか?<br> が大事なのか??
* 写真を選ぶという作業以外の部分には、うまく価値がつけれてない
** テクスチャーに特化すべきかな?
** アニメーションがなぁ...
; もやもや
例えば、サハラ砂漠には住所はあるのか?
Sleipnir だと、クッキーまわりのセキュリティにひっかかる
=> 風景画
; TODO
# UI の直し
** ぐりぐりできるようになったら、サムネールがまどろっこしい
# 画像のプリロード
** 少なくとも、v2 には無さそう
# Google Map API を v3 に
** なんか、v3の方がちかちかする
; DONE
*場所の登録がめんどくさすぎる...
** いちおう、登録フォームっぽいものを作成
** [[地球の肌 for regist (0.2.0)|http://www.ssnsk.com/earthkin/tools/regist.html]]
* ~IE6 のレイアウトが...
** レイアウトは直したが、クロージャ周りは大丈夫?
** まーIE6は無視かな...
* マウスホイールで拡大縮小ができるようにした
** これは早くやっておくべきだった...
* 移動のアニメーションをつけてみた
** 表示がちかちかせず、スムーズにアニメーションできれば、ありかも
** 将来的に、画像のプリロードがサポートされることがあれば、きちんと作ろうかな...
** 現状だと...
*** かなり無茶なコードが必要
*** 移動時にちかちかする
** 表示領域を大きくする方向で考えると厳しい
* 大きく表示
; 場所探し
* [[ASTERがとらえた地球の造形|http://www.ersdac.or.jp/ASTERimage/ASTERimage_library_J.html]]
* [[Sublime Sand: Desert Dunes Seen From Space - Wired Science |http://www.wired.com/wiredscience/2009/12/deserts-gallery-1/3/]]
** [[Google 翻訳|http://translate.google.com/translate?hl=ja&langpair=en%7Cja&u=http://www.wired.com/wiredscience/2009/12/deserts-gallery-1/3/&rurl=translate.google.co.jp]]
* [[高解像度で捉えた火星の風景:画像ギャラリー(1/8) | WIRED VISION|http://wiredvision.jp/gallery/201009/20100909094733.html]]
; レイアウト
* タイトルのロゴ?
** 使うフォント
* <<slider tocSlider サイトデザイン 参考サイト>>
; コーディング
* JavaScript
* [[JSON]]
* [[jQuery]]
* [[Google Map]]
** ~IE7が...
*** [[Internet Explorer 7にGoogle maps APIのバグ? : 地方の印刷会社Webディレクターの日記|http://webdirector.livedoor.biz/archives/51682129.html]]
* [[ファンタジーに満ちた変形菌(粘菌)の世界へようこそ |http://www.paropunte.net/archives/736376.html]]
* [[コケの論理(ロジック)|http://sphagnum.chesuto.jp/]]
|Force Majeure |不可抗力 |
|Notice |通知 |
|Governing Law |準拠法 |
|Dispute Resolution |紛争解決 |
|Conduct of the Parties |行動の制限 |
|Waiver |権利放棄 |
|Third Party Beneficiaries |第三者の権利 |
|Sovereign Immunity |主権免責 |
|Interim Payment |中間払い |
|Accounting Report |会計報告(書) |
|IP |intellectual property |知的財産、知的所有権 |
|IPR |intellectual property right |知的所有権、知的財産権 |
----
Indemnity
* 保障、免責、損害賠償、補償金
|Licensor |許諾者 (licenseを付与する側の人または組織) |
|Licensee |被許諾者 |
* [[flipping typical|http://flippingtypical.com/]]
* [[LostTechnology|http://www.losttechnology.jp/]]
* [[Scribd|http://www.scribd.com/]]
** [[次のYouTubeはこれだ!簡単に文書が共有できる『Scribd』 - |http://www.100shiki.com/archives/2007/03/youtubescribd.html]]
* [[平均値の定理|http://aozoragakuen.sakura.ne.jp/kaisekikiso/node39.html]]
* [[解析力学2003|http://www-het.phys.sci.osaka-u.ac.jp/~higashij/lecture/am03.htm]]
* [[dydxとは何なのか|http://deepdigital.co.jp/dydx.html]]
; 偏微分
* [[多変数関数 | http://nkiso.u-tokai.ac.jp/math/matsuda/webmath/patdiff_txt/s1_1.htm ]]
* [[Amazon.co.jp: 偏微分方程式―科学者・技術者のための使い方と解き方: スタンリー ファーロウ, Stanley J. Farlow, 伊理 正夫, 伊理 由美: 本 | http://www.amazon.co.jp/%E5%81%8F%E5%BE%AE%E5%88%86%E6%96%B9%E7%A8%8B%E5%BC%8F%E2%80%95%E7%A7%91%E5%AD%A6%E8%80%85%E3%83%BB%E6%8A%80%E8%A1%93%E8%80%85%E3%81%AE%E3%81%9F%E3%82%81%E3%81%AE%E4%BD%BF%E3%81%84%E6%96%B9%E3%81%A8%E8%A7%A3%E3%81%8D%E6%96%B9-%E3%82%B9%E3%82%BF%E3%83%B3%E3%83%AA%E3%83%BC-%E3%83%95%E3%82%A1%E3%83%BC%E3%83%AD%E3%82%A6/dp/4254110715 ]]
;ナブラ
スカラ関数 ''φ(x, y, z)'' ・ ベクトル関数 ''A(x, y, z)'' とすると...
* ''勾配 (gradient)''
** gradφ = ∇φ = ∂φ/∂x・i + ∂φ/∂y・j + ∂φ/∂z ・k
* ''発散 (divergence)''
** divA = ∇A = ∂Ax/∂x + ∂Ay/∂y + ∂Az/∂z
*** ∂Ax/∂x は、Aのx成分をxで偏微分するということなのか?
; テーラー展開
; ブックマーク
* 当分 TiddlyWiki
; ずっととっておくもの
* +archive として、gmail に送る
** exe は仕方ないので、 とりあえず google docs に入れておく
** * [[EvernoteをやめてGmailへ: Shu's blog 雌伏編|http://rainy.seesaa.net/article/126639753.html]]
; オープンなメモ
* TiddlyWiki ?
* テキスト以外や長いものは?
** +memo で gmail か...
;クローズなメモ
* +memo で gmail か...
* よく更新するものは...?
** 書きかけのものは、google notebook
** 完了したものは、 +memo で gmail へ
; プログラム関係
* ソースコードは、git
* メモ類をどうしようかな...
** 日本語ファイル名とか
; dropbox + ipod touch
* [[PlainTextと紙copiの連携 - ランディノート|http://d.hatena.ne.jp/rundy628/20101006/p1]]
; 画像
* 参考サイトのキャプチャ画像
** evernote でやってみる
* その他
** no idea (dropbox ?)
----
; google notebook
* 全て gmail に +memo で送った
** 内容を本文に貼り付けておいたので、検索可能
{{{
#!/bin/sh
DIR1=`echo "$1" | sed -e 's/\/$//'`
DIR2=`echo "$2" | sed -e 's/\/$//'`
if [ -d "$DIR1" -a -d "$DIR2" ]; then
FILES=`echo "$DIR1" | sed -e 's/$/\/\*/'`
for FILE in ${FILES}
do
cat $FILE | tr -d "\15" | diff - "${DIR2}/${FILE}"
done
fi
}}}
もう少しよい手がありそうですが...
というか、これでほんとに動く?
* [[helvetica | http://www.amazon.co.jp/%E3%83%98%E3%83%AB%E3%83%99%E3%83%81%E3%82%AB-~%E4%B8%96%E7%95%8C%E3%82%92%E9%AD%85%E4%BA%86%E3%81%99%E3%82%8B%E6%9B%B8-DVD-%E3%82%B2%E3%82%A4%E3%83%AA%E3%83%BC%E3%83%BB%E3%83%8F%E3%82%B9%E3%83%88%E3%82%A6%E3%82%A3%E3%83%83%E3%83%88/dp/B001DCSBYG/ref=sr_1_1?ie=UTF8&s=dvd&qid=1229958086&sr=8-1]]
** という映画があるらしい...
** 自体は、世界でいちばん有名な欧文書体らしい...
* [[EAMES FILMS:チャールズ&レイ・イームズの映像世界 [DVD]: |http://www.amazon.co.jp/EAMES-FILMS-%E3%83%81%E3%83%A3%E3%83%BC%E3%83%AB%E3%82%BA-%E3%83%AC%E3%82%A4%E3%83%BB%E3%82%A4%E3%83%BC%E3%83%A0%E3%82%BA%E3%81%AE%E6%98%A0%E5%83%8F%E4%B8%96%E7%95%8C-DVD/dp/B00005MIG1/ref=sr_1_2?ie=UTF8&s=dvd&qid=1229763476&sr=8-2]]
* [[ドキュメンタリー映画「小三冶」|http://cinema-kosanji.com/]]
これで、時刻が 2007/9/13 15:35 に設定される
''date -s "09/13 15:35 2007"''
<<timeline "modified" 50>>
* [[世界神秘学事典 (1981年): 荒俣 宏: 本|http://www.amazon.co.jp/%E4%B8%96%E7%95%8C%E7%A5%9E%E7%A7%98%E5%AD%A6%E4%BA%8B%E5%85%B8-1981%E5%B9%B4-%E8%8D%92%E4%BF%A3-%E5%AE%8F/dp/B000J7RWJG/ref=sr_1_1?ie=UTF8&s=books&qid=1286983039&sr=8-1]]
* [[キルヒャーの世界図鑑―よみがえる普遍の夢: ジョスリン・ゴドウィン, 川島 昭夫: 本|http://www.amazon.co.jp/%E3%82%AD%E3%83%AB%E3%83%92%E3%83%A3%E3%83%BC%E3%81%AE%E4%B8%96%E7%95%8C%E5%9B%B3%E9%91%91%E2%80%95%E3%82%88%E3%81%BF%E3%81%8C%E3%81%88%E3%82%8B%E6%99%AE%E9%81%8D%E3%81%AE%E5%A4%A2-%E3%82%B8%E3%83%A7%E3%82%B9%E3%83%AA%E3%83%B3%E3%83%BB%E3%82%B4%E3%83%89%E3%82%A6%E3%82%A3%E3%83%B3/dp/4875021151]]
* [[野生の思考: クロード・レヴィ・ストロース, 大橋 保夫: 本|http://www.amazon.co.jp/%E9%87%8E%E7%94%9F%E3%81%AE%E6%80%9D%E8%80%83-%E3%82%AF%E3%83%AD%E3%83%BC%E3%83%89%E3%83%BB%E3%83%AC%E3%83%B4%E3%82%A3%E3%83%BB%E3%82%B9%E3%83%88%E3%83%AD%E3%83%BC%E3%82%B9/dp/4622019728/ref=sr_1_1?ie=UTF8&s=books&qid=1234281742&sr=8-1]]
* STUDIO VOICE 1994 12
** mother2のインタビューだけ要る
* [[大人の怪しい実験室: 川口友万: 本|http://www.amazon.co.jp/%E5%A4%A7%E4%BA%BA%E3%81%AE%E6%80%AA%E3%81%97%E3%81%84%E5%AE%9F%E9%A8%93%E5%AE%A4-%E5%B7%9D%E5%8F%A3%E5%8F%8B%E4%B8%87/dp/4781700306/ref=sr_1_1?ie=UTF8&s=books&qid=1257774335&sr=8-1]]
* [[街のポーカーフェイス: 阪東 勲|http://www.amazon.co.jp/%E8%A1%97%E3%81%AE%E3%83%9D%E3%83%BC%E3%82%AB%E3%83%BC%E3%83%95%E3%82%A7%E3%82%A4%E3%82%B9-%E9%98%AA%E6%9D%B1-%E5%8B%B2/dp/4900781177/ref=sr_1_1?ie=UTF8&s=books&qid=1262603830&sr=8-1]]
* [[森へ―ダリウス・キンゼイ写真集: D・ボーン, R・ペチェック, 田口 孝吉, ダリウス・キンゼイ: 本|http://www.amazon.co.jp/%E6%A3%AE%E3%81%B8%E2%80%95%E3%83%80%E3%83%AA%E3%82%A6%E3%82%B9%E3%83%BB%E3%82%AD%E3%83%B3%E3%82%BC%E3%82%A4%E5%86%99%E7%9C%9F%E9%9B%86-D%E3%83%BB%E3%83%9C%E3%83%BC%E3%83%B3/dp/4900358177]]
* [[Amazon.co.jp: 熱力学の計算法 (計算法シリーズ): 松村 篤躬, 越後 雅夫: 本|http://www.amazon.co.jp/gp/product/4501412801]]
* [[Amazon.co.jp: 伝熱学の基礎: 吉田 駿: 本|http://www.amazon.co.jp/%E4%BC%9D%E7%86%B1%E5%AD%A6%E3%81%AE%E5%9F%BA%E7%A4%8E-%E5%90%89%E7%94%B0-%E9%A7%BF/dp/4844527134/ref=pd_cp_b_3]]
* [[Amazon.co.jp: 熱・流体・空調の計算法 (機械計算法シリーズ): 越後 雅夫: 本|http://www.amazon.co.jp/%E7%86%B1%E3%83%BB%E6%B5%81%E4%BD%93%E3%83%BB%E7%A9%BA%E8%AA%BF%E3%81%AE%E8%A8%88%E7%AE%97%E6%B3%95-%E6%A9%9F%E6%A2%B0%E8%A8%88%E7%AE%97%E6%B3%95%E3%82%B7%E3%83%AA%E3%83%BC%E3%82%BA-%E8%B6%8A%E5%BE%8C-%E9%9B%85%E5%A4%AB/dp/4501414006/ref=pd_cp_b_1]]
* [[Amazon.co.jp: 流体力学 (物理テキストシリーズ 9): 今井 功: 本|http://www.amazon.co.jp/%E6%B5%81%E4%BD%93%E5%8A%9B%E5%AD%A6-%E7%89%A9%E7%90%86%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%B7%E3%83%AA%E3%83%BC%E3%82%BA-9-%E4%BB%8A%E4%BA%95-%E5%8A%9F/dp/400007749X/ref=sr_1_1?ie=UTF8&qid=1294898443&sr=8-1]]
* [[Amazon.co.jp: Hydrodynamics: Horace Lamb: 洋書|http://www.amazon.co.jp/Hydrodynamics-Horace-Lamb/dp/0486602567/ref=pd_sim_fb_1]]
* L. D. Landau and E. M. Lifshitz,「Fluid Mechanics」
! 未確認
<<tiddler "未確認の本">>
! 立ち読みした
<<tiddler "立ち読みした本">>
! 読みかけ
<<tiddler "読みかけの本">>
----
<<slider tocSlider 読んだ本 読んだ本>>
<<slider tocSlider プログラムの本 プログラムの本>>
* [[NAOT(ナオト) NAOT総輸入代理店 風の栖(かぜのすみか) | http://www.kazenosumika.com/naot.html]]
** かかとが無い靴なのに、足にぴったりフィット
** 歩いても、踵と中敷が全く離れない
** 吉祥寺に売ってる
*** [[吉祥寺中道通り 一軒家雑貨店 mist∞ WONDERFUL LIFE|http://ameblo.jp/mist8/]]
* 大都映画
*グラミン銀行
*豆本
**田中栞
* [[オルゴールカー|http://www.kinonukumori.com/Shouhin/PullToy.shousai/OrgelTruck.html]]
* 熊田千佳慕
* [[PASTA MARTELLI Lari (PI) |http://www.famigliamartelli.it/index.htm]]
** パスタ
** たっぷりのお湯できっちり茹でないと、ポテンシャルが出ない感じだった...
* [[Leprotto|http://the-za.somard.co.jp/higurasi/hg_space/higu101_menu.shtml]]
* [[手作り ・ ハンドメイド 腕時計 メーカー C-Brain シーブレーン|http://www.cbrain.co.jp/]]
* 鉄道ダイヤ作成・牛田貢平 3月9日(火)
** [[お知らせ NHK プロフェッショナル 仕事の流儀|http://www.nhk.or.jp/professional/info/index.html]]
* [[Shop TABI-JI 地下足袋と足袋ソックスの通販サイト | http://www.tabi-ji.jp/]]
* [[現在の気温・湿度を確認するなら気象庁 : akiyan.com | http://www.akiyan.com/blog/archives/2010/03/real-time-moisture-at-jma.html ]]
* [[ビジネス英語表現集:スペースアルク|http://www.alc.co.jp/eng/newsbiz/expression/index.html]]
* [[樹の上の秘密基地 | http://www.1101.com/nintendo/nin11/]]
* [[asahi.com : 朝日新聞社 - 細密画家 プチファーブル熊田千佳慕展|http://www.asahi.com/kumadachikabo/]]
** 微妙に遠いけど...
*[[「五百羅漢―幕末の絵師・狩野一信」展 |http://www.nikkei.com/life/culture/article/g=96958A9C93819495E2E4E2E0968DE2E4E2E4E0E2E3E39091EAE2E2E2;p=9694E0E3E3E0E0E2E2EBE0E5E6E2]]
** 行きそびれた
* [[江戸のアルチザン伊豆長の世界 風を待ちながら・・・/ウェブリブログ | http://freeport.at.webry.info/200703/article_5.html]]
* [[手と心の触感──向京の「この世界は良くなるのか?」展と「手で触れる」展:フォーカス|美術館・アート情報 artscape | http://artscape.jp/focus/10014123_1635.html]]
. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。.
; Web
<<tiddlerList tags:"気になったもの,URLs">>
; もの
<<tiddlerList tags:"気になったもの,もの" order:"modified">>
;プール
* [[東京体育館|http://www.tef.or.jp/tmg/index.php]]
* [[世田谷総合運動場|http://www.se-sports.or.jp/sisetu/02sougou_onsui.php]]
* [[室内プールリンク集|http://www.asobi-map.com/onsui.htm]]
* [[東急バスナビ|http://www.busnavi.net/cgi-bin/tsection.cgi?a=k&m=TK&k=TKST010301]]
; 泳ぎ方
* [[SportsClick:水泳|http://www.sportsclick.jp/swimming/01/index.html]]
* [[神統流|http://www.gryphon.co.jp/index.php?option=com_content&task=view&id=26&Itemid=2]]
* [[泳法図解|http://www.chiba-c.ed.jp/awakou/homepage/sc/club/sports/h_t_swimming/eihouzukai.htm]]
* [[ほぼ日刊イトイ新聞 - 黒柳さんが話した、黒柳さんのこと。|http://www.1101.com/kuroyanagi/2008-09-09.html]]
* [[水中ヨガ|http://jp.youtube.com/watch?v=cU76QqT76sQ]]
* [[立ち泳ぎ【こっそり水泳マスター】|http://www.cossoriswim.com/iroiro/tachi.html]]
* [[流れの力|http://www.kiesinc.jp/swim/stream/suiei1.htm]]
** あってるかは知らないが...
* <<slider tocSlider 流体の式に出てくる記号 式に出てくる記号>>
* <<slider tocSlider 内力と外力 内力と外力>>
* <<slider tocSlider 熱力学 熱力学>>
* [[難しい算数]]
* [[Fundamentals of Multiphase Flow (Christopher E. Brennen) |http://caltechbook.library.caltech.edu/51/2/cabook.pdf]]
* [[Heat Transfer Databooks | Products|http://www.wlv.com/products/thermal-management-databooks.html]]
* [[東京工業大学 工学入門講座 オンライン版 - 科目一覧|http://www.eto.titech.ac.jp/contents/index.html]]
* [[Amazon.co.jp: 流体力学 (前編) (物理学選書 (14)): 今井 功: 本|http://www.amazon.co.jp/%E6%B5%81%E4%BD%93%E5%8A%9B%E5%AD%A6-%E5%89%8D%E7%B7%A8-%E7%89%A9%E7%90%86%E5%AD%A6%E9%81%B8%E6%9B%B8-14-%E4%BB%8A%E4%BA%95/dp/4785323140/ref=pd_sim_b_4]]
** 難しくて無理
* [[流体機械・解析エンジニアリング: 流体機械設計|http://tblade.blog.ocn.ne.jp/blog/cat5750110/]]
! 単相流
* <<slider tocSlider 連続の式 質量保存(連続の式)>>
* <<slider tocSlider ナビエ・ストークス 運動量保存(ナビエ・ストークス)>>
* 実質微分
** D/Dt = ∂/∂t + u・∇ (u: 流速)
** [[流体力学に詳しい方お願いします。 - Yahoo!知恵袋|http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1410483784]]
* 参考
** [[地球流体力学|http://www2.kobe-u.ac.jp/~iwayama/teach/teach_09.html]]
** [[レオロジー(Rheology)|http://web.kyoto-inet.or.jp/people/macchann/hiroshi/Rheology.html]]
!2相流
*[[空気と水の流れ(二相流)を見る |http://www.nak.mech.tut.ac.jp/kouen/kouen.html]]
*[[ボイド率|http://www-thd.mech.eng.osaka-u.ac.jp/Lecture/Netsu2008/Chap4.pdf]]
* [[ScienceDirect - Journal of Petroleum Science and Engineering : Investigation and prediction of slug frequency in gas/liquid horizontal pipe flow|http://www.sciencedirect.com/science?_ob=ArticleURL&_udi=B6VDW-4X2DD1F-1&_user=3901416&_coverDate=11%2F30%2F2009&_rdoc=1&_fmt=high&_orig=search&_sort=d&_docanchor=&view=c&_searchStrId=1377183135&_rerunOrigin=google&_acct=C000061720&_version=1&_urlVersion=0&_userid=3901416&md5=3d7d5a100a642c2c0689eea8d3f765e2#secx7]]
* <<slider tocSlider ボイド率 ボイド率>>
; 画像・動画 (流体挙動)
* [[Two Phase Fluid Visualization|http://www.pe.utexas.edu/2phaseweb/flowvideo.html]]
* [[GAS-LIQUID FLOW|http://www.thermopedia.com/toc/chapt_g/GAS-LIQUID_FLOW.html]]
** [[Two Phase Fluid Flow In Horizontal Pipes|http://www.pe.utexas.edu/2phaseweb/flowhoriz.html]]
* [[計装Cube:流量計選定ナビガイダンス:工業技術社|http://keiso-cube.com/proguide/proguide_conan1.php]]
; その他
* [[よくわかる有限要素法|http://www.fem.gr.jp/]]
* critical flow (射流) と subcritical flow(常流)
** 流速が波よりも遅い流れを常流と速い流れを射流?
** フルード数?
レイノルズ数 慣性力 と 粘性力
フルード数 慣性力 と 重力
ウェーバー数 慣性力 と 表面張力
; 流体以外の話でもよく出てくるパラメータ
|!パラメータ名 | !記号 | !単位 | !備考 |
|質量 | m | kg | |
|運動量 | p | kg・m/s | 質量・速度, (力積: ∫Fdt) |
|エネルギー | | J (kg・m2/s2) ||
|圧力 | p | N/m2 (kg/ms2) ||
|密度 | ρ | kg/m3 |
|Actual Velocity (実速度) | v (u) | m/s | v = vs / H |
|エンタルピー | h | J | H = 内部エネルギー + 圧力・体積 |
|frequency (振動数) | F | 1/s | |
; 流体関係
|!パラメータ名 | !記号 | !単位 | !備考 |
|Mass Flow Rate (質量流量) | m (W) | kg/s |
|Volumetric Flow Rate (体積流量) | Q (q) | m3/s | 体積流量 = 質量流量・密度 |
|Holdup | H | - |
|ボイド率 | α | - |
|Mass flux (質量速度) | (G) | kg/m2s | 質量速度 = 質量流量 / 管の断面積 |
|''Superficial Velocity (体積速度・みかけ速度)'' | vs (j) | m/s | vs = 体積流量 / 管の断面積 |
|Slip Velocity | vslip | m/s | vg - vl (気相と液相の速度差) |
|Drift Velocity | vd | m/s | vg - vm, vl - vm (混相流と気相・液相の速度差) |
|Drift Flux | J | m/s | Jl = Hl(vl - vm) (単位面積当たりの各相の流量?)|
|Duffusion Velocity | vm | m/s | |
|Quality (乾き度) | x | - | Wg / (Wg + Wl) (気相の質量流量が占める割合) |
|Mass Concentration | C | - | Hl・ρl / ρm |
|Friction Factor (摩擦係数) | (f) | - | |
|shear stress (せん断応力) | τ | N/m2 | |
|viscosity (粘性係数) | μ | Pa・s | |
|kinematic viscosity (動粘度) | ν | m2/s | 粘性係数 / 密度 |
|レイノルズ数 | Re | - | |
|フルード数 | Fr | - | 特性速度 / (特性長さ・重力加速度) |
|Gas oil ratio | Rs | - | |
|formation volume factors of oil and gas | B | |
|in situ Holdup ? |λ |||
; その他
|!パラメータ名 | !記号 | !単位 | !備考 |
|管の断面積 | A, (S) | m2 ||
|管の直径 | d | m | |
|pipe perimeter (管の外周の長さ) | S | m ||
* [[流れの物理量|http://ibis.mach.me.ynu.ac.jp/matsui/Lecture/FD1/sec1/1-3a.html#twoPointFive]]
* [[単位アレコレ 国際単位系(SI)やその他の単位|http://chg.cmpcmp.net/]]
;MAC法 (Marker and Cell)
* 圧力のポアソン方程式
** 速度n ⇒ 圧力n
*ナビエ・ストークス方程式
** 速度n, 圧力n ⇒ 速度n+1
の繰り返し
;スタガード格子
; 出国
* [[成田空港|http://www.narita-airport.jp/jp/guide/index_t1.html]]
; 入国
* [[アメリカ入国手続き|http://www.ryokojoho.jp/usa/other/arrival.cfm]]
** 渡航目的を言えるように
** [[入国審査 - 出国&入国の英会話|http://travel.style-space.com/3tra/immigration.php]]
* [[Atlanta Hartsfield-Jackson|http://www.atlanta-airport.com/]]
** [[アトランタ空港情報|http://www.mascoenterprises.com/ATLairport.html]]
** [[アトランタ空港での乗り換え・・・その他|http://oshiete.goo.ne.jp/qa/765198.html]]
** [[アトランタ・ハーツフィールド国際空港 JALPAK | http://www.jalpak.co.jp/apo/ame/us.html]]
** [[アトランタ空港の乗り継ぎレポート|http://www.mile-tokutoku.com/travelog/travelog_058.htm]]
** [[DELTA: アトランタ空港の地図|http://ja.delta.com/delta/enja/?24;http://www.delta.com/traveling_checkin/airport_information/airport_maps/atlanta.jsp?lang=ja&loc=jp]]
* [[アメリカでの航空機乗継について教えて下さい|http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1318585288]]
*http://sandpoint.web.infoseek.co.jp/traveltips/index.html
* [[Tulsa Airport|http://www.tulsaairports.com/index.cfm?id=20]]
; 宿泊
* [[ホテルに滞在するときの英会話|http://allabout.co.jp/study/travelenglish/subject/msub_phrase03.htm]]
* [[Best Western Inn | http://eight-americann.seesaa.net/article/54432964.html]]
* [[ホテルで働く人たちの職種と役目|http://asp.hotel-story.ne.jp/concierge/001_login/mame.html]]
* [[ホテルでタクシーを呼んでほしい時の英語|http://okwave.jp/qa/q1356459.html]]
; 帰り
* [[Minneapolis Airport| http://www.mspairport.com/]]
* [[フォンカード (Phone Card) の使い方|http://friends-esl.com/american-life/how-to-use-phone-card.php]]
* http://ja.delta.com/delta/enja/?24;http://www.delta.com/traveling_checkin/airport_information/airport_maps/minneapolis.jsp?lang=ja&loc=jp
----
* 連絡先のまとめ
** 大使館
** タクシー
** ホテル
** (大学)
----
*泊まるホテルへ電話 (日本語の番号へ)
**0120-42-1234
*仕事に関することを、言えるようにする
*eチケットの確認
*時計の電池
*銀行へ行く
**クレジットカード
**トラベラーズ・チェック
*海外保険の確認
*書類などのコピーを取る
**パスポート
**トラベラーズチェック
**eチケット
**ホテルの予約
*借りる携帯を取りに行く
*パスポート用の写真2枚を撮る
*パスポートの管理方法は?
* 荷物を早めにまとめてみる
* [[外国為替相場:三菱東京UFJ銀行|http://www.bk.mufg.jp/ippan/gaitame/index.html]]
* [[過去の為替レートを調べる:ネット関連の小ネタ|http://www.relief.jp/itnote/archives/002210.php]]
{{{
アメリカ ドル USDJPY=X
オーストラリア ドル AUDJPY=X
カナダ ドル CADJPY=X
イギリス ポンド GBPJPY=X
スイス フラン CHFJPY=X
欧州 ユーロ EURJPY=X
}}}
* [[EMANの熱力学|http://homepage2.nifty.com/eman/thermo/contents.html]]
* [[熱力学 ― 現代的な視点から|http://www.gakushuin.ac.jp/~881791/td/index.html]]
* [[Amazon.co.jp: 熱力学―現代的な視点から (新物理学シリーズ): 田崎 晴明: 本|http://www.amazon.co.jp/%E7%86%B1%E5%8A%9B%E5%AD%A6%E2%80%95%E7%8F%BE%E4%BB%A3%E7%9A%84%E3%81%AA%E8%A6%96%E7%82%B9%E3%81%8B%E3%82%89-%E6%96%B0%E7%89%A9%E7%90%86%E5%AD%A6%E3%82%B7%E3%83%AA%E3%83%BC%E3%82%BA-%E7%94%B0%E5%B4%8E-%E6%99%B4%E6%98%8E/dp/4563024325/ref=sr_1_2?ie=UTF8&qid=1293426967&sr=8-2]]
----
; 内部エネルギー (U)
* ''dU = d'Q + d'W''
* 定積変化(dV = 0) では、''dU = d'Q'' になる
** ''d'W = -~PdV'' に、dV = 0 を代入すると ''d'W = 0'' となる
; エンタルピー (H)
* ''H = U + PV''
** U は内部エネルギー
* エンタルピーは''状態量''
* ''等圧条件''(dP = 0) では、 ''dH = d'Q'' になる
** ''dH = dU + PdV + VdP'' に dP = 0 を代入すると、 ''dH = dU + ~PdV''
** ''dU = d'Q + d'W'' に ''d'W = -~PdV'' を代入して変形すると、''dQ = dU + ~PdV''
----
;Heat Transfer Coefficient (熱伝達率)
* ''h = q / (A ・ΔT)''
** h : heat transfer coefficient, ( W/(m2K) )
** q : heat flow in input or lost heat flow , (J/s = W)
** A : heat transfer surface area, (m2)
** ΔT : difference in temperature between the solid surface and surrounding fluid area, (K)
; Over-all Heat Transfer Coefficient (総括伝熱係数 ・ 熱貫流係数)
こんな感じらしいが...
{{{
Uの内部構造は、1/U=1/h1+1/hs1+L/kav.+1/hs2+1/h2と表現され、hを見積もる事が大変難しいのです。
h:伝熱面の境膜伝熱係数、内外2種類有る。
hs:伝熱面の汚れ係数、内外2種類有る。
L:伝熱面厚み
kav:伝熱面の熱伝導率の異種温度の平均、熱伝面内外で温度が異なり、温度によって変化する熱伝導率を平均して用いる。
}}}
対数平均温度差
* [[伝熱 前編(平板の場合) : 蒸気のお話 - TLV|http://www.tlv.com/ja/steam_story/0810dennetu_2nd.html]]
* [[Heat transfer coefficient - Wikipedia, the free encyclopedia|http://en.wikipedia.org/wiki/Heat_transfer_coefficient]]
* [[画像縮小について (株式会社ディア Dear inc.) | http://www.dear-jpn.com/main/2007/09/image_reduction.html]]
* [[きれいに縮小する方法(4) — 専用ソフトとこれまでの方法の比較 | http://pixiv.cc/freundlich/archives/50950265.html]]
; ~OpenCV
* [[OpenCV-1.0 リファレンス マニュアル | http://opencv.jp/opencv-1.0.0/document/]]
* [[FrontPage - OpenCV@Chihara-Lab. | http://chihara.naist.jp/opencv/]]
; directshow
* [[Geekなぺーじ : DirectShowプログラミング [VC++] | http://www.geekpage.jp/programming/directshow/]]
* [[Windows/DirectShow/OpenCVとの組合せ - キャプチャ部分のみDirectShowを使って動画像処理は使い慣れたOpe... | http://www.eml.ele.cst.nihon-u.ac.jp/~momma/wiki/wiki.cgi/Windows/DirectShow/OpenCV%E3%81%A8%E3%81%AE%E7%B5%84%E5%90%88%E3%81%9B.html]]
; 参考
* [[IMAQ Vision コンセプトニュアル| http://www.ni.com/pdf/manuals/323375a.pdf]]
* [[主にコーディング: Image processing | http://mainly-coding.blogspot.com/search/label/Image%20processing]]
* [[TEOライブラリによる画像処理プログラミングガイド | http://teo.sourceforge.jp/doc/TeoProgrammingGuide/section5-2.html]]
* [[【OpenCV】IplImage構造体 画像処理ソリューション | http://imagingsolution.blog107.fc2.com/blog-entry-99.html]]
; その他
* [[MOONGIFT: » 画像用Diff「Perceptual Image Diff」:オープンソースを毎日紹介 | http://www.moongift.jp/2008/07/perceptual_image_diff/]]
* [[ロゴ・イラスト系ビットマップ画像の拡大ツール『MugenViewer』 | http://www.noids.net/mugen/]]
* [[blog.li.nu : all entries categorized to "ベクトル解析"|http://li.nu/blog/cat13/cat-21/cat-22/]]
;面積分
* 面積ベクトル
;ガウスの(発散)定理
*発散の体積分が面積分になる
*体積分の変化率だけなら、その体積を出入りする量を比較すれば計算できる
* [[Winter in White: A Mini Pop-up Treat (Classic Collectible Pop-Up): Robert Sabuda|http://www.amazon.co.jp/Winter-White-Pop-up-Classic-Collectible/dp/0689853653/ref=sr_1_8?ie=UTF8&s=english-books&qid=1259674578&sr=8-8]]
** 飛び出す絵本っぽいやつ
** ページを開いていくと、回る部分があった
* エドワード・ホール 「[[かくれた次元|http://www.amazon.co.jp/%E3%81%8B%E3%81%8F%E3%82%8C%E3%81%9F%E6%AC%A1%E5%85%83-%E3%82%A8%E3%83%89%E3%83%AF%E3%83%BC%E3%83%89%E3%83%BB%E3%83%9B%E3%83%BC%E3%83%AB/dp/4622004631/ref=sr_1_1?ie=UTF8&s=books&qid=1229957888&sr=8-1]]」みすず書房
** 文庫なら欲しいが...
* [[骨から見る生物の進化|http://www.amazon.co.jp/%E9%AA%A8%E3%81%8B%E3%82%89%E8%A6%8B%E3%82%8B%E7%94%9F%E7%89%A9%E3%81%AE%E9%80%B2%E5%8C%96-J%E3%83%BB%E3%83%89%E3%83%BB%E3%83%91%E3%83%8A%E3%83%95%E3%82%A3%E3%83%A6%E3%83%BC-%E8%91%97/dp/4309252176/ref=sr_1_1?ie=UTF8&s=books&qid=1221577265&sr=8-1]]
** 欲しいほどの本ではないけど、きれい
* 山のABC
** よかった
** そこそこの値段なら欲しい
* Comic cue. v.8
** sewing
* [[西洋博物学者列伝: ロバート ハクスリー, Robert Huxley, 植松 靖夫|http://www.amazon.co.jp/%E8%A5%BF%E6%B4%8B%E5%8D%9A%E7%89%A9%E5%AD%A6%E8%80%85%E5%88%97%E4%BC%9D%E2%80%95%E3%82%A2%E3%83%AA%E3%82%B9%E3%83%88%E3%83%86%E3%83%AC%E3%82%B9%E3%81%8B%E3%82%89%E3%83%80%E3%83%BC%E3%82%A6%E3%82%A3%E3%83%B3%E3%81%BE%E3%81%A7-%E3%83%AD%E3%83%90%E3%83%BC%E3%83%88-%E3%83%8F%E3%82%AF%E3%82%B9%E3%83%AA%E3%83%BC/dp/4903487261/ref=sr_1_1?ie=UTF8&s=books&qid=1247660493&sr=8-1]]
** ちょっと欲しいけど...
** ちょっと高いなぁ...
* [[Tenugui―江戸手拭: 田島 一彦|http://www.amazon.co.jp/Tenugui%E2%80%95%E6%B1%9F%E6%88%B8%E6%89%8B%E6%8B%AD-%E7%94%B0%E5%B3%B6-%E4%B8%80%E5%BD%A6/dp/4894446197/ref=sr_1_1?ie=UTF8&qid=1250175083&sr=8-1]]
** 持っててもいいかなぁ...
* 日本きのこ図版: 青木実
** 生物のスケッチっぽい
* [[クモの網: 船曳 和代, 新海 明, 住友和子編集室, 村松寿満子, 七字由布|http://www.amazon.co.jp/%E3%82%AF%E3%83%A2%E3%81%AE%E7%B6%B2%E2%80%95What-Wonderful-Web-INAX-BOOKLET/dp/4872758439/ref=sr_1_1?ie=UTF8&qid=1250513688&sr=8-1]]
** このぐらいの感じで、作りたい
* [[The New Look: Design in the Fifties: Lesley Jackson: 洋書|http://www.amazon.co.jp/New-Look-Design-Fifties/dp/0500276447/ref=sr_1_1?ie=UTF8&s=english-books&qid=1252161118&sr=8-1]]
** いくつか面白い写真が
** [[The New Look Design in the Fifties : biotope|http://www.biotope.biz/04102100010/6/book/detail/]]
作りかけ
{{{
use strict;
use warnings;
use Socket;
### クライアント
# 1. ソケットの作成
my $sock;
socket( $sock, PF_INET, SOCK_STREAM, getprotobyname('tcp' ) )
or die "Cannot create socket: $!";
# 2. ソケット情報の作成
# 接続先のホスト名
my $remote_host = 'localhost';
my $packed_remote_host = inet_aton( $remote_host )
or die "Cannot pack $remote_host: $!";
# 接続先のポート番号
my $remote_port = 7;
# ホスト名とポート番号をパック
my $sock_addr = sockaddr_in( $remote_port, $packed_remote_host )
or die "Cannot pack $remote_host:$remote_port: $!";
# 3. ソケットを使って接続
connect( $sock, $sock_addr )
or die "Cannot connect $remote_host:$remote_port: $!";
# 4. データの書き込み
# 書き込みバッファリングをしない。
my $old_handle = select $sock;
$| = 1;
select $old_handle;
my $char = pack("H*", "0102030405060780FFFFFFFFFFFFFFFFFFFFFFFFFFF");
print $sock $char;
#print $sock "Hello World!";
shutdown $sock, 1; # 書き込みを終了する。
# 5. データの読み込み
while( my $line = <$sock> ){
print $line;
}
# 6. ソケットを閉じる
close $sock;
__END__
}}}
A判: 841 mm - 1189 mm:ISO, JIS
A0 841×1189
A1 594×841
A2 420×594
A3 297×420
A4 210×297
A5 148×210
B判: 1030 mm - 1456 mm :JIS
B0 1030×1456
B1 728×1030
B2 515×728
B3 364×515
B4 257×364
B5 182×257
B判: 1000 mm - 1414 mm:ISO
B0 1000×1414
B1 707×1000
B2 500×707
B3 353×500
B4 250×353
B5 176×250
(A0版の縦横比は1:√2で、面積は1平方メートルになる)
(B0版ISOはA0版の√2倍の面積、B0版JISはA0版の1.5倍の面積)
*[[金融日記|http://blog.livedoor.jp/kazu_fujisawa/]]
*[[先物日記|http://akiyama.net-trader.jp/diary/]]
* [[lecture7.ppt | http://www.logopt.com/mikiokubo/lecture/lecture7.ppt]]
* [[lecture8.ppt | http://www.logopt.com/mikiokubo/lecture/lecture8.ppt]]
; ~Bellman-Ford法
* [[lecture6.ppt | http://www.logopt.com/mikiokubo/lecture/lecture6.ppt]]
* [[bellman-ford-screen.pdf | http://www.cs.rpi.edu/~musser/gp/algorithm-concepts/bellman-ford-screen.pdf]]
* [[week12.pdf | http://www.ecf.utoronto.ca/apsc/courses/ece242s/2004spring/section2/week12.pdf]]
; ~Warshall-Floyd法
* [[Warshall-Floyd|http://www.infor.kanazawa-it.ac.jp/~koblab/home/d1504310/acm/dochtml/48_.html]]
* [[C2_FW.pdf|http://www.lab2.kuis.kyoto-u.ac.jp/~itohiro/lecture/C2_FW.pdf]]
* [[notes_8.pdf | http://www.mcs.vuw.ac.nz/courses/MATH214/2007T1/Notes/notes_8.pdf]]
* [[WF-GT.pdf | http://www.lab2.kuis.kyoto-u.ac.jp/~itohiro/lecture/WF-GT.pdf]]
! 画像処理
<<tiddlerList tags:"絵,画像処理">>
! 描く
<<tiddlerList tags:"絵,描く">>
! フリー素材
* <<slider tocSlider フリーフォント フリーフォント>>
* <<slider tocSlider フリー素材画像 フリー素材画像>>
! 変なもの・場所など
<<tiddler "変なもの・場所など">>
! ほか
* [[オンライン画像編集ツール、ベスト5 : ライフハッカー[日本版] | http://www.lifehacker.jp/2009/07/post_997.html]]
* 熊田千佳慕
<<tiddlerList tags:"英語">>
----
* [[ビジネス英語用語集|http://www.rondely.com/zakkaya/dic2/index.shtml]]
* [[英文レターあれこれ|http://www.rondely.com/zakkaya/ltr/index.htm]]
* [[ビジネス英語表現集:スペースアルク|http://www.alc.co.jp/eng/newsbiz/expression/index.html]]
Rule of thumb - - - 経験則・大ざっぱなやり方
----
* [[英語の発音記号 | http://hatsuon.msize.net/symbol.html]]
* [[英語の発音記号 読み方と音声サンプル | http://www.linkage-club.co.jp/entry/hatsuonkigo.html]]
http://sakura.canvas.ne.jp/spr/start858/Page/practice.htm
http://ww5.tiki.ne.jp/~karz/sym/symbol2.htm
■ タクシーの場所を聞く
Where can I catch a cab?
How much is it to XXX?
■ タクシー電話
- XXX taxi, May I help you?
+ I'd like a taxi, please.
- From where?
+ XXX Airport.
(場合によっては、もう少し細かい場所を聞かれるかも...)
■ 電話でタクシーを呼びたいことを伝える場合
+ I'd like to call a taxi. Can you help me?
+ I don't know how to call one.
- Certainly, ma'am. Where would you like to go?
- Where would you like to go?
+ I'd like to go to XXX. Is it far from here?
■ タクシーを呼んでおいてもらう
Could you call me a taxi.
Please get me a taxi at 7 o'clock.
■ タクシー
I'd like to go XXX.
How much is it to there?
- To where?
To XXX, please.
XXX dollars back, please.
May I have a receipt?
----
■ フロントへ電話
- Hello. How may I help you?
+ Hello. This is room 1203.
- We'll send someone to your room.
The light in the room doesn't work.
Could you please fix it?
Could you bring a new one?
We don't have enough towels. Could you bring a hand towel?
Could we have some more shampoo?
There is no hot water. お湯が出ません
I'm locked out. 締め出されてしまいました
The water is leaking. 水が漏れています。
Could you send someone up? ボーイを呼んで頂けませんか?
The toilet is blocked. トイレが詰まりました。
----
{{{
May I speak to XXX in room 315?
I'd like to leave a message for him.
Please tell him that YYY stay in room zzz.
}}}
; ʌ
(日本語の「あ」に良く似た発音)
(どのアルファ ベットを^ と発音するのでしょうか。それはUです。)
luck, study, tunnel
; æ
(多くの場合、Aをæと発音)
(不思議なことに、CATのæだけ はほとんどの人が発音できています)
cat, bag, gal, apple
; ɑ
(基本単語のOはほとんどがこのaの音です)
(日本語の「あ」はあごを固定して発音、英語のaはあごを動かしながら慣性力で十分に開きながら、動かしながら発音します。)
body, box, got, father, heart, farm
; a
----
; ə
(あいまい母音.. らしい)
(アクセントのないほうの母音 a i u e o は全部このあいまい母音で発音して Nativeに通じます)
; əː
----
; i
(英語の i は日本語の「い」と「え」の中間の音です。)
will, tip, pity
; iː
(実際の英語では、i: はとても緊張させた音、i は日本語の「い」よりもかなりリラックスした発音になります。)
see, been
----
; u
; uː
----
; e
----
; ɔ
; ɔː
; o
|e.g. |exempli gratia |例えば、例を挙げると |
|i.e. |id est |すなわち、言い換えれば |
;ご質問等ございましたら、お気軽にお問い合せください
{{{
Please let me know if you have any questions or comments.
Feel free to contact me if any other questions arise.
}}}
;返答(返信)が遅くなって、すみません
{{{
I'm sorry for the delayed answer.
Do apologize for the late reply.
}}}
;~なのでご注意下さい、ご留意下さい
{{{
Please note that ...
}}}
; 残念ながら(申し訳ございませんが) ~ です
{{{
I regret to inform you that ...
I am sorry to say that ...
}}}
----
;不在の通知
* I'm (wiil be) out of office from Oct.14 to Oct. 31, 2010. I may not have access to e-mail in the period.
;相手の性別が分からない場合
{{{
Dear Sir/Madame
}}}
; XXXのヒントをいただければ...
{{{
can you shed any light on XXX?
}}}
; ~という理解でよろしいでしょうか
{{{
From what I understand, ...
}}}
; XXX を添付しておきます
{{{
Please find attached XXX
}}}
; ちょっと確認したいのですが
{{{
I just want to make sure that ...
}}}
; XXXしてはいかがでしょうか
* You might want to XXX
{{{
Thank you for ...
Many thanks for ...
}}}
{{{
Please see below comments from XXX about your previous query.
I hope you have a great day!
}}}
* http://kaigaisyuccyou.haluc.net/010/
; 参考にしたサイト
[[線形代数I/要点/2章A-行列 - ShigekawaLab | http://dora.ims.tsukuba.ac.jp/~takeuchi/index.php?%C0%FE%B7%C1%C2%E5%BF%F4%A3%C9%2F%CD%D7%C5%C0%2F%A3%B2%BE%CFA-%B9%D4%CE%F3]]
[ 引用 ]
* ''m''行''n''列の行列 と言った場合、縦に''m''個、横に''n''個の行列を指す。
* 横書き文化から来た言葉なので、横に1列に並んだ数字を1行と数える、と考える。
----
; サンプル
3行4列の行列 (row=3, col=4)
| 1行1列 | 1行2列 | 1行3列 | 1行4列 |
| 2行1列 | 2行2列 | 2行3列 | 2行4列 |
| 3行1列 | 3行2列 | 3行3列 | 3行4列 |
| a11 | a12 | a13 | a14 |
| a21 | a22 | a23 | a24 |
| a31 | a32 | a33 | a34 |
----
; 英語だと
* 行 ・・・ row
* 列 ・・・ col
----
; 高さ・幅との対応関係
* 行数 (row) ・・・ 高さ (height)
* 列数 (col) ・・・ 幅 (width)
; 行ベクトルと列ベクトル
1行だけからなる行列のことを、 ''行ベクトル'' ともいう
1列だけからなる行列のことを、 ''列ベクトル'' ともいう
; 内積
ベクトルの内積は、行ベクトル と 列ベクトル の内積で表現可能
; ベクトルの転置
* n次元列ベクトル の転置は、 n次元行ベクトル (逆も成り立つ)
* 転置を2 度繰り返すと、元に戻る
** ''t(tA) = A''
* http://web.econ.keio.ac.jp/staff/tose/cours/2005/lin/trans.pdf
; ブログ
* [[大関日馬富士ブログ「真っ向勝負!」|http://blog.goo.ne.jp/harumafuji/]]
; ほか
* [[トゥバ共和国関連サイト|http://www.geocities.jp/mongol_link/Tuva.html]]
* [[(社)落語協会 プロフィール|http://www.rakugo-kyokai.or.jp/Profiles.aspx?code=8]]
* [[「沖縄熱水海底下生命圏掘削」2010 特設ページ|http://www.jamstec.go.jp/okinawa2010/j/?jn]]
----
; 後で読むかも...
* ソースコードリーディング
** [[ソース・コードの読み方、教えます。【導入編】 - ITアーキテクト [IT Architect] | http://www.itarchitect.jp/beginners/-/39361.html]]
* [[bear.mini : Wireshark 用 Lua プラグインの書き方 | http://bearmini.net/blog/View.aspx?bid=1&aid=148]]
* [[WIRESHARK - 簡単なチュートリアル - プラットフォーム | http://openmaniak.com/ja/wireshark_use.php]]
* [[遠い海: lispとrubyとpythonと その5 例外処理(lisp) | http://faroffsea.blogspot.com/2008/12/lisprubypython5-lisp.html ]]
* [[はじめてのカーネル・ソース---目次 - はじめてのカーネル・ソース:ITpro|http://itpro.nikkeibp.co.jp/article/COLUMN/20071023/285284/?ST=oss]]
----
; ちょっと気になった
* [[革新的発明と製品情報 » 2009 » 4月|http://www.j-tokkyo.com/2009/04/page/3]]
* [[立川談志と柳家小三治(広瀬和生:第1回)|http://waga.nikkei.co.jp/enjoy/play.aspx?i=MMWAe4000002102008]]
* [[Life is beautiful: UIE Japan、今度は「組み込みエンジニア」募集 | http://satoshi.blogs.com/life/2006/04/uie_japan.html ]]
* [[ミクロ・マクロ・時々風景 : ビタミンCナトリウム塩|http://mmlnp.exblog.jp/11629920/]]
* [[POLAR BEAR BLOG: 第二次世界大戦中のライフハック「仕事を進まなくさせる8ヵ条」|http://akihitok.typepad.jp/blog/2008/06/8-411f.html]]
* [[なぜ関数プログラミングは重要か|http://www.sampou.org/haskell/article/whyfp.html]]
* [[FBI暗号解読捜査官の憂鬱(その1) « WIRED.jp 世界最強の「テクノ」ジャーナリズム | http://wired.jp/2011/07/19/fbi%E6%9A%97%E5%8F%B7%E8%A7%A3%E8%AA%AD%E6%8D%9C%E6%9F%BB%E5%AE%98%E3%81%AE%E6%86%82%E9%AC%B1%E3%81%9D%E3%81%AE1/]]
* [[なぜ,/var や /etc が /etc や /cfg というディレクトリ名ではないのか?| http://d.hatena.ne.jp/ytakano/20100715/1279219401]]
* [[対数正規分布の仕組み - 悪魔の妄想|http://d.hatena.ne.jp/rikunora/20100418/p1]]
----
; 割とどうでもよい
* [[見積もり2億円のIP電話を820万円で構築した秋田県大館市から学べること - 記者の眼:ITpro | http://itpro.nikkeibp.co.jp/article/OPINION/20090209/324420/?ST=oss&P=1]]
* [[Netscapeをダウンロードする方法 | http://blog.magical-remix.net/kotalog/archives/134]]
* [[Gmailにとっても便利な「送信取り消し機能」が! - IDEA*IDEA ~ 百式管理人のライフハックブログ | http://www.ideaxidea.com/archives/2009/03/gmail_send_undo.html]]
* [[rplaca関数とrplacd関数 - 2^{¥aleph_0} = ¥aleph_1 | http://d.hatena.ne.jp/pgf2/20080117/1200560342 ]]
* [[The Sheep Market|http://www.thesheepmarket.com/]]
* [[世界飛び地領土研究会(飛地)|http://www.geocities.co.jp/SilkRoad-Lake/2917/]]
* [[流体と固体の境にある「流れる砂」 ハイスピード映像 - (*゚∀゚)ゞカガクニュース隊|http://scienceplus2ch.blog108.fc2.com/blog-entry-565.html]]
* [[アップルのロゴの美しさの秘密 - DTP Transit | http://www.dtp-transit.jp/misc/post_1046.html]]
* [[システムの納期とは確率分布だ - Publickey|http://www.publickey1.jp/blog/09/post_56.html]]
http://www.thewildernessdowntown.com/
* [[INAX 種子のデザイン‐旅するかたち‐ 展Seed Design | http://inax.lixil.co.jp/gallery/exhibition/detail/d_001949.html]]
* [[神田淡路町に「錯覚美術館」-数学で導き出した「錯覚」を体験 - 神田経済新聞 | http://kanda.keizai.biz/headline/85/]]
* 鉄管と銅管はつないではいけない。
*生パスタ
** 明星食品 生フィットチーネ
; 場所
* 昼会った
** ''ヒサモト''というケーキ屋
** [[着物を楽しむ! 玉川屋呉服店へようこそ|http://www.tamagawaya.info/]]
* チェコセンター
** ぶらぶらしていたらあった
* [[うらわ美術館|http://www.uam.urawa.saitama.jp/]]
* [[絵本の店 トムズボックス|http://www.tomsbox.co.jp/index.html]]
** キャベツくん
**ゴムあたまポンたろう
**チンプンカンプントンチンカ
; もの・人
* もたいたけし
* 長新太
*ますむらひろし
**コスモス楽園記
*記号と再帰
** この本ってだれが評価できるんだろ?
; その他
* [[エルファディンク 草刈り機|http://www.elfferding.de/jizoku/hitsuji.html]]
. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。.
* ~FindBugs (定義ファイルの書き方とか)
* [[「売り切ったらフリー化」出版モデル - Radium Software | http://d.hatena.ne.jp/KZR/20090711/p1 ]]
* [[regex.hの使い方 | http://sometime.minidns.net/programming/c/posix_regex.html ]]
* [[便利そうなフリーのアイコン作成ツール6種類:phpspot開発日誌 | http://phpspot.org/blog/archives/2009/10/post_408.html ]]
* [[TCHARとかLPCTSTR、LPTSTRって何???(UsefullCode.net) | http://www.usefullcode.net/2006/11/tcharlpctstrlptstr.html ]]
* [[suicaは実はたまに落ちている - 紅茶屋くいっぱのあれこれ日記 | http://d.hatena.ne.jp/kuippa/20100205/1265389603 ]]
* [[ピクトアップ|http://pict-up.com/pict.html]]
* [[日本の家畜・家禽 (フィールドベスト図鑑 特別版): 小宮 輝之, 秋篠宮文仁|http://www.amazon.co.jp/%E6%97%A5%E6%9C%AC%E3%81%AE%E5%AE%B6%E7%95%9C%E3%83%BB%E5%AE%B6%E7%A6%BD-%E3%83%95%E3%82%A3%E3%83%BC%E3%83%AB%E3%83%89%E3%83%99%E3%82%B9%E3%83%88%E5%9B%B3%E9%91%91-%E7%89%B9%E5%88%A5%E7%89%88-%E5%B0%8F%E5%AE%AE-%E8%BC%9D%E4%B9%8B/dp/405403506X/ref=pd_rhf_p_t_4]]
** 意外におもしろい
* [[Match Day |http://www.amazon.co.jp/Match-Day-Official-Football-Programmes/dp/0955006147/ref=sr_1_8?ie=UTF8&s=english-books&qid=1240068674&sr=8-8]]
** amaznoの方が安かった...
* [[野菜の便利帳: 板木利隆|http://www.amazon.co.jp/%E3%81%8B%E3%82%89%E3%81%A0%E3%81%AB%E3%81%8A%E3%81%84%E3%81%97%E3%81%84-%E9%87%8E%E8%8F%9C%E3%81%AE%E4%BE%BF%E5%88%A9%E5%B8%B3-%E6%9D%BF%E6%9C%A8%E5%88%A9%E9%9A%86/dp/4471033816/ref=sr_1_1?ie=UTF8&s=books&qid=1238683211&sr=8-1]]
** 写真がきれい
* 辻 惟雄 「[[奇想の江戸挿絵|http://www.amazon.co.jp/%E5%A5%87%E6%83%B3%E3%81%AE%E6%B1%9F%E6%88%B8%E6%8C%BF%E7%B5%B5-%E9%9B%86%E8%8B%B1%E7%A4%BE%E6%96%B0%E6%9B%B8-%E3%83%93%E3%82%B8%E3%83%A5%E3%82%A2%E3%83%AB%E7%89%88-8V/dp/4087204405/ref=sr_1_1?ie=UTF8&s=books&qid=1223213665&sr=8-1]]」
* [[Gallop !|http://www.amazon.co.jp/Gallop-Scanimation-Books-Rufus-Butler/dp/0761147632/ref=sr_1_1?ie=UTF8&s=english-books&qid=1221543635&sr=8-1]]
* [[火打ち箱|http://www.amazon.co.jp/%E7%81%AB%E6%89%93%E3%81%A1%E7%AE%B1-%E3%81%93%E3%82%93%E3%81%AA%E3%82%A2%E3%83%B3%E3%83%87%E3%83%AB%E3%82%BB%E3%83%B3%E7%9F%A5%E3%81%A3%E3%81%A6%E3%81%9F-H-C-%E3%82%A2%E3%83%B3%E3%83%87%E3%83%AB%E3%82%BB%E3%83%B3/dp/4894323885/ref=sr_1_1?ie=UTF8&s=books&qid=1221568106&sr=8-1]]
* [[しりとり: 谷川 俊太郎, 和田 誠|http://www.amazon.co.jp/%E3%81%97%E3%82%8A%E3%81%A8%E3%82%8A-%E8%B0%B7%E5%B7%9D-%E4%BF%8A%E5%A4%AA%E9%83%8E/dp/4900963003/ref=sr_1_3?ie=UTF8&s=books&qid=1230348871&sr=8-3]]
* [[言葉図鑑―ことばがいっぱい (1): 五味 太郎|http://www.amazon.co.jp/%E8%A8%80%E8%91%89%E5%9B%B3%E9%91%91%E2%80%95%E3%81%93%E3%81%A8%E3%81%B0%E3%81%8C%E3%81%84%E3%81%A3%E3%81%B1%E3%81%84-1-%E4%BA%94%E5%91%B3-%E5%A4%AA%E9%83%8E/dp/4033430105/ref=sr_1_7?ie=UTF8&s=books&qid=1230974836&sr=8-7]]
* [[この世でいちばん大事な「カネ」の話 (よりみちパン!セ): 西原 理恵子|http://www.amazon.co.jp/%E3%81%93%E3%81%AE%E4%B8%96%E3%81%A7%E3%81%84%E3%81%A1%E3%81%B0%E3%82%93%E5%A4%A7%E4%BA%8B%E3%81%AA%E3%80%8C%E3%82%AB%E3%83%8D%E3%80%8D%E3%81%AE%E8%A9%B1-%E3%82%88%E3%82%8A%E3%81%BF%E3%81%A1%E3%83%91%E3%83%B3-%E3%82%BB-%E8%A5%BF%E5%8E%9F-%E7%90%86%E6%81%B5%E5%AD%90/dp/4652078404/ref=sr_1_1?ie=UTF8&s=books&qid=1236823915&sr=8-1]]
* [[牛久大仏忽然の貌―世界一の阿弥陀像完成までの1765日を記録 荒海美子・牛久きちい・大谷淑子写真集 (BeeBooks): 荒海 美子, 大谷 淑子, 牛久 きちい|http://www.amazon.co.jp/%E7%89%9B%E4%B9%85%E5%A4%A7%E4%BB%8F%E5%BF%BD%E7%84%B6%E3%81%AE%E8%B2%8C%E2%80%95%E4%B8%96%E7%95%8C%E4%B8%80%E3%81%AE%E9%98%BF%E5%BC%A5%E9%99%80%E5%83%8F%E5%AE%8C%E6%88%90%E3%81%BE%E3%81%A7%E3%81%AE1765%E6%97%A5%E3%82%92%E8%A8%98%E9%8C%B2-%E8%8D%92%E6%B5%B7%E7%BE%8E%E5%AD%90%E3%83%BB%E7%89%9B%E4%B9%85%E3%81%8D%E3%81%A1%E3%81%84%E3%83%BB%E5%A4%A7%E8%B0%B7%E6%B7%91%E5%AD%90%E5%86%99%E7%9C%9F%E9%9B%86-BeeBooks-%E8%8D%92%E6%B5%B7-%E7%BE%8E%E5%AD%90/dp/4896159969/ref=sr_1_1?ie=UTF8&s=books&qid=1238946799&sr=8-1]]
* [[宇宙からの地球観測―人工衛星と宇宙飛行士の視点で見る |http://www.amazon.co.jp/%E5%AE%87%E5%AE%99%E3%81%8B%E3%82%89%E3%81%AE%E5%9C%B0%E7%90%83%E8%A6%B3%E6%B8%AC%E2%80%95%E4%BA%BA%E5%B7%A5%E8%A1%9B%E6%98%9F%E3%81%A8%E5%AE%87%E5%AE%99%E9%A3%9B%E8%A1%8C%E5%A3%AB%E3%81%AE%E8%A6%96%E7%82%B9%E3%81%A7%E8%A6%8B%E3%82%8B-NEWTON%E3%83%A0%E3%83%83%E3%82%AF/dp/4315518689/ref=sr_1_1?ie=UTF8&s=books&qid=1267100611&sr=8-1]]
* [[郵便番号|http://www.post.japanpost.jp/zipcode/]]
* [[日本標準時|http://www3.nict.go.jp/cgi-bin/JST.pl]]
* [[和暦西暦対応表|http://www.kumamotokokufu-h.ed.jp/kumamoto/bungaku/wa_seireki.html]]
* [[地球人ネットワークを創るアルク:スペースアルク|http://www.alc.co.jp/]] ([[検索方法|http://eowimg.alc.co.jp/content/help/tips/tip015.html]])
* [[Weblio 類語辞典 | http://thesaurus.weblio.jp/]]
* [[OANDA - Forex Trading and Exchange Rates Services|http://www.oanda.com/]]
** 為替レート [[為替]]
. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。.
* [[GANREF (写真検索) |http://ganref.jp/photo_searches]]
* [[YouTubeムービへの直リンク|http://keepvid.com/]]
* [[Internet Archive|http://www.archive.org/index.php]]
* [[数学公式集 - 高精度計算サイト|http://keisan.casio.jp/has10/Menu.cgi?path=04000000%2e%90%94%8aw%8c%f6%8e%ae%8fW]]
. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。. 。● 。.
* [[Another HTML-lint gateway|http://htmllint.itc.keio.ac.jp/htmllint/htmllint.html]]
* [[正規表現がチェックできるサイト|http://www.regextester.com/]]
* [[IP Location Finder|http://www.iplocationfinder.com/]]
* [[海水温統計情報|http://jdoss1.jodc.go.jp/data/serial/stat-temp_j.html]]
* [[Webcat | http://webcat.nii.ac.jp/]]
** 図書・論文を持っている大学を調べる
* [[ビールの泡は炭酸ガス。では炭酸ガスはどのぐらい溶け込んでいるの? |http://blog.q-q.jp/200903/article_44.html]]
* [[知識の宝庫!目がテン!ライブラリー|http://www.ntv.co.jp/megaten/library/date/07/08/0812.html]]
* [[クリエイティブコモンズにおける著作権表示[to-R]|http://blog.webcreativepark.net/2007/12/03-154350.html]]
まずは、キーワードを...
; とりあえず後で、googleで調べてみる.
*理屈・屁理屈
**効率的市場仮説
**ハリー・マーコビッツの規準
**ハイリスク・ハイリターンの法則
**効率的フロンティア
**アセットアロケーション
*投資先
**インデックスファンド
***MSCI KOSUSAI
**アクティブファンド
* [[臆病者のための株入門 (文春新書): 橘 玲: 本|http://www.amazon.co.jp/%E8%87%86%E7%97%85%E8%80%85%E3%81%AE%E3%81%9F%E3%82%81%E3%81%AE%E6%A0%AA%E5%85%A5%E9%96%80-%E6%96%87%E6%98%A5%E6%96%B0%E6%9B%B8-%E6%A9%98-%E7%8E%B2/dp/4166605143/ref=sr_1_1?ie=UTF8&s=books&qid=1232158070&sr=8-1]]
* [[金融工学の挑戦―テクノコマース化するビジネス (中公新書): 今野 浩: 本|http://www.amazon.co.jp/%E9%87%91%E8%9E%8D%E5%B7%A5%E5%AD%A6%E3%81%AE%E6%8C%91%E6%88%A6%E2%80%95%E3%83%86%E3%82%AF%E3%83%8E%E3%82%B3%E3%83%9E%E3%83%BC%E3%82%B9%E5%8C%96%E3%81%99%E3%82%8B%E3%83%93%E3%82%B8%E3%83%8D%E3%82%B9-%E4%B8%AD%E5%85%AC%E6%96%B0%E6%9B%B8-%E4%BB%8A%E9%87%8E-%E6%B5%A9/dp/4121015274/ref=sr_1_1?ie=UTF8&s=books&qid=1232158167&sr=8-1]]
* [[なぜ投資のプロはサルに負けるのか?― あるいは、お金持ちになれるたったひとつのクールなやり方: 藤沢 数希: 本|http://www.amazon.co.jp/%E3%81%AA%E3%81%9C%E6%8A%95%E8%B3%87%E3%81%AE%E3%83%97%E3%83%AD%E3%81%AF%E3%82%B5%E3%83%AB%E3%81%AB%E8%B2%A0%E3%81%91%E3%82%8B%E3%81%AE%E3%81%8B-%E2%80%95-%E3%81%82%E3%82%8B%E3%81%84%E3%81%AF%E3%80%81%E3%81%8A%E9%87%91%E6%8C%81%E3%81%A1%E3%81%AB%E3%81%AA%E3%82%8C%E3%82%8B%E3%81%9F%E3%81%A3%E3%81%9F%E3%81%B2%E3%81%A8%E3%81%A4%E3%81%AE%E3%82%AF%E3%83%BC%E3%83%AB%E3%81%AA%E3%82%84%E3%82%8A%E6%96%B9-%E8%97%A4%E6%B2%A2-%E6%95%B0%E5%B8%8C/dp/4478600538/ref=sr_1_1?ie=UTF8&s=books&qid=1232118363&sr=8-1]]
; ラグランジェ
* ''Dρ/Dt + ρ(∇・u) = 0'' (ρ: 密度, u: 速度)
** 非圧縮性流体の場合だと Dρ/Dt = 0 なので、 ''∇・u = 0''
;オイラー
* ''∂ρ/∂t + u・∇ρ + ρ(∇・u) = 0''
** 非圧縮性流体だと 、 ''∇・u = 0''
* [[遠近法から射影幾何学へ|http://www.math.meiji.ac.jp/files/active/0/ao2004lec.pdf]]
* [[ペインタークラシックで描く!: 立方体の3点透視法|http://spectrum488.blog112.fc2.com/blog-entry-125.html]]
;バルブ
*[[バルブの基礎知識 : 株式会社キッツ KITZ CORPORATION|http://www.kitz.co.jp/kiso/hajimete_03.html]]
*[[トラップの背圧 : 蒸気のお話 - TLV|http://www.tlv.com/ja/steam_story/0706haiatu.html]]
* [[等価直径|http://www1.kcn.ne.jp/~bamba/speakers/BH1108ES/de.html]]
** De=4Af/Wp
''sort -u "ファイル名"''
でいいかな。
( ''-u'' は、こんな意味 ''sort "ファイル名" | uniq'' )
ただし、出現順がばらばらになるので、
出現順に表示したいときは、あきらめてスクリプトを書く。のか...
標準入力を読み込みたいときは、ファイル名を指定しない。
''cat "ファイル名" | sort -u''
重複行だけ表示したいときは、
''sort -u "ファイル名" | uniq -d''
とする。
1 inch = 25.4 mm
1 inch = 72 pt
1 mm = 1 / 25.4 = 0.03937007... inch
1 mm = 72 / 25.4 = 2.83464566... pt
* [[Website for Mechanical Engineers by Naoya TADA|http://solid4.mech.okayama-u.ac.jp/]]
<<list filter [tag[難しい算数]]>>
----
; 条件付き確率
* P(B|A) Aの後にBが起こる確率
;ベイズの定理
;ノルム
*長さ概念の一般化
**内積・マグニチュード
**マンハッタン距離
;ヤコビアン
*行列の縦横をひっくり返す
** 2x3 => 3x2
;最急降下法
;CG法 (共役勾配法)
;Convolution (畳み込み)
! CD
<<tiddler "CD">>
! その他
* [[HUUNHUURTU.COM|http://www.huunhuurtu.com/]]
** ホーミー?