Skip to content

Instantly share code, notes, and snippets.

@jasper-lai
jasper-lai / task_run_01.cs
Last active December 20, 2021 03:32
Task.Run() sample
/*
SharpLab tools in Run mode:
• value.Inspect()
• Inspect.Heap(object)
• Inspect.Stack(value)
• Inspect.MemoryGraph(value1, value2, …)
*/
using System;
using System.Threading;
using System.Threading.Tasks;
@jasper-lai
jasper-lai / Appendix_1_1.png
Last active February 15, 2021 11:12
SQL Server: 如何使用 .dacpac (資料層應用程式) 進行資料庫結構比對
Appendix_1_1.png
@jasper-lai
jasper-lai / OracleSynonym.html
Last active December 31, 2020 06:14
Oracle: Synonym (別名) 的用途及實作練習
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
<title>Oracle: Synonym (別名) 的用途及實作練習</title>
</head>
<body>
@jasper-lai
jasper-lai / Null_1.png
Last active December 28, 2020 02:49
Oracle: Empty string and NULL allowd column
Null_1.png
@jasper-lai
jasper-lai / Appendix_1_1.png
Last active December 25, 2020 06:53
如何設定 Windows Server 2019 的網卡為 private network profile
Appendix_1_1.png
az policy definition create --name 'denyCoolTiering' --description 'Deny cool access tiering for storage' --rules '{
"if": {
"allOf": [{
"field": "type",
"equals": "Microsoft.Storage/storageAccounts"
},
{
"field": "kind",
"equals": "BlobStorage"
},
{
"if": {
"allOf": [{
"field": "type",
"equals": "Microsoft.Storage/storageAccounts"
},
{
"field": "kind",
"equals": "BlobStorage"
},
@jasper-lai
jasper-lai / .gitignore
Last active December 13, 2019 09:43
一個圖片的儲存空間 for ACUCOBOL COMP DATA TYPE 解析 -- by 傑士伯的IT學習之路
###SublimeText###
# cache files for sublime text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
# workspace files are user-specific
*.sublime-workspace
###SublimeText###
# cache files for sublime text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
# workspace files are user-specific
*.sublime-workspace