- 忽略milliseconds, length = 10
"created_at": 1360019238
- length = 13
"created_at": 1360019238123
@subscribe @paneView, 'pane:active-item-changed', => | |
@log 'pane:active-item-changed' | |
#@onActiveItemChanged() | |
@subscribe atom.workspaceView, 'pane-container:active-pane-item-changed', => | |
@log 'pane-container:active-pane-item-changed' | |
#@onActiveItemChanged() | |
@subscribe @paneView.model.$activeItem, (item) => | |
@log 233, item is @activeItem | |
@log item, @activeItem | |
return if item is @activeItem |
require('fs').createReadStream('print-self.js').pipe(process.stdout) |
package main | |
import ( | |
"fmt" | |
"strings" | |
"time" | |
) | |
import "math/rand" |
https://github.com/fundon/pathing
/posts/{id} 默認使用 [^/]+ 正則表達式.
/posts/{id:\\d+} 使用 `\d+` 正則表達式.
if [ ! -d .git ]; then | |
return | |
fi |