標準出力

新しいもの、変わらないこと 自分の頭を通して考えてみました (stdout)

2013-09-01から1ヶ月間の記事一覧

uim-anthy-gtk-systray をログイン時に実行

表記の件について[Applications Menu - Settings - Session and Startup] をクリック。「Seccion and Startup」ダイアログの「Application Auotstart」タブを選択して。「uim-toolbar-gtk-systray」を追加します。ちなみに、設定ファイル弄る方法を初め模索…

Installing flash plugin

Environmente: FreeBSD 9.1-RELEASEIf you installed emulators/linux_base-f10You only to runkldload linuxAnd add following line to /etc/rc.conflinux_enable="YES"And reference7.2.1.2. Firefox and Adobe® Flash™ Plugin

compiling chromium browser

I compiled chromium browser(Version 29.0.1547.76) on FreeBSD 9.1-RELEASE.[Point of compiling chromium browser]compile with out debug symbolWhen I compiled chromium with debug symbol. chrome aborted by signal 16.$ cd /usr/ports/www/chromium…

docx pptx xlsx について

「docx pptx xlsx」という一連の「*x」というフォーマットは、zipでxmlファイル群圧縮しているらしい。PyCon 2013 の kzfmさんの資料を参考にさせて頂き実践してみた。まず、サンプルのパワーポイントスライドを作って「sample.pptx」で保存する。そして、sa…

SVG Path

D3

D3を用いたSVGのPathの描画function initPath(){ var path = new Path(); document.getElementById('runButton').disabled=true; } Path.prototype = { constructor: Path, readNodesData: function() { this.lineNodes = [ {"x": 1, "y": 5}, {"x": 20, "y"…

Memo about list

記憶の定着を図るためのメモ#del について>>> list = [0,1,2]>>> del list[1]>>> list[0, 2]>>> list [0]0>>> list [1]2# リストに対する += 演算子>>> slots = []>>> slots += [0,0]>>> print slots[0, 0]>>> slots += [1,1]>>> print slots[0, 0, 1, 1]>>>

Difference between list and tuple

Python初心者の自分としては、よく分からなかった。記述方法の違いしか分からなかった。(大括弧囲みか丸カッコ囲みか)しかし、違いがもう一つわかった。リスト(List) -> 値の再代入ができるタプル(Tuple) -> 値の再代入ができない試しに、、、>>> vec = [2…

事始め

D3

var scatterSample; function initGraph(){ scatterSample = new ScatterSample(); document.getElementById('runButton').disabled=true; document.getElementById('updateButton').disabled=false; } ScatterSample.prototype = { constructor: ScatterSam…

事始め

Qt

C++ で記述されたクロスプラットフォームフレームワークQtを試してみた。URLを入力してアクセスするだけの超簡易Webブラウザを作ってみた。作ってみたと言っても書いたコードは、数行。FreeBSD 、Windows 7, Windows XP で動かしてみた。 まずは、FreeBSD(xf…

ファイルからの読み込み

超今更なエントリですが、自分自身の知識の定着を図るために書きます。と言ってもコードは、数行fp = open('./data/router.log', 'r')for line in fp: print type(line) print line[:-1].split(' ')fp.close()-出力-['2013/04/09', '00:55:45:', 'PP[01]', '…