WEB

HTTP/3

track http redirection http://wubigo.com/post -> http://wubigo.com/post/ -> https://wubigo.com/post/ curl -IL http://wubigo.com/post HTTP/1.1 301 Moved Permanently Location: https://wubigo.com/post Via: 1.1 varnish X-Cache: HIT X-Cache-Hits: 1 HTTP/1.1 200 OK Content-Length: 0 HTTP/1.1 301 Moved Permanently Strict-Transport-Security: max-age=31556952 Location: http://wubigo.com/post/ Access-Control-Allow-Origin: * X-Cache: HIT X-Cache-Hits: 1 HTTP/1.1 301 Moved Permanently Location: https://wubigo.com/post/ X-Cache: HIT X-Cache-Hits: 1 HTTP/1.1 200 OK Access-Control-Allow-Origin: * Cache-Control: max-age=600 X-Cache: HIT X-Cache-Hits: 1 main goal HTTP/2’s multiplexed connections, allowing multiple streams of data to reach all the endpoints independently.

域名名字服务器配置

检查域名使用的名字服务器 https://lookup.icann.org/ 更改名字服务器 更改名字服务器需通过域名注册服务商进行更改

Thingboard

docker run -it -p 9090:9090 -p 1883:1883 -p 5683:5683/udp -v ~/.mytb-data:/data -v ~/.mytb-logs:/var/log/thingsboard --name mytb --restart always thingsboard/tb:2.3.1 default credentials: Systen Administrator: [email protected] / sysadmin Tenant Administrator: [email protected] / tenant Customer User: [email protected] / customer Manage device credentials login as tenant

Vue notes

Single File Components single-file components with a .vue extension is build by tools such as Webpack or Browserify A single-file component consists of three parts: - <template> which contains the component’s markup in plain HTML - <script> which exports the component object constructor that consists of all the JS logic within that component - <style> which contains all the component styles CORE Virtual DOM Component-based UI Focus on the view library—separate concerns for routing, state management Official component library for building mobile apps D:\code\API\web>npm config list ; cli configs metrics-registry = "https://registry.

Linux Chrome

禁止启动时候恢复页面提示 Version 73.0.3683.86 (Official Build) (64-bit) 方法1(可靠) 首先关闭chrome,然后修改下面的设置,修改完后重启 .config/google-chrome/Default/Preferences sed -i '/exit_type:Crashed/exit_type:Normal/` windows用户请参考下面的视频 Chrome Didn’t Shut Down Correctly Error Solved Windows 7 方法2(不可靠) Type in address bar (Crtl+L). chrome://flags/#infinite-session-restore Click on the right drop-down menu and change the ‘Default’ value to ‘Disable’. Then restart Chrome to apply that setting enter password to unlock your keyring 方法1(可靠) set password-store to basic dpkg -L google-chrome-stable |grep desktop | xargs cp {1} ~/.

Web vue-cli Note

webpack-simple Webpack is a module bundler for Javascript applications, it starts at the entrypoint and then build a dependency graph of the whole application, pulling those dependencies into one or more bundles that can be included in application. It supports multiple different file types through loaders, loaders will take files that have no concept of modules (e.g. css) and process them in a way that allows them to participate

创业公司IT云服务系列之内容托管服务

邮枪Concept plan(免费用户并增加一张信用卡)额度介绍 每月免费发送1万封邮件,超过1万封的邮件开始收费,$0.5//1000封 接收邮件免费 支持一千个定制域名 可以向任何邮箱地址发送而不用授权 创建发送账号 接收邮件