This is a Chinese version of https://gist.github.com/1207002/86f48cd3b3b72c85e6293926cf7c730de03b2f08 from lucasfais
⌘T | 前往文件 |
⌘⌃P | 前往项目 |
⌘R | 前往 method |
⌘⇧P | 命令提示 |
tell application "System Events" | |
activate | |
set theWidth to display dialog "Enter the width" default answer "650" | |
set theWidth to the text returned of theWidth as real | |
end tell | |
global theWidth | |
tell application "Finder" | |
set some_items to selection as list | |
repeat with aItem in some_items | |
set contents of aItem to aItem as alias |
#!/bin/bash | |
# | |
# requirements: | |
# - ImageMagick: http://www.imagemagick.org/script/binary-releases.php#macosx | |
# - image_optim: https://github.com/toy/image_optim | |
# - a scp supported host with ssh key paired | |
# setting up the enviroment | |
export PATH=/usr/local/bin:/opt/local/bin:/opt/local/sbin:$PATH |
如何使用 PlainTasks: | |
项目: | |
☐ 任何以冒号结尾的行都会被作为项目标题 | |
☐ 可以通过缩进在项目中创建新的项目 | |
☐ 项目可以被折叠(利用了编辑器的原生功能) | |
任务: | |
可以在任何位置添加普通文本作为笔记或描述; | |
就是这么简单! |
This is a Chinese version of https://gist.github.com/1207002/86f48cd3b3b72c85e6293926cf7c730de03b2f08 from lucasfais
⌘T | 前往文件 |
⌘⌃P | 前往项目 |
⌘R | 前往 method |
⌘⇧P | 命令提示 |
# Rime dictionary | |
# encoding: utf-8 | |
# | |
# Wubi Pinyin Extended Dictionary(emoji) - 五笔拼音擴充詞庫(表情) | |
# | |
# by @lucifr | |
# based on https://gist.github.com/lembacon/4593540 & http://www.jianshu.com/p/ef2d9442fb0c | |
# | |
# 部署位置: | |
# ~/.config/ibus/rime (Linux) |
-- ------------------------------- | |
-- Watcher for changes of init.lua | |
-- ------------------------------- | |
function reloadConfig(files) | |
doReload = false | |
for _,file in pairs(files) do | |
if file:sub(-4) == ".lua" then | |
doReload = true | |
end | |
end |