This file contains 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 isStop = false; | |
var thread = new Thread(() => | |
{ | |
while (!isStop) | |
{ | |
Thread.Sleep(1000); | |
Console.WriteLine("Thread = {0} 正在運行", Thread.CurrentThread.ManagedThreadId); | |
} | |
}); |
This file contains 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
# 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 |
This file contains 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
# 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 |
This file contains 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
# base | |
TODO | |
# sqlplus | |
sqlplus <user>/<password>@<server> |
This file contains 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
# base | |
jpeg (joint photographic experts group) | |
mpeg (moving picture experts group) | |
ffmpeg (fast forward mpeg) | |
# video vs. audio (TODO) | |
video (視訊, 視頻, 看) | |
audio (音訊, 音頻, 聽) | |
H.264 (aka. AVC) (Advanced Video Coding) |
This file contains 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
# base | |
--- 1 ---> --- 4 ---> | |
hangfire client job storage hangfire server | |
<--- 2 --- <--- 3 --- | |
| | |
| | |
| | |
hangfire dashboard | |
This file contains 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
# c# version | |
=> ref: | |
# value type (值類型) | |
a variable of a value type contains an instance of the type | |
by default, on assignment, passing an argument to a method, and returning a method result, variable values are copied | |
=> ref: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/value-types | |
NOTE: a value type can be one of the two following kinds | |
- a structure type, which encapsulates data and related functionality |
This file contains 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
# base | |
jboss as (jboss application server): ce (community edition) | |
jboss eap (jboss enterprise application platform): ee (enterprise edition) | |
wildfly: wildfly 8 is after jboss as 7 | |
=> ref: https://www.itread01.com/content/1549218800.html | |
# file structure | |
%JBOSS_HOME%\bin\standalone.bat // entry point | |
%JBOSS_HOME%\bin\standalone.conf | |
%JBOSS_HOME%\standalone\configuration\standalone.xml |
This file contains 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
# base | |
devops (development, operations) | |
cicd (continuous integration, continuous deployment) | |
cicd in gitlab = gitlab + .gitlab-ci.yml + gitlab-runner.exe | |
*** .gitlab-ci.yml *** | |
pipeline > stage > job > script | |
one pipeline can contains multi stages | |
one stage can contains multi jobs | |
one job can contains one script list |
This file contains 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
# base | |
*** file structure *** | |
.sln (a solution file) means a solution | |
.proj (a project file) means a project | |
.csproj (c#) | |
.vbproj (vb.net) | |
.dbproj (database) | |
one solution can contain multi projects | |
*** nuget *** |