Skip to content

Instantly share code, notes, and snippets.

View doggy8088's full-sized avatar
🙂
Giving is a reward in itself

Will 保哥 doggy8088

🙂
Giving is a reward in itself
View GitHub Profile
@doggy8088
doggy8088 / 01 體驗容器生命週期.bat
Last active May 14, 2019 02:25
迎接嶄新的Windows容器叢集架構:Kubernetes - 演講過程示範的命令 ( #Study4Love ) - http://bit.ly/study4love-k8s-windows
REM 建立容器
docker run --name myc -it microsoft/windowsservercore cmd
REM 列出容器 (執行中的容器)
docker ps
REM 列出容器 (所有的的容器)
@doggy8088
doggy8088 / ODP.NET README.md
Last active May 12, 2020 05:31
Oracle.EntityFrameworkCore & Oracle.ManagedDataAccess.Core NuGet package release notes

下載 Release Notes 的方式

$version = '2.19.70'
nuget.exe install Oracle.EntityFrameworkCore -Version $version -OutputDirectory out
code out\Oracle.EntityFrameworkCore.$version\readme.txt

nuget.exe install Oracle.ManagedDataAccess.Core -Version $version -OutputDirectory out
code out\Oracle.ManagedDataAccess.Core.$version\readme.txt
@doggy8088
doggy8088 / VS2015: Views\Shared\Error.cshtml
Created April 19, 2017 16:52
Visual Studio 2017 中 ASP.NET MVC 5 專案範本的 \Views\Shared\Error.cshtml 內容錯誤
@model System.Web.Mvc.HandleErrorInfo
@{
ViewBag.Title = "錯誤";
}
<h1 class="text-danger">錯誤。</h1>
<h2 class="text-danger">處理您的要求時發生錯誤。</h2>
@doggy8088
doggy8088 / MVC5_Views_Shared_Error.md
Last active September 30, 2020 07:20
VS2019 預設 MVC5 專案範本的 Views\Shared\Error.cshtml 錯誤修正
  • 預設內容

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta name="viewport" content="width=device-width" />
        <title>錯誤</title>
@doggy8088
doggy8088 / Oracle.ManagedDataAccess_v19.11.0_README.md
Created March 16, 2021 03:42
Oracle.ManagedDataAccess NuGet Package 19.11.0 README

Oracle.ManagedDataAccess NuGet Package 19.11.0 README

Release Notes: Oracle Data Provider for .NET, Managed Driver

March 2021

This document provides information that supplements the Oracle Data Provider for .NET (ODP.NET) documentation. You have downloaded Oracle Data Provider for .NET from Oracle, the license agreement to which is available at

function New-RandomPassword {
param(
[Parameter()]
[int]$MinimumPasswordLength = 8,
[Parameter()]
[int]$MaximumPasswordLength = 12,
[Parameter()]
[switch]$ConvertToSecureString
)
$length = Get-Random -Minimum $MinimumPasswordLength -Maximum $MaximumPasswordLength
@doggy8088
doggy8088 / Program.cs
Created November 29, 2021 16:48
Serilog 與 ASP.NET Core 6.0 範例
using Serilog;
using Serilog.Events;
var builder = WebApplication.CreateBuilder(args);
Log.Logger = new LoggerConfiguration()
.ReadFrom.Configuration(builder.Configuration)
.CreateLogger();
try
@doggy8088
doggy8088 / Angular 2 開發實戰:新手入門篇 實作環境說明.md
Last active May 21, 2022 13:35
Angular 2 開發實戰:新手入門篇實作環境說明

Angular 2 開發實戰:新手入門篇 實作環境說明

實作環境說明

為了能讓大家能在課堂上順利地進行實作,請先將需要的軟體全部安裝好,以下是安裝的相關軟體與安裝步驟與說明。

[ 作業系統 ]