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
@ECHO OFF
SET DIFFTOOL="C:\Program Files (x86)\WinMerge\WinMergeU.exe -s -e -x -ul -ur -wl -dl %%bname -dr %%yname %%base %%mine"
SET MERGETOOL="C:\Program Files (x86)\WinMerge\WinMergeU.exe %%theirs %%mine %%merged"
REG ADD HKEY_CURRENT_USER\Software\TortoiseGit /v Diff /t REG_SZ /d %DIFFTOOL% /f
REG ADD HKEY_CURRENT_USER\Software\TortoiseGit /v DiffViewer /t REG_SZ /d %DIFFTOOL% /f
REG ADD HKEY_CURRENT_USER\Software\TortoiseGit /v Merge /t REG_SZ /d %MERGETOOL% /f
@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 / 170902_Git_AMA_README.md
Created September 2, 2017 11:57
2017/9/2 FB 直播:Git 新手上路 AMA 實作練習腳本
@doggy8088
doggy8088 / .gitconfig
Last active March 10, 2025 06:21
常用的 Git Alias 定義
[alias]
st = status
sts = status -s
co = checkout
ci = commit
br = branch -a
re = remote
di = diff
dump = cat-file -p
type = cat-file -t
@doggy8088
doggy8088 / Angular 18 Dev Setup.md
Last active January 26, 2026 13:41
Angular 18 開發環境說明

Angular 18 開發環境說明

為了能讓大家能夠順利的建立起 Angular 18 開發環境,以下是需要安裝的相關軟體與安裝步驟與說明。

Angular LOGO

[ 作業系統 ]

  • Windows 10 以上版本
  • Mac OS X 10.6 以上版本
@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 / web.config
Created January 17, 2017 15:39
將 Angular 2 含有路由機制的 SPA 網頁應用程式部署到 IIS 網站伺服器
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="SPA" stopProcessing="true">
<match url=".*" />
<action type="Rewrite" url="/" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
@doggy8088
doggy8088 / Angular 2 開發實戰:新手入門篇 實作環境說明.md
Last active May 21, 2022 13:35
Angular 2 開發實戰:新手入門篇實作環境說明

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

實作環境說明

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

[ 作業系統 ]