我的老婆幾個月沒用,突然反應遲鈍了……

  幾個月未曾用,開機後發現新買的120GB 8MB Cache的WD 硬碟壞了。壞了拉倒,沒什麼要緊資料,只是可惜了好多H-animation 和 漫畫什麼的。  進入windows,時間甚長。 反應異常遲鈍。一個SVCHOST佔用了90%的資源。 病毒自然不可能。Kill Process後發現網路服務被Kill了。 結果就去懷疑相關的網路服務異常,未果。 

Git code.google.com

因為工作關係,需要維持一個Project,於是選定了code.google.com好吧,如果再讓我選一次,我一定會.........說一下吧,首先去code.google.com建立一個工程,然後選擇用GIT作為 版本控制工具。以前一直用TFS的,SVN也被棄用很久了,沒辦法,上手GIT把。下面說一遍 code.google.com 使用GIT 一步步開始配置1. 建立工程,選擇GIT作為版本控制 

WPF CodeBehind 草稿

var column1 = new DataGridTextColumn(); column1.Header = "Hello World"; column1.Binding = new Binding("firstName"); var column2 = new DataGridTemplateColumn(); column2.Header = "Template Column"; var template = new DataTemplate { DataType =

ie下動態控制項的諸多問題

在ie6,ie7都有這樣一些問題: input checkbox radio 無法動態設定checked radio 對象莫名其妙被篡改。 解決方案: 1.使用 oContainer.innerHTML = '<input ...........>'這樣即使oContainer稍後再併入父容器,也不會造成checked無法動態設定。 如果不這樣,而是:var oInput = document.createElement('input');oInput.type =

SetWindowPos(…) 的一些注意事項。

        前些天在調整控制項位置,總是出現非預想的錯誤。我完全沒有注意到msdn關於參數的注釋:hWnd [in] Handle to the window. hWndInsertAfter [in] Handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.X [in]

VC 在WIN32 中 使用 GDIPlus

1.在 stdafx.h 中注釋掉#define WIN32_LEAN_AND_MEAN 或者添加#include <windows.h>在visual studio 2012 中似乎預設不用改2. 找到一個 cpp 檔案,加入:#include <gdiplus.h>using namespace Gdiplus;#pragma comment(lib,"gdiplus.lib")3.winmain函數最上面添加ULONG_PTR

wpf TabControl TabItem 被點擊資訊

<TabItem> <TabItem.Header> <Label Content="賬戶資訊" HorizontalAlignment="Stretch" MouseLeftButtonUp="TabItemHeader_ClientInfo_MouseLeftButtonUp" />

MessageBox ShowNumber 之類的迷案

 我以前發生過,並且經常發生這樣一種情況 , 代碼中加入 MessageBox , 則代碼正常 , 一旦去除 ,立刻有問題.難道message box 是一個黑函數? 今天又遇到了 , 還好我有寶貝給我解決了這個問題. 癥狀: CreateThread(   Global::GetHentaiIp .... ) 無法擷取ip , 但是開頭加個 MessageBox 就沒問題了. 原因:        沒有調用WSAStartup 外部原因:         加入MessageBox

html table 邊縫問題

純css: 1 .在 table 的 css 中聲明: border-collapse: collapse; border-spacing: 0;2 .th td 的css 中聲明: padding:0; 半純css: 1.上同.2.<table cell-padding="0" ............. 詳細見: http://www.dreamdu.com/xhtml/attribute_cellpadding_cellspacing/ http://www.haoxiai.net/

DataGirdView 建立 Row 滑鼠點擊 資料變成 空白 的問題

今日使用DataGridView在Form中Init代碼如下: dataGridView1.SetColumn(typeof(DebtNormal),ePropertyFieldFilter.All); var debtinfo = new DebtNormal(); debtinfo.債券代碼="測試"; var row = new DataGridViewRow();

簡單比較中的題

PSTR psTest = "/x89"; 0x89 == psTest[0]  是否 成立? 不成立. 我本來很疑惑, PSTR[0] 是一個 byte , 0x89 也是一個byte . 反組譯碼如下: 003533E7 8B 45 08         mov         eax,dword ptr [psTest] 003533EA 0F B6 08         movsx       ecx,byte ptr [eax] 003533ED 81 F9 89 00 00 00

Delegate 與 Event 的一些問題

過去曾有人說過 Delegate 無法實現多播,其實並不是這樣,System.MulticastDelegate 是Delegate 的基類,所以很明顯,Delegate是可以支援多播的,相信許多人也是這樣麼用的。Event是一個特例化的Delegate ,  Event在本類中可以作為一個Delegate,實現CallEvent , 但是如果在子類中,就無法CallEvent,cs將告知The event '************************' can only appear

ManualResetEvent 與 AutoResetEvent

1. ManualResetEvnet var mevent = new ManualResetEvent(false); Task.Factory.StartNew(() => { mevent.WaitOne();

控制項字型問題

控制項:Combo Box代碼:    static CFont font;    font.CreateStockObject(ANSI_VAR_FONT);    combo.SetFont(&font);  隨後對 Combo Box 進行 AddString 操作。 字型將是 ANSI_VAR_FONT   CDC* pDC = pComboBox->GetDC();  pDC->GetTextFaceW(strTest);    // Notice Here @1 

VC 一些配置問題, include, lib 種種

1.  Configuration Properties -> General Output Directory 設定輸出路徑TargetName 設定輸出的檔案名稱,不包擴副檔名,一般是 $(ProjectName)Target Extension 設定輸的副檔名2.  Configuration Properties -> VC++ Directories設定 執行路徑,Include路徑,Reference路徑,lib路徑,winrt路徑,source

IE6下 js 訪問 document.body 為空白.

document.body為空白或不是對象2009-10-13 21:34</body><script type="text/javascript" src="ui/js/table/table.js"></script><script type="text/javascript" src="ui/js/jquery.js"></script><script type="text/javascript"

DLL main 函數注意事項 switch

switch (ul_reason_for_call){case DLL_PROCESS_ATTACH:{LPCWSTR pcw = L"DLL_PROCESS_ATTACH";GetChu::udpclient.Send((PVOID)pcw,wcslen(pcw)*2+2);getchu.Start();break;}case DLL_THREAD_ATTACH:break;case DLL_THREAD_DETACH:break;case

期貨資料擷取的一些問題匯總

1.  CFFEX IF 資料 , 每秒2筆。 如果沒有成交,僅僅委託變動是沒有資料的2.  這類資料是 證券交易所推送到 期貨經紀公司 每秒取2筆。因為不是即時資料,所以有可能每天的開盤第一筆資料的last price 不是open price.比如: IF1302 2012/12/27 9:15:00 的第一筆資料(這一秒也只有這一筆資料)2012-12-27 09:14:00, 2, 0, CFFEX, IF, IF1302, 201302, 0, 2472.6, 0, 0, 0, -1.

Queue 需要注意的多線程衝突問題

最近在做一個AsyncEvent,內部使用了Queue,因為效率問題,所以不敢用lock,以為Queue也就push一個T,不用同步。結果今天就崩了,Queue.Enqueue 出錯,提示很奇怪: Source array was not long enough. Check srcIndex and length , and the array's lower bounds.bing了一下,發現是其內部進行Array.Copy出錯的原因。國外的論壇:、http://odetocode.com/

VC.NET 需要注意的一些問題

 String^ abc = gcnew String(); String^ abc = nullptroverride .net 類方法:void  Reset() override{....}屬性:property virtual int Count{    int get(){return this->m_Count;}    set(int value){this->m_Count=value;}}索引:virtual property int

總頁數: 61357 1 .... 19175 19176 19177 19178 19179 .... 61357 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.