Skip to content

Instantly share code, notes, and snippets.

# 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工作建立大量並行工作練習
{
var isStop = false;
var thread = new Thread(() =>
{
while (!isStop)
{
Thread.Sleep(1000);
Console.WriteLine("Thread = {0} 正在運行", Thread.CurrentThread.ManagedThreadId);
}
});
@hochun836
hochun836 / [c] cmd
Last active October 31, 2023 06:05
# base
GNU
MinGW (Minimalist GNU for Windows)
GCC (GUN Compiler Collection)
gcc (GUN C Compiler)
g++ (GUN C++ Compiler)
VC++ (Microsoft Visual C++) aka. IDE
=> ref: https://zh.wikipedia.org/zh-tw/Microsoft_Visual_C%2B%2B
# base
hypertext transfer protocol (http)
hypertext transfer protocol secure (https)
transport layer security (tls)
# http version
http 0.9
http 1.0
http 1.1
http 2.0
# base
TODO
# sqlplus
sqlplus <user>/<password>@<server>