design pattern”Headfirst Design Pattern”

This is a backup of my reading notes: From:http://blog.4kiki.net/hsy75/article/1306/==============================================================================================================[8-21] finish the creaters of head first series and

Custom transaction control with openSession

public void runStatementsUsingSetUserConnection() {SqlMapClient sqlMapClient =SqlMapClientConfig.getSqlMapClient();Connection conn = null;SqlMapSession session = null;try {conn = dataSource.getConnection();conn.setAutoCommit(false);session =

兩種方法實現點擊視窗任意位置的拖拽

一般的視窗只有點擊地址標題列才能實現拖拽,以下代碼可以實現點擊任何位置產生拖拽。 1> 首先介紹MFC實現的方法:在對話方塊“屬性”欄中調出“message”中的WM_NCHITTEST,對於函數為OnNcHitTestLRESULT CFadeDlg::OnNcHitTest(CPoint point){// TODO: Add your message handler code here and/or call default return

An example of the and tags

<sql id="select-order"> select * from order </sql><sql id="select-count"> select count(*) as value from order </sql><sql id="where-shipped-after-value"> <![CDATA[ where shipDate > #value:DATE#

Aplying UML and Paterns

Part1 Introduction: [Chapter 1] This chapter describe the different of the analysisand design:the analysis is emphasize the investigation of the problem andrequirement,rather than a sloutions. Design is to fulfills the requirement ratherthan its

Custom transaction control with setUserTransaction

public void runStatementsUsingSetUserConnection() {SqlMapClient sqlMapClient =SqlMapClientConfig.getSqlMapClient();Connection conn = null;try {conn = dataSource.getConnection();conn.setAutoCommit(false);sqlMapClient.setUserConnection(conn);Person p =

VS的DDK環境配置

 轉自部落格園   Xelloss:http://www.cnblogs.com/Xelloss/archive/2009/09/08/1637148.html之前裝了DDK準備學習核心的,裝完後一直沒有測試,今天寫了個檔案讀寫準備測試,發現編譯不通,報出了“無法開啟包括檔案:“ntddk.h””。問了大牛以後得知是沒有設定環境造成的。隨即調查了環境的配置方法。順便給出相關東西的。   

ExtJS Performance – Element click events

this article from    http://www.jasonclawson.com/2008/05/29/extjs-performance-element-click-events/    

The Use Case Definition in UML

YW- TU .Tee-Us.2hl -Se1 ela-E T or- cAhUwe-CabesM Aso sot-Seuleur-E te ny- i vCti-Snteaan-udhlsig-mie sn -mc oe t-aaUf 發o-rts D yeetem- h表fa-atCefk-nha 於ie-desun - es ia-ii e2t nnN 0iu-ttaci0s-rema6oe-ores-n -da,e0 c-uc :9ia-ctW -ns-eieT2e- o'h9

深入淺出MFC 例子運行錯誤

錯誤資訊:Compiling...mfc.cppD:\61\mfc7\mfc.cpp(61) : error C2101: '&' on constantD:\61\mfc7\mfc.cpp(65) : error C2101: '&' on constantD:\61\mfc7\mfc.cpp(69) : error C2101: '&' on constantD:\61\mfc7\mfc.cpp(73) : error C2101: '&' on consta

google chrome如何啟用或停用同步

轉自:http://www.google.com/support/chrome/bin/answer.py?answer=185277適用於 Windows、蘋果機和 Linux 的說明開啟 Google Chrome 瀏覽器。點擊瀏覽器工具列上的扳手表徵圖 。選擇選項(蘋果機和 Linux 系統上則為喜好設定)。點擊設定檔標籤。在“同步”部分中,點擊設定同步。在隨後顯示的對話方塊中,登入您的 Google 帳戶。(沒有 Google 帳戶?瞭解如何建立 Google 帳戶)在顯示的“設定同步”

轉載兩篇關於程式員的文章

1>  展望未來,總結過去10年的程式員生涯,給程式員小弟弟小妹妹們的一些總結性忠告"1年,3年,5年,10年分別是一個人職場的四大階段。一個程式員該怎麼避免十年後成為這個殘酷社會的Lose,本文作者有他自己的分享。"連結:http://www.cnblogs.com/jirigala/archive/2009/08/03/1537874.html 或者http://developer.51cto.com/art/201111/300633.htm 2> 程式員們

vc6.0使用DriverWizard.awx配置DDK驅動編譯環境

 轉自看雪:http://bbs.pediy.com/showthread.php?t=63623 不用DS也可以配置,vc6,其他環境沒試過...當初ds下載不到,所以只有用build了..方法是用王豔萍書中的DriverWizard.awx1,把DriverWizard.awx複製到D:\Microsoft Visual Studio\Common\MSDev98\Template下,然後建立工程的時候就多了一個Driver Wizard項目2 vc中tool-> options -&

設定vc開發環境背景顏色

 最近眼睛發炎,特別怕亮色,看到vc的開發環境都太亮,於是想修改。1> 在菜單"Tools"->"Options"的最後一頁"Format"中選擇“source window”,將前景色彩改為黑色,將背景色改為淡灰色。2> 改變系統的視窗背景色.設定方法:案頭右擊屬性選擇外觀(appearance)-進階(advanced),然後在項目(items)那欄選視窗(windows),再點顏色(color)-其它(others),調整“顏色1”為淡灰色,接著一直OK。

[GPL]GREP – basic – practice -advanced

1. grep簡介grep (global search regular expression(RE) and print out the line,全面搜尋Regex並把行列印出來)是一種強大的文本搜尋工具,它能使用Regex搜尋文本,並把匹配的行列印出來。Unix的grep家族包括grep、egrep和fgrep。Basic  egrep和fgrep的命令只跟grep有很小不同。egrep是grep的擴充,支援更多的re元字元,fgrep就是fixed grep或fast

WAP技術入門

WAP技術入門前言  國際互連網的新技術層出不窮,隨著國內中國移動通訊和中國聯通先後推出WAP手機上網業務, 這項新興的技術也漸漸在國內展露頭腳。其實早在1997年,由愛立信、諾基亞、摩托羅拉、 Phone.com等公司共同發起了WAP Forum,隨後業界眾多的公司紛紛加入,並於1998年4月 提出了WAP標準第一版。WAP的全稱是"Wireless Application Protocol",目的是為了在手機以及其

[struts-1.3.10] org.apache.struts包中的Globals類

package org.apache.struts;import java.io.Serializable;/** * Global manifest constants for the entire Struts Framework. * * @version $Rev: 471754 $ $Date: 2005-06-18 20:27:26 -0400 (Sat, 18 Jun 2005) *           */public class Globals implements

ubuntu + vmware7.0 gmake not found

在安裝好ubuntu10,後,編一個公司系統:遇到問題:/bin/sh: gmake: not found解決辦法:cd /usr/binsudo ln -s make gmake理由:gmake is the name generally given to GNU make on non-GNU systems, because those systems generally have their own version of make, which works differently.

[b][z]交叉編譯中環境變數PATH的設定

前言:在使用arm的系統時候,經常遇到的問題就是交叉編譯環境的設定問題,比如編譯工具:編譯的時候,經常發生編譯工具的路徑,選擇,版本的問題導致交叉編譯出錯:本文從export命令出發試圖從本源上解決其中的路徑問題:嵌入式項目,一般在SDK裡面寫一個指令碼,比如sh檔案,在編譯項目時候,先運行這個指令碼,在指令碼裡面用export命令設定一下PATH,這樣的好處是因為SDK可能會有很多,不同的項目不同,這樣做,可以保證不影響系統的PATH配置,只在做的時候需要的時候設定。1 export

編譯:splint 遇到的問題: undefined reference to `yywrap’

想使用靜態代碼檢查工具: splint,下載了tar包後,編譯產生如下問題:cscanner.o: In function `input':/home/wine/splint-3.1.2/src/cscanner.c:2483: undefined reference to `yywrap'cscanner.o: In function `yylex':/home/wine/splint-3.1.2/src/cscanner.c:2133: undefined reference to

總頁數: 61357 1 .... 16671 16672 16673 16674 16675 .... 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.