middleman-blogの同日articleの問題を修正
2016-05-13 Fri.
同日の date があると previous_article, next_article の挙動がおかしかったのでしらべた。
Frontmatterのdate: が YYYY-MM-DD だったのをtime付に変更した
(jekyllからmiddlemanにし...
prev 1 of 42 next
2016-05-13 Fri.
同日の date があると previous_article, next_article の挙動がおかしかったのでしらべた。
Frontmatterのdate: が YYYY-MM-DD だったのをtime付に変更した
(jekyllからmiddlemanにし...
2016-05-13 Fri.
日本語化されている値の [段落スタイルなし]、[基本段落] みたいのをitemByNameしたいけど ロケールに依存したくない時の名称の取得について。
findkeyStrings をつかう。
文字スタイルの [なし] の場合
$.writeln(app.findKeyStrings("\[なし\]"));
// => $ID/[No Character Style],$ID/#ConditionSetNone,$ID/[CopyFit None],$ID/FS no char style...
2016-05-10 Tue.
和文だとほとんど使わない、ドロップキャップの dropcapDetail の値が謎だったので調べた。

枠の部分を dropcapDetail の値で表現している。
var doc = app.documents[0];
var dr = doc.paragraphStyles.item("dr");
$.writeln(dr.dropcapDetail);
// 0 => フレームグリッドを無視
// 1 => フレームグリッドを無視 + 左端揃え
// 2 => フレームグ...
2016-04-13 Wed.
yascentur/Ricty: Ricty --- fonts for programming を v3.2.2からv4.0.1に差替えた後で、Console.appを使ってて気づいたのだけど
2016/04/13 9:30:32.209 TextMate[1004]: CoreText performance note: Client called CTFontCreateWithName() using name "Ricty" and got font with PostScript...
2016-03-07 Mon.
Extendscriptで do shell script経由で内蔵Ruby使う時、
となっているので、
var os_major;
var os_ver = $.os.match(/Macintosh OS\s(\d+\.\d+\.\d+)/)[1];
if (os_ver !== null) {
os_major = os_ver
2016-03-02 Wed.
gitでstageしたファイルのdiffをとりたい時
git diff --cached
を使えばいい
git diff --help
2016-02-25 Thu.
homebrewで連続searchをしていたらGitHubのapi rate limitに引っかかった
% brew search alfred
Caskroom/cask/alfred
% brew search textmate
Caskroom/cask/textmate
% brew search iterm
No formula found for "iterm".
==> Searching pull requests...
Closed pull requests:
iTerm...
2016-02-18 Thu.
Middlemanの外部パイプラインで余分なファイルがbuildされるので調べた
Exclude files from build? · Issue #1102 · middleman/middleman
app.js, hello.js, bye.js で bundle.js を生成したい
// webpack.config.js
module.exports = {
context: __dirname + '/assets/javascripts',
entry: {
...
2016-02-05 Fri.
Module version mismatch. Expected 47, got 46. · Issue #344 · polotek/libxmljs
no helpful information here to debug this nor do I think you have done any googling around for how to resolve this issue. You upgraded node without rebuilding the module...
2016-01-28 Thu.
The Tree Command for Linux Homepage
で階層出力する時に、特にオプションを設定しないと見た目にはかわらないのだけど、
インデントが 0xa0 NO-BREAK SPACE になっていて使いづらいので
-A オプションをつけて 0x20 SPACE にしてみた。
% tree customXml
customXml
├── _rels
│ └── item1.xml.rels
├── item1.xml
└── itemProps1.xml
% tree...