http://lifehacker.com/182657/how-to-turn-mac-os-x-dashboard-off
defaults write com.apple.dashboard mcx-disabled -boolean YES
killall Dock
curl -L http://install.ohmyz.sh/ | sh
http://lifehacker.com/182657/how-to-turn-mac-os-x-dashboard-off
defaults write com.apple.dashboard mcx-disabled -boolean YES
killall Dock
curl -L http://install.ohmyz.sh/ | sh
my sublime snippets for js |
gist name |
{ | |
"curly": true, | |
"eqeqeq": true, | |
"immed": true, | |
"latedef": "nofunc", | |
"noarg": true, | |
"undef": true, | |
"boss": true, | |
"devel": true, | |
"node": true |
<- define <[jquery]> | |
let @ = Deferred = {} | |
@when = $~when | |
@defer = -> | |
dfr = $.Deferred! | |
{ |
grid-ctn(containerwidth, col, padwidth = grid-devide(containerwidth, col * 8)) | |
$grid_width grid-devide(containerwidth, col) | |
$grid_col col | |
$grid_padding grid-devide(padwidth, 2) | |
width containerwidth | |
position relative | |
clearfix() | |
grid-block(colspan) |
用法:将open.js
放入scripts目录下,然后在你的hexo目录中打开cmd,执行
npm i open
即可
(args) <- hexo.extend.console.register 'preview' 'watch change and run server' | |
hexo.extend.console.list!generate {w:true} | |
hexo.extend.console.list!server args |
*** How to use
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{5c4f28b5-f869-4e84-8e60-f11db97c5cc7}\TasksNoItemsSelected
& HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{5c4f28b5-f869-4e84-8e60-f11db97c5cc7}\TasksItemsSelected
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{5c4f28b5-f869-4e84-8e60-f11db97c5cc7}\TasksItemsSelected]
@="mcfog.git.menu.svn;mcfog.git.log;mcfog.git.diff;mcfog.git.sync;mcfog.git.menu.branch"
everyauth = require 'everyauth' | |
oauthModule = require 'everyauth/lib/modules/oauth2' | |
url = require 'url' | |
rest = require 'everyauth/lib/restler' | |
qq = module.exports = oauthModule.submodule('qq') | |
.configurable do | |
scope: 'URL identifying the Tencent QQ service to be accessed. See the documentation for the API you\'d like to use for what scope to specify. To specify more than one scope, list each one separated with a space.' | |
.oauthHost 'https://graph.qq.com' |