核心升級問題

 //--------------------------------------------------------------//Author:lanyang123456//2011-10-15//--------------------------------------------------------------前面(http://blog.csdn.net/lanyang123456/article/details/6583254)曾提到2.6.18系統下編譯2.6.21核心的問題

讀取的GPS資料為亂碼

 //----------------------------------------------------//AUTHOR: lanyang123456//DATE:

error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or

//-----------------------------------------------------------//AUTHOR:lanyang123456//DATE:2011-11-10//-----------------------------------------------------------Linux系統下,運行sniff程式需要libpcap庫。首先下載安裝該庫,:

使用手機注意防輻射

 電磁波無處不在。從電視廣播,到手機對講機等各種通訊設施,都難免會產生輻射。電磁輻射對人健康的影響,一直沒有形成令人信服的定論,當然從人體的角度考慮,越小越好。拋開空氣中那些不可抗拒的電視訊號等不談,我們從自己的手機使用上,可以著手如下方面,未雨綢繆:1.撥號時,先接通再放到耳邊傳說,手機在發起呼叫的瞬間,輻射功率遠大於正常通話時。所以,你撥號之後,等電話通了之後再放到耳邊。2.睡覺時,手機放遠一些理論上,距離越遠,對人的電磁幹擾越小。既然睡覺的時候用不著電話,放遠一點兒也無妨(關機更好,還省電

針對Eclipse4.0版本造成以前3.X的程式在調用webservice會出錯的改變

最典型的就是以前的版本程式可以使用,如果使用了4.0 JUDO版本後會出錯:java.lang.NoClassDefFoundError: org.ksoap2.serialization.SoapObject這種錯誤時Eclipse的升級造成的,需要在工程裡建個libs檔案夾,把你當時引入的jar包拷進去,然後工程右鍵-->Propertier(屬性)-->java build path-->標籤(libraries)把你引的包都去除,然後clean工程,再運行就OK了,4.

VC擷取滑鼠hook時的做法

//NCButtonUpHelper.h#pragma  onceextern HHOOK hMouseHook;extern bool bNcLButtonDown;LRESULT CALLBACK MouseHookProc(int nCode,WPARAM wParam, LPARAM lParam);  //NCButtonUpHelper.cpp#include "stdafx.h"HHOOK hMouseHook = NULL;bool bNcLButtonDown = false;

網路對時程式

程式協助:typedef struct _SYSTEMTIME {  // st     WORD wYear;     WORD wMonth;     WORD wDayOfWeek;     WORD wDay;     WORD wHour;     WORD wMinute;     WORD wSecond;     WORD wMilliseconds; } SYSTEMTIME;The FILETIME structure is a 64-bit value

一個中國駭客致中國駭客和紅客的公開信[轉載]

一個中國駭客致中國駭客和紅客的公開信 請大家對事不要對人,做出中肯的評論 ---------------------------------------------------- 在此之前,大家先讀一則寓言: 一粒榕樹的種子偶然落在地裡,它對自己生命的未來感到迷惑,抬起頭來看見一棵百年的榕樹-它的母親-正昂然地站立在藍天的背景上. 種子說:”媽媽,您怎麼能如此偉大地站立在大地之上呢?”

調用其它程式

WinExec原型:UINT WinExec(  LPCSTR lpCmdLine,  // address of command line  UINT uCmdShow      // window style for new application);用於十六位作業系統及相容系統.例如:WinExec("notepad.exe f:////調用程式.txt",SW_SHOW);WinExec("notepad.exe

時間伺服器RFC868

rfc868Network Working Group J. Postel - ISIRequest for Comments: 868 K. Harrenstien - SRI May 1983

socket 學習筆記(1)

MAKEWORDThe MAKEWORD macro creates an unsigned 16-bit integer by concatenating two given unsigned character values. WORD MAKEWORD(  BYTE bLow,  // low-order byte of short value  BYTE bHigh  // high-order byte of short value); ParametersbLow

PhD第一周

引子家裡人一直都想要我讀博士,其實我自己倒是沒有太多渴望。學習一直也不是很努力,大學一次獎學金都沒有拿到,本以為本科畢業時能好好找個工作,結果發現自己什麼都不懂,找到工作機會渺茫,結果只好躲在學校。以為研究生能重新奮發,卻不知時光飛逝,一年下來毫無長進,只能選擇繼續躲在學校。唉,這次真是最後一次了,要不,博士之後,還能躲在哪呢?  不過,有得地方躲,總比找不到地方要好些吧。  第一周 我運氣不錯,被安排到了一個實驗室(Think lab),得以擺脫和廣大博士同學一起坐大廳的局勢。整個實驗室不到2

How to get DataKey, RowIndex or Row from a GridView row event

When using a GridView, it's very common to raise an event from a control inside the GridView and then handle it in the code behind file. In most cases, we need know which row that control is in and what is the row index or the values of DataKey in

在MFC擴充DLL中輸出對話方塊

從MFC擴充動態連結程式庫中輸出對話方塊似乎是很容易的.你僅需要將相應類用AFX_EXT_CLASS輸出即可。如果你用一個應用程式和一個動態連結程式庫建立或許會成功。但是如果你在應用程式和DLL中都插入更多的資源,你將會得到嚴重錯誤。 原因如下: 表示一個指定資源的正常途徑是用它的ID。ID是一個用資源編輯器定義的整型常量。現在,假定你已有一個資源(是字串)命名為ID_MY_TEXT. CString strText; strText.LoadString( ID_MY_TEXT );

寫在08年的第一天

08年1月1日:    就是轉眼前,參加工作已經一年有餘,而今年也已經25歲,馬上也就是奔三的人了。時光真的不饒人,想來就會後怕。    記得06年8月10日晚上,從深圳到上海,當時剛大隊培訓完,住在陸家嘴的中星招待所,第二天就進了部門。    從戰戰兢兢的叫每個同事“老師”,到現在在辦公室用電話大聲地討論問題,旁若無人。我想這個是最大的轉變。    工作很辛苦,基本上每天都在加班,很少有雙休日。即使偶爾老大們說周末能休息就休息一下吧,等周六早上睡醒了,還是去了公司。說實話,不是為了那點加班費。

函數重載的背後(自己理解,一小點)

int add(int x,int y){    return x+y;}float add(float x,float y){  return x+y;}在C語言中如果單獨的一個add函數,編譯後的函數名是_add,而在C++編譯器中,int add(int x,int y)會編譯成類似_add_int_int這樣的名字(稱為“mangled name”),float add(float x,float y)則被編譯成_add_float _float,mangled

Do we really need a email client?

The reason to have a email client is to send and receive all my emails from different. Besides, the storage of email is very limited in the old days. Usually using an client software can easy this problem but now this looks not a big issue. I will

armlinux啟動設定檔 /etc/init.d/rcS

#! /bin/shPATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:runlevel=Sprevlevel=Numask 022export PATH runlevel prevlevel## Trap CTRL-C &c only in this shell so we can interrupt subprocesses.#trap ":" INT QUIT TSTP#SCSI modules#/bin/insmod

Handle UserControl raised event (2): Raising Timing

Following the last post: Handle UserControl raised event. We will have a look at the timing of such event raised.The UserControl event raise timing depends how the event is implemented in the UserControl. In the last post, we have a UserControl

Handle UserControl raised event

文章目錄 What is the need?How to do this?Conclusion What is the need?The scenario is I have a user control which contains a set of textboxes. When the text of a textbox is changed, I want handle this event in the page which

總頁數: 61357 1 .... 26168 26169 26170 26171 26172 .... 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.