Time of Update: 2015-06-28
標籤:在keil裡面寫STM32程式,這樣寫GPIO_WriteBit(GPIOC,GPIO_Pin_9,1),編譯的時候就報enumerated type mixed with another type警告, 這說明資料類型混用了,進入GPIO_WriteBit函數發現其原型是void GPIO_WriteBit(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin, BitAction BitVal)這樣的
Time of Update: 2015-06-28
標籤: using System.IO; //test read txt //Resources.Load(...) loads an asset stored at path in a Resources folder. &
Time of Update: 2015-06-29
標籤:
Time of Update: 2015-06-28
標籤:相似性分析 tf-idf 基於社交網路的情緒化分析IIIBy 白熊花田(http://blog.csdn.net/whiterbear)
Time of Update: 2015-06-28
標籤:Problem:Write a program to: 1) wait for the user to input a positive integer N, and 2) output a NxN matrix on the screen with numbers 1 to N, rotating clockwise inward. For example, if N = 4, then the output should be:1 2 3 412 13 14 511 16 1
Time of Update: 2015-06-28
標籤: 運算式含義體現的邏輯[A-Za-z].*[0-9]|[0-9].*[A-Za-z]同時包含數字和字母1.要求檢索的字串符合多個條件中的一個,2.邏輯或^(?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])使用大小寫組合,並且含有特殊字元1.要求檢索的字串符合多個條件,邏輯與2.正向預查^(?!.*(.)\\1{2,})沒有重複3次及以上的同一字元反向預查Regex常見形式
Time of Update: 2015-06-28
標籤:之前被要求測試網卡頻寬能力,發現了iperf這個工具,記錄下來防止遺忘。 iperf是個開源跨平台測試頻寬工具,windows、linux、macOS……都支援,安裝也挺方便。 1.安裝 地址:https://iperf.fr/ 2.測試 參看:https://www.52os.net/articles/iperf-check-bandwidth.html 無論是tcp還是udp方式測試,都要一端運行伺服器模式,另一端運行用戶端模式,另外如果開了iptables,要開啟tcp
Time of Update: 2015-06-28
標籤:Find the Connected Component in the Undirected GraphFind the number connected component in the undirected graph. Each node in the graph contains a label and a list of its neighbors. (a connected component (or just component) of an undirected
Time of Update: 2015-06-28
標籤: 對於物理引擎, 以前只是簡單的聽說過, 並朦朧的認為其就是一個封裝了物理定律的模組, 如果我們遊戲需要類比真實的運動, 就使用它。至於物理引擎是如何類比真實的運動, 以及如何使用物理引擎, 什麼時候用, 則半點鐘概念都沒有。 最近因為工作關係,要在現有的遊戲引擎裡,整合Havok這款物理引擎。第一感覺就是資訊量稍大, 第二感覺就是不知道要拿這款物理引擎達到什麼樣的效果, 所以也是很惆悵, 但整體還是有一個大體計劃如何來完成這個頗具挑戰性的任務。 計劃如下:1、瞭解什麼是物理引擎,
Time of Update: 2015-06-28
標籤:linux mutt mail.dovecot dovecot: 支援4種協議:pop3、imap4、pops 、imaps。 有sasl認證能力。 自身支援ssl,可以不依賴openssl。
Time of Update: 2015-06-28
標籤:安裝Sublime www.sublimetext.com/3 1 多點編輯 選定某個編輯點後,按照ctrl,選定第二個點,以此類推 2 快速尋找檔案 ctrl+p 輸入需要尋找的檔案名稱 2 呼出命令提示 ctrl+shift+p 3 顯示/隱藏sidebar 所謂sidebar就是左側邊欄 ctrl+k,ctrl+b 注意,就是需要按四個鍵 4 開啟key bi
Time of Update: 2015-06-28
標籤:轉載請註明出處:zhouyelihua**http://blog.csdn.net/zhouyelihua/article/details/46674191**意義在攝像機標定過程中常常需要列印棋盤格程式,還有就是在投影儀標定當中常常需要投射和投影儀相同解析度的patternmatlab原始碼close all;clear all;clc;width=1024 ; %pattern的寬height=768 ;
Time of Update: 2015-06-28
標籤:How to Change hostname and/or IP Address Without Running sys-unconfig - Solaris 10 and below [Video] (Doc ID 1005908.1)本文不做翻譯,全文轉載:Applies to: Solaris SPARC Operating System - Version 8.0 to 10 1/13 U11 [Release 8.0 to 10.0]All PlatformsNote,
Time of Update: 2015-06-28
標籤:資料流圖 軟體工程 資料流圖的畫法 參考:http://blog.csdn.net/xianshengsun/article/details/7439537一、資料流圖的基本組成成分資料流:是由一組固定成分的資料群組成,表示資料的流向。值得注意的是,資料流圖中描述的是資料流,而不是控制流程。除了流向資料存放區或從資料存放區流出的資料不必命名外,每個資料流必須要有一
Time of Update: 2015-06-28
標籤:function與驚嘆號最近有空可以讓我靜下心來看看各種代碼,function與驚嘆號的頻繁出現,讓我回想起2個月前我回杭州最後參加團隊會議的時候,@西子劍影拋出的一樣的問題:如果在function之前加上驚嘆號 (!) 會怎麼樣?比如下面的代碼:!function(){alert(‘iifksp‘)}() //
Time of Update: 2015-06-28
標籤:vs2012 軟體工具 外掛程式 ide 第一次知道code map是在Visual Studio Ultimate 2012內建的講解上面,當時覺得十分好奇,所以查了查,結果一查就是好幾天。原來Visual Studio Ultimate 2012有這麼多我不知道的東西。什麼是code
Time of Update: 2015-06-28
標籤:latex pgfplots 繪圖 分組 參考:How can a title be placed for a group of pgfplots?, pgfplots手冊中5.7節Grouping
Time of Update: 2015-06-28
標籤:視窗透明 本人在vc開發過程中,多次因視窗透明而煞費苦心,在本人的前一文章《UpdateLayeredWindow與SetLayeredWindowAttributes》中已經指明實現視窗的透明方法,在過往實際的開發過程中我也一直沿襲這一做法,但也並不是屢試不爽,實際應用過程中的缺陷暴露如下:(1)SetLayeredWindowAttributes和UpdateLayeredWindow兩個API函數只能適用於層級視窗,
Time of Update: 2015-06-28
標籤:datatable xml 缺少根項目 writexml readxml
Time of Update: 2015-06-28
標籤:命令 transaction 屬性 初始化 串連 {System.InvalidOperationException: 如果分配給命令的串連位於本地掛起事務中,ExecuteReader 要求命令擁有事務。命令的 Transaction 屬性尚未初始化。 在