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

そろそろ仕事も忙しくなる

CSVファイルの一般的書式 (RFC4180 日本語訳) http://www.kasai.fm/wiki/rfc4180jp1.各レコードは、改行(CRLF)を区切りとする、分割された行に配置される。 2.ファイル末尾のレコードの終端には、改行はあってもなくてもよい。 3.ファイルの先頭には、オプシ…

手直し

<meta charset="utf-8"> <title>テーブルをn行に?</title> <style> th { color: green; width: 6em;} td { width:4em;} thead, tfoot { background: #8c8;} tbody th { background: #efe;} .num { text-align : right; } </style> <body> <table border="1" id="hoge"></table> <script> (function () { var reg_s…</body></meta>

何か書き込みたかろうて^^;

jquery.csv2table.jsのテーブルhttp://oshiete.goo.ne.jp/qa/8767107.html かなり汚い。統一性がない。 こんなんじゃ〜 ダメよ〜ダメダメ。 あっ! 正規表現は、format 側で行えば良かった! <meta charset="utf-8"> <title>テーブルをn行に?</title> <style> th { color: green; width: 6em;} thead, </meta>…

田舎館村の田んぼアート

きっと明日に訪れる天皇陛下より先に訪れた。 青森県内は、大規模な交通規制中。

JavaScriptで配列を転置する

MySQLの結果を転置したくて考えてました。一時間悩んだコード。 関数CのArray#concatがいけてない。 function C (a, b, c) { a[c] = (a[c] || []).concat (b); return a; } function B (a, b, c) { return b.reduce (C, a); } function A (ary) { return ary…