三元運算子回傳lambda expression

摘要: 紀錄一下系列,比較細、片段的東西 阅读全文
posted @ 2019-11-15 10:41 seako 阅读(178) 评论(0) 推荐(0) 编辑

[LeetCode] 4. Median of Two Sorted Arrays

摘要: 題目連結 悲慘的效率 討論內有一篇 Share my O(log(min(m,n)) solution with explanation 為了解決這個問題,我們需要了解"什麼是中位數",統計上,中位數是用於分割一個集合為兩個等長的子集,其中一個子集總是大於另一個。如果我們了解中位數的分割方法,我們離 阅读全文
posted @ 2019-11-15 10:15 seako 阅读(72) 评论(0) 推荐(0) 编辑

[個人紀錄] RabbitMQ安裝

摘要: 參考資料 https://blog.csdn.net/tjcyjd/article/details/77150893 https://blog.csdn.net/u014308482/article/details/53994401 https://blog.yowko.com/2017/05/in 阅读全文
posted @ 2019-11-15 10:12 seako 阅读(232) 评论(0) 推荐(0) 编辑

[Silverlight 4] Textbox style模擬Textblock 使可以選取、複製

摘要: childwindow 做為訊息視窗,使用textblock,可是textbloc無法選取內容及複製, 就改用textbox假裝成textblock 原本的textblock <controls:ChildWindow x:Class="ManageBack.Controls.MessageWind 阅读全文
posted @ 2019-11-15 10:11 seako 阅读(111) 评论(0) 推荐(0) 编辑

[Silverlight 4] 參數的傳遞方法

摘要: Silverlight都會有一個專案叫 *.Web,有個ManagePage.aspx裝戴Silverlight元件,也是應用程式的入口 然後還會有一個專案(此處叫ManageBack),會編譯成Silverlight .xap元件,供上面裝戴 ManageBack的App.xaml可提供應用程事週 阅读全文
posted @ 2019-11-15 10:10 seako 阅读(138) 评论(0) 推荐(0) 编辑

[個人紀錄] regular 搜集

摘要: 判斷有理數 ^(0|[1-9]([0-9]{1,5})?)((\.(([0-9]{1,5})?[1-9])))?$ 阅读全文
posted @ 2019-11-15 10:08 seako 阅读(69) 评论(0) 推荐(0) 编辑

[個人紀錄] git 疑難排解

摘要: 1.git pull 時發生錯誤,要拉下來的檔案內含有檔名太長的檔案 ans: https://stackoverflow.com/questions/22575662/filename-too-long-in-git-for-windows git config --system core.lon 阅读全文
posted @ 2019-11-15 10:08 seako 阅读(77) 评论(0) 推荐(0) 编辑

[個人紀錄] git 設定

摘要: -- git history git config --global alias.history "log --graph --all --pretty=format:'%C(bold blue)%H%Creset %C(bold green)%ai%Creset %C(bold cyan)(%ar 阅读全文
posted @ 2019-11-15 10:08 seako 阅读(125) 评论(0) 推荐(0) 编辑

[Leetcode] 1120. Maximum Average Subtree

摘要: Given the root of a binary tree, find the maximum average value of any subtree of that tree. (A subtree of a tree is any node of that tree plus all it 阅读全文
posted @ 2019-07-15 00:03 seako 阅读(700) 评论(0) 推荐(0) 编辑

[Leetcode] 118. Pascal's Triangle

摘要: Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. In Pascal's triangle, each number is the sum of the two numbers 阅读全文
posted @ 2019-07-14 23:37 seako 阅读(133) 评论(0) 推荐(0) 编辑