發表文章

目前顯示的是 6月, 2018的文章

Latest

英文、中文 / 諺語、片語、成語、口語對照 (2025.08.25 更新)

做表面功夫 go through the motion 目中無人;自視甚高 have one's nose in the air 有完沒完;別再說了 give it a rest  = can in 兵來將擋,水來土掩 roll with the punches (衍伸至拳擊) = take it as it comes 時間過得好慢。 The day is dragging on. 少臭美了 be full of oneself = Get over yourself! 你真是自以為是。 You are really all about yourself. 你一定找得到的。 You can't miss it. 那還用說。 You're telling me. 物超所值 get more bang for the buck 加把勁 pull one's socks up 出洋相;大吵大鬧 make a scene 風馬牛不相及 be neither here nor there 挖東牆補西牆 rob Peter to pay Paul 我覺得事有蹊蹺。 I smell a rat.  冤冤相報何時了。 Two wrongs don't make a right. 沒魚,蝦也好。 It's not so great, but it'll have to do.  自斷後路 burn one's bridge  這是掛保證的。 You can take it to the bank.  = You can quote me on that. 白手起家 rags-to-riches 放規矩點! Behave youself. = Mind your p's and q's. 悉聽尊便。 Anything you say. = It's up to you. = As you wish. 夠了!(住嘴) Cut it out! = Stop it! 閉嘴! Hold your tongue. = Shut up! 別太挑剔了! Don't be so fussy. 別搞砸了! Don't blow it. 別老叫我做東做西! Don't boss me arou...

[C#] ?? 兩個問號的的用法

a ?? 321 意思是 if (a == null) {     a = 321; } else {     a = a; } 參考: C# ? 問號的用途

[C#] 如何讓int有Null,問號? (2018.06.28 更新)

int? Money; Money = row["Money"] == DBNull.Value ? (int?) null : (int)row["Money"]; 這個式子的意思是用三元運算子寫成, 意思是說如果從資料庫抓出來的row["Money"]等於DBNull.Value時, 就把null轉成int?的型態丟給Money,否則row["Money"]轉成int型態丟給Money。 DBNull.Value 用來抓資料庫裡面的空值 (直接在C#用Null會抓不到) int? 則可以讓int有Null (int?中的?代表System.Nullable<T>,可以讓int有Null) - - - 最上面的程式碼意思為: int? Money = isDataNull(row["Money"]); private int? isDataNull (object obj) {     if (obj == DBNull.Value)     {         return null;     }     else     {         return (int)obj;     } }

寫程式時的好用工具一覽

【Git】 SourceTree - Git之圖形化 【Web Debug】 Postman - 可輸入資料來看回傳等... Fiddler - 可查看JSON檔等... 【SQL】 SQL Server Profiler - 錄製SQL內部過程 MySQL Administrator - 相較於phpMyAdmin,這個軟體可執行大量的MySQL指令 【文字編輯器】 Sublime Text 3 - 開網頁專案很方便 Notepad++ - 寫單一網頁 【伺服器】 Xampp - 寫PHP很方便的開發環境 【Visual Studio 插件】 Code Compare - 比較多個文件中的程式碼 CodeMaid - 程式碼排版 CodeLens - 知道Function被誰使用 jQuery Code Snippets - 快速輸入jQuery SonarLint for Visual Studio - 檢查程式碼品質

兩本書「資訊遊俠列傳」&「我的電腦探索」的延伸心得

其實我是今天才知道這兩本書的:「資訊遊俠列傳」&「我的電腦探索」 內容我也沒有看過-_- 不過我有Google到一些資料: [賞書] 我的電腦探索 & 資訊遊俠列傳 Re: [問題] 台灣十大電腦高手 我的電腦探索 侯捷網站 Re: [討論] 唐鳳真的很有名嗎?很厲害嗎? 維基百科 - 唐鳳 早熟的駭客(轉貼) - 文學藝術網路咖啡館- 深藍論壇 當時的一些名人有: 葉秉哲 賀元 唐宗漢(唐鳳) 侯俊傑(侯捷) 賴明宗 劉燈 黃景彤 有些是當時第一波的網路創業家~ 元老級的,我覺得真的很厲害呀! 延伸字詞: 做中文圖像學習系統Chineasy的薛曉嵐~ 建中資訊社 楠崗語

SSMS改成深色主題

為了眼睛的舒適度~ 要將SQL Server Management Studio 2017的主題出現"深色"的話 必須到ssms.pkgundef這個檔案去改~ (我電腦的預設路徑為C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\ssms.pkgundef) 找到「// Remove Dark theme」這一行後~ 把相關的行號都註解掉或刪掉 (我會先把原始檔案備份) 資料來源: https://nullpointertonowhere.com/2017/07/06/ssms-2017-how-to-use-the-hidden-dark-theme/

ASP.NET MVC5 完全攻略_筆記 (未完待續)

圖片
蔣金南所寫的這本書並不是傳統意義上的的入門書籍@@ - - - 針對一向開發技術,只要了解最根本性的東西,高頻率的版本更替就不怕了~ - - - 程式的設計模式 = 攻敵招式 框架背後的設計原理 = 內功心法 內功心法很重要,是本質啊! - - - GoF的「Design Patterns: Elements of Reusable Object-Oriented Software」一書可能要找個時間來看~ 而 如何學GoF的Design Patterns 則寫得不錯! - - - UI的呈現通常穩定性最差, 因為為了呈現效果得一直調整HTML標籤~ 為"木桶原理"在軟體設計的成果~ 木桶原理 (短板理論) (Cannikin Law):一般情況下,水桶的水量取決於木板最低的那個。而團隊的戰鬥力也取決於最弱的那一位,因為他限制和制約了團隊。 另外也有反木桶原理(長板理論)? 我只知道有張圖很經典~ (圖片為轉載) 參考: 木桶原理 反木桶原理 - - - MVC的最初提出者為奧斯陸大學的名譽教授Trygve M. H. Reenskaug 相關文獻: The Model-View-Controller (MVC) Its Past and Present The original MVC reports Trygve Reenskaug Dept. of Informatics University of Oslo Applications Programming in Smalltalk-80(TM):How to use Model-View-Controller (MVC) - - - Trygve M. H. Reenskaug將MVC視為一種範例~ 不過演變至今MVC貌似已經是一種模式了? 模式和範例的差別: 模式 (Pattern):可直接應用到具體系統上 典範 / 範例 (Paradigm):僅提供一些指導方針 - - - 2018.06.02讀,只讀了幾頁而已... - - - 參考: https://zh.wikipedia.org/wiki/MVC