just set a really long timer for autohide and show.
defaults write com.apple.dock autohide-time-modifier -int 100; killall Dock
reset dock by defaults delete com.apple.dock autohide-time-modifier; killall Dock
# Uncrustify 0.60 | |
newlines = auto | |
input_tab_size = 4 | |
output_tab_size = 4 | |
string_escape_char = 92 | |
string_escape_char2 = 0 | |
tok_split_gte = false | |
utf8_bom = ignore | |
utf8_byte = false | |
utf8_force = false |
前段时间我在做一个代码重构的项目中发现一个Xcode奇怪的bug,我们往静态库里面加入了2000多个Objcetive C的class(工具生成),每个class一对.h.m文件,编译时XCode报错:
Verify final result code for completed build operation
Build operation failed without specifying any errors. Individual build tasks may have failed for unknown reasons. Some of these (up to 12) may be listed below.
#!/usr/bin/env node | |
var stdin = process.stdin, | |
stdout = process.stdout; | |
inputChunks = []; | |
var reg = /(.*?)\s?=?\s?@\{([\s\S]*)\}/; | |
stdin.resume(); | |
stdin.setEncoding('utf8'); |
#!/usr/bin/env node | |
var fs = require('fs'); | |
var root = process.argv[2] || __dirname; | |
var reg = /#import "(.*?.).h"/; | |
function getAllFiles() { | |
var dictionaries = {}; | |
var files = fs.readdirSync(root); | |
files.forEach(function (dictionary) { |
ioPool |
/** | |
* Created with IntelliJ IDEA. | |
* User: ted | |
* Date: 13-6-9 | |
* Time: 下午3:59 | |
* To change this template use File | Settings | File Templates. | |
*/ | |
// copy from canjs | |
// 把正则的敏感词转起来 |