| 😄 | 😆 | 😊 | 😃 |
😩 | 😔 | 😞 | 😖 | 😨 | 😰 | 😣 | 😢 | 😭 | 😂 | 😲 | 😱 | | 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷
😎 | 😵 | 👿 | 😈 | 😐 | 😶 | 😇 | 👽 | 💛 | 💙 | 💜 | ❤️ | 💚 | 💔 | 💓 | 💗 | 💕 | 💞 | 💘 | ✨
| 😄 | 😆 | 😊 | 😃 |
😩 | 😔 | 😞 | 😖 | 😨 | 😰 | 😣 | 😢 | 😭 | 😂 | 😲 | 😱 | | 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷
😎 | 😵 | 👿 | 😈 | 😐 | 😶 | 😇 | 👽 | 💛 | 💙 | 💜 | ❤️ | 💚 | 💔 | 💓 | 💗 | 💕 | 💞 | 💘 | ✨
var unidecode = require('unidecode'); | |
var safeString = function (string) { | |
string = string.trim(); | |
// Remove non ascii characters | |
string = unidecode(string).trim(); | |
// Remove URL reserved chars: `:/?#[]@!$&'()*+,;=` as well as `\%<>|^~£"` | |
string = string.replace(/[:\/\?#\[\]@!$&'()*+,;=\\%<>\|\^~£"]/g, '') | |
// Replace dots and spaces with a dash |
git init # 初始化本地git仓库(创建新仓库) | |
git config --global user.name "xxx" # 配置用户名 | |
git config --global user.email "xxx@xxx.com" # 配置邮件 | |
git config --global color.ui true # git status等命令自动着色 | |
git config --global color.status auto | |
git config --global color.diff auto | |
git config --global color.branch auto | |
git config --global color.interactive auto | |
git config --global --unset http.proxy # remove proxy configuration on git | |
git clone git+ssh://git@192.168.53.168/VT.git # clone远程仓库 |
// 实现 | |
const queuedObservers = new Set(); | |
const observe = fn => queuedObservers.add(fn); | |
const observable = obj => new Proxy(obj, {set}); | |
function set(target, key, value, receiver) { | |
const result = Reflect.set(target, key, value, receiver); | |
queuedObservers.forEach(observer => observer()); | |
return result; |
A list of some other badges: http://shields.io/
Alt Text | Image Src | Link |
---|---|---|
NPM version | https://badge.fury.io/{{programming_language:js | py}}/{{project_name}}.svg |
Dependency Status | https://david-dm.org/{{username}}/{{project_name}}.svg | https://david-dm.org/{{username}}/{{project_name}} |
devDependency Status | https://david-dm.org/{{username}}/{{project_name}}/dev-status.svg | https://david-dm.org/{{username}}/{{project_name}}#info=devDependencies |
GEM Dependency Status | https://gemnasium.com/{{username}}/{{repo}}.png | https://gemnasium.com/{{username}}/{{repo}}) |
{ | |
"name": "termtosvg-CN-fix", | |
"version": "0.0.1", | |
"bin": "./termtosvg-fix.js", | |
"dependencies": { | |
"commander": "^2.19.0" | |
} | |
} |