some tools for diagrams in software documentation
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
| yarn config set registry 'https://registry.npm.taobao.org' | |
| yarn install chromedriver --chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver | |
| yarn config set "chromedriver_cdnurl" "https://npm.taobao.org/mirrors/chromedriver" | |
| yarn config set "chromedriver_cdnurl" "https://npm.taobao.org/mirrors/chromedriver" | |
| yarn config set "chromedriver_cdnurl" "https://npm.taobao.org/mirrors/chromedriver" | |
| yarn config set "selenium_cdnurl" "https://npm.taobao.org/mirrors/selenium/" |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <div id='demo'> | |
| </div> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>Vue JS</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.0.3/vue.js"></script> | |
| </head> | |
| <body> | |
| <div id="app"> |
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
| curl -i -H "Content-Type: application/json;charset=UTF-8" -H "access_token: 61df908cc0a242e79d8d086d109cc827" -H "Cookie: JSESSIONID=4502D90E5ED1C42DCCB1F891621BFC29" -X GET http://192.168.8.79:8090/ra/user/sbfz/1 |
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
| var _ = require('lodash'); | |
| var arr = [ | |
| {"name":"my2child1","title":"My 2 Child 1","parent":"my2"}, | |
| {"name":"my2child2","title":"My 2 Child 2","parent":"my2"}, | |
| {"name":"parent","title":"A single parent"}, | |
| {"name":"child-parent","title":"A child parent","parent":"child1"}, | |
| {"name":"my","title":"My"}, | |
| {"name":"my2","title":"My2"}, | |
| {"name":"child1","title":"Child 1","parent":"my"}, |
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 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远程仓库 |
Kong, Traefik, Caddy, Linkerd, Fabio, Vulcand, and Netflix Zuul seem to be the most common in microservice proxy/gateway solutions. Kubernetes Ingress is often a simple Ngnix, which is difficult to separate the popularity from other things.
This is just a picture of this link from Feb
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
| #!/usr/bin/env python | |
| import getopt | |
| import sys | |
| from sqlalchemy import create_engine, MetaData, Table | |
| from sqlalchemy.dialects.mysql.base import TINYINT | |
| from sqlalchemy.orm import sessionmaker | |
| from sqlalchemy.ext.declarative import declarative_base | |
| from sqlalchemy.exc import ProgrammingError |
