Time of Update: 2018-12-05
早上到公司都習慣迅速瀏覽一下新聞,朝鮮宣布進入戰鬥準備狀態
Time of Update: 2018-12-05
最近接觸了vs2010的一款外掛程式:ConfigurationSectionDesigner。ConfigurationSectionDesigner是一個圖型化設計.net的配置塊和自動產生需要代碼和schema定義的codeplex上的一個開源項目,現在分享出來,希望對大家有所協助。 .Net配置體系中可以是一個Section一個模組。本樣本有2個配置塊組成,並通過Section整合到.net的預設設定檔App.config裡面,用configSource屬性分2個外部設定檔分別配置
Time of Update: 2018-12-05
/*----------------------------磁碟管理-------------------------------------------*/ -----'UUID'----(Universally Unique Identifier)'通用唯一識別碼' 1.UUID 的目的,是讓'分布式系統中的所有元素',都能有'唯一的辨識'資訊,而不需要透過中央控制端來做辨識資訊的指定。.
Time of Update: 2018-12-05
View Code /** * 在servlet中 **/import java.io.*;import javax.servlet.*;import javax.servlet.http.*;import org.xhtmlrenderer.pdf.ITextFontResolver;import org.xhtmlrenderer.pdf.ITextRenderer;import com.lowagie.text.pdf.BaseFont;/** * * @author joshy *
Time of Update: 2018-12-05
文章目錄 WorkaroundConfigure ESX/ESXi NTP and Likewise Clients Synchronizing ESX/ESXi time with a Microsoft Domain Controller(1035833)SymptomsAn ESX or ESXi host configured to use a Microsoft Windows 2003 or newer Domain
Time of Update: 2018-12-05
Dell R410 上安裝 Debian6由 datahunter 在 一, 28/11/2011 - 09:22 發表 下載 PDF 文本更新時間: 2/2/2012 在 Dell 的 R410 上安裝 Debian 會遇到一個問題,就是沒有網卡 bnx2 driver (Broadcom NetXtremeII)原因是因為它是 non-free 的 ....解決方法有兩1. 最簡單的完整安裝 Debian 後, 下載 firmware-bnx2.deb 到沒有網卡到 debian之後
Time of Update: 2018-12-05
小希的迷宮Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 11043 Accepted Submission(s): 3261 Problem Description上次Gardon的迷宮城堡小希玩了很久(見Problem
Time of Update: 2018-12-05
JSTL標籤用法:<c:choose><c:forEach><c:if><c:when><c:set>JSTL標籤用法關鍵字:JSTL標籤、<c:choose>、<c:forEach>、<c:forTokens>、<c:if>、<c:import>、<c:otherwise>、<c:out>、<c:param>、<c:redirect&
Time of Update: 2018-12-05
SQL注入攻擊能得逞是因為在原有SQL語句中加入了新的邏輯比如:原sql="select * from user where userid='"+userid+"'";如果,我們把userid="' or 1='1";這樣拼接的sql="select * from user where userid='' or
Time of Update: 2018-12-05
cocos2d ipad支援retina (Use Retina Graphics In iPad) very easy:in ccFileUtils.m search for+(NSString*) getDoubleResolutionImage:(NSString*)pathand change the lineif( CC_CONTENT_SCALE_FACTOR() == 2)for the lineif( CC_CONTENT_SCALE_FACTOR() == 2 ||
Time of Update: 2018-12-05
## /etc/fstab# Created by anaconda on Wed Mar 2 04:46:30 2011## Accessible filesystems, by reference, are maintained under '/dev/disk'# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info#---------------------------------------
Time of Update: 2018-12-05
------//List Set Map的區別 List有序key和value都能重複 Set 無序(除treeSet) key和value都不能重複 Map無序(除treeMap) key 必須唯一 value 可以重複
Time of Update: 2018-12-05
<c:if 判斷對象或集合是否為空白判斷集合和對象是否為空白:list為集合,user為對象名<c:if test="${empty user}">無user資訊!TODO...</c:if>為空白<c:if test="${!empty list}">list集合不為空白判斷,TODO...</c:if>非空 <s:if 判斷對象是否為空白<s:if
Time of Update: 2018-12-05
-----------'建立邏輯卷'[LV - Logical Volume] ---//n註:As of this writing, the Linux 2.6 kernel supports on-line resize for // filesystems mounted using ext3 only. n'目前[線上放大]resize只適用於ext3,對於其他檔案系統需要先umount‘ ---//RHEL5 VS RHEL6 的區別
Time of Update: 2018-12-05
Finder---位置----apple(mac)---application support---iphone sinulator---4.3---Applications--模擬器--下面分為***.app Documents Library tmp1,app root 可以用 NSHomeDirectory() 訪問到;2,Documents 目錄就是我們可以用來寫入並儲存檔案得地方擷取方式:NSArray
Time of Update: 2018-12-05
1.下載asihttprequest2.把Classes裡的檔案,拖到XCode中External/Reachbility也拖進去 ->這是Apple 官方用來檢查網路連結是否正常的類庫3.匯入架構SystemConfiguration.frameworkMobileCoreServices.frameworkCoreGraphics.frameworkCFNetwork.frameworklibz.1.2.3.dylib4.添加libxml2的搜尋路徑xcode4->Build
Time of Update: 2018-12-05
public Object targetObject; public Object newProxy(Object targetObject) { this.targetObject = targetObject; return Proxy.newProxyInstance(targetObject.getClass().getClassLoader(), targetObject.getClass().getInterfaces(), this); } public Object
Time of Update: 2018-12-05
這兩天學了下DWR,現在總結一下。DWR是方便使用AJAX串連JS和JAVA的的一個架構,把伺服器端 Java 對象的方法公開給 JavaScript 代碼。如果是用dwr2.0的jar包,還需要同時匯入log4j.jar和commons-loggin.jar,勿忘!!web.xml和dwr.xml放在WEB-INF下!-----------------------------配置web.xml:WEB工程啟動的時候會在這個裡面找到具體所用到的類的路徑,由此進行載入<servlet>
Time of Update: 2018-12-05
using System;using System.Collections.Generic;using System.Text;using System.IO;using System.Threading;using System.ComponentModel;namespace ExtensionTest{ public class Async : IDisposable { private bool suspend; private bool
Time of Update: 2018-12-05
通常的socket使用,基本上都是調用.Net類庫中的Socket類,例如Tcp發送需要經過以下步驟:擷取遠程終結點(EndPoint)建立串連Connect(EndPoint)發送資料Send步驟稍顯繁雜,並且每一步都有異常要處理,如果再加上同步或非同步選擇就更加的複雜,我的目的就是要對Socket一些常用操作如發送、接收進行簡化,如發送只有一個方法Send,接收類似,這樣只要調用一些簡單的方法,訂閱一些事件就可以完成複雜的socket調用。