This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @charset "UTF-8" | |
| /* 在 Windows 的环境变量中添加 RUBYOPT 变量,值设为 -KU 即可 */ | |
| /* 随便输入中文啦 */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function c2u(c){ | |
| var number = c.charCodeAt(0).toString(16); | |
| console.log(number) | |
| var padding = '0000'; | |
| return '\\u'+padding.slice(0,4-number.length)+number; | |
| } | |
| function s2u(s){ | |
| var len = s.length,result=''; | |
| for (var i =0; i< len; i++){ | |
| result+=c2u(s[i]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * 弹出式提示插件 | |
| * 不支持 IE 6,部分支持 IE 7/8, 完全支持 Chrome/Firefox/IE 9 | |
| * | |
| * @require jQuery | |
| */ | |
| (function ($, window, document) { | |
| var $last = null; | |
| var timer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * { margin: 0; padding: 0; } | |
| ul, ol, dl { list-style: none; } | |
| h1, h2, h3, h4, h5, h6 { font-weight: normal; } | |
| body { font: 14px/1.6 tahoma, arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; } | |
| a { text-decoration: none; color: #000; } | |
| imgi { border: none; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body { font: 14px/1.6 tahoma, arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nodemailer = require('nodemailer') | |
| smtpTransport = nodemailer.createTransport "SMTP", | |
| service: "QQ" | |
| auth: | |
| user: "***@qq.com" | |
| pass: "*******" | |
| mailOptions = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name":"pickdown", | |
| "version":"0.1.0", | |
| "dependencies":{ | |
| "bootstrap":"~3", | |
| "requirejs":"~2", | |
| "jquery":"~2" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Handlebars.registerHelper("math", function(lvalue, operator, rvalue, options) { | |
| if (arguments.length < 4) { | |
| // Operator omitted, assuming "+" | |
| options = rvalue; | |
| rvalue = operator; | |
| operator = "+"; | |
| } | |
| lvalue = parseFloat(lvalue); | |
| rvalue = parseFloat(rvalue); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { "keys": ["super+shift+g"], "command": "exec", "args": { "cmd": ["ls"]} }, | |
| { "keys": ["super+k", "super+b"], "command": "toggle_side_bar" }, | |
| { "keys": ["super+k", "super+v"], "command": "paste_from_history" }, | |
| // { "keys": ["super+k", "super+d"], "command": "find_under_expand_skip" }, | |
| { "keys": ["super+shift+d"], "command": "find_under_expand_skip" }, | |
| /* pane */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git-flow ❯ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install ctags 2>&1 ⏎ | |
| Error: no such file to load -- requirements/minimum_macos_requirement | |
| Please report this bug: | |
| https://github.com/mxcl/homebrew/wiki/troubleshooting | |
| /usr/local/Library/Homebrew/requirements.rb:4:in `require' | |
| /usr/local/Library/Homebrew/requirements.rb:4 | |
| /usr/local/Library/Homebrew/dependency_collector.rb:4:in `require' | |
| /usr/local/Library/Homebrew/dependency_collector.rb:4 | |
| /usr/local/Library/Homebrew/software_spec.rb:6:in `require' | |
| /usr/local/Library/Homebrew/software_spec.rb:6 |