2018年12月

chrome插件备忘

必备

  • Proxy SwitchyOmega
  • Markdown Preview
  • User-Agent Switcher for Chrome
  • Charset
  • Redirector

开发

  • LiveReload
  • Moesif Origin & CORS Changer
  • React Developer Tools
  • Redux DevTools
  • User JavaScript and CSS
  • Vue.js devtools

跨域插件配置

如果想要携带cookie需要配置 Access-Control-Allow-Origin

  • Access-Control-Allow-Origin: http://localhost:8080
  • Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
  • Access-Control-Allow-Methods: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH
  • Access-Control-Allow-Credentials: true

BASH小工具(2)

jq

用于命令行处理json数据

  • https://github.com/stedolan/jq
  • https://www.ibm.com/developerworks/cn/linux/1612_chengg_jq/index.html

xmlstarlet

用于命令行处理xml文档

  • https://www.ibm.com/developerworks/cn/xml/x-starlet.html
  • http://xmlstar.sourceforge.net/
www.000webhost.com