Skip to content

Instantly share code, notes, and snippets.

# base
Swagger // tools from SmartBear Software corp.
OpenAPI // the Swagger project was donated to the OpenAPI Initiative in 2015 and has since been referred to as OpenAPI
OAI (OpenAPI Initiative)
OAS (OpenAPI Specification) // previously known as Swagger Specification
Definition // ex. swagger.json, swagger.yaml
Document // generated by swagger.json (Definition)
# Specification
Swagger v2
# base
search engine ex. google, bing, baidu, ...
seo (search engine optimization)
seo is known as improving website ranking // website ranking => traffic => money
search algorithm is different from each search engine
seo is built on rules and strategies
tdk (title, description, keyword)
<title>Ho.Chun's Blog</title>
<meta name="description" content="xxx">
<meta name="keywords" content="yyy">
# base
html (hypertext markup language)
# content categories
=> ref: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories
# element (aka. tag)
## <ul>, <ol>
ul: unordered list
ol: ordered list
# base
css (cascading style sheets)
# box model
block box
inline box
=> ref: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/The_box_model
# stacking context
=> ref: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context
# base
#
# [note] learn
=> ref:
=> ref:
=> ref:
=> ref:
#
Request.Headers["xx"];
Request.QueryString["xx"];
Request.Form["xx"];
Request.Files["xx"];
Request.MapPath();
Response.Headers["xx"] = "yy";
Response.Write("Hello World");
Response.Redirect("https://google.com");
# base
TODO
# cmd
npm i -g typescript
tsc -v
tsc -h
tsc --all // show all compiler options
tsc --init // created a new tsconfig.json
tsc // compiles the current project (tsconfig.json in the working directory)
# Promise
see '_1 Promise.js'
# async/await
see '_2 async await.js'
# ArrayBuffer
// TODO
# Blob
# base
windows debugger (windbg)
new version: windbg preview
old version: windbg
# cmd
.cls // clear screen
# [note] download
=> ref: https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-download-tools
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace D008.利用TAP工作建立大量並行工作練習
{