<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>聰明的生活2 &#187; WINDOWS</title>
	<atom:link href="http://blog.yslifes.com/archives/tag/windows/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.yslifes.com</link>
	<description>自己寫java程式的一些筆記</description>
	<lastBuildDate>Wed, 08 Feb 2012 02:26:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://blog.yslifes.com/?pushpress=hub'/>
		<item>
		<title>[CSharp]把WebCam當QRCode的DeCode解碼器</title>
		<link>http://blog.yslifes.com/archives/841</link>
		<comments>http://blog.yslifes.com/archives/841#comments</comments>
		<pubDate>Tue, 21 Dec 2010 12:25:00 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[VisualStudio]]></category>
		<category><![CDATA[程式]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[Capture]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[qrcode]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[WINDOWS]]></category>
		<category><![CDATA[二維條碼]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/archives/841</guid>
		<description><![CDATA[QRCode的使用可分成編碼EnCode及解碼DeCode二部份，在各種平台上也有需多人依據編碼規則製作了許多可用的解碼與編碼器，之前文章也介紹過 [Java]QRCode產生VCard使用的是swetake這個framework，不過現在已經有統一的單位在研究 ZXing (&#34;Zebra Crossing&#34;) ，而且各種平台上均提供原始碼供大家使用，對於解碼DeCode、解碼EnCode及歪斜辨識效果、速度都讓人滿意。 二維條碼Quick Response Code的發展上大都份落在手機平台上，在桌機上不像是一般的一維條碼有專用的條碼機，所以在就只能利用WebCam的影像解析功能，即時拍照給QRCode解碼器zxing解碼DeCode。 執行畫面： 產生QRCode，使用kayway網站來產生QRCode Start可以開始取得WebCam影像資料，而Stop會停止，Continue其實跟Start功能是一樣的。 解碼成功時會顯示於下方TextBox，並停止再解碼，影像取得並不停止，使用continue會再次開始解碼QRCode。 範例使用的是C#來製作Windows程式，使用的套件有zxing及WebCam_Capture，其中WebCam_Capture會使用到剪貼簿功能，大概是利用此功能來傳遞WebCam與GUI原件間的圖像，如果需要在解碼後複製內容的話，需要把WebCam功能停止，而解碼失敗判定則直接利用zxing解碼失敗會產生Exception，因為解碼速度很快，幾乎不會感覺到delay的狀況。ps.會慢的話是WebCam_Capture在慢。]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/841/feed</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Windows XP環境Apache出現失敗的模組ntdll.dll</title>
		<link>http://blog.yslifes.com/archives/747</link>
		<comments>http://blog.yslifes.com/archives/747#comments</comments>
		<pubDate>Thu, 21 Oct 2010 15:28:48 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[教學]]></category>
		<category><![CDATA[架站]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[eeebox]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[WINDOWS]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/archives/747</guid>
		<description><![CDATA[最近流量有一點點增長，不過網站的速度跟常常出現失敗的模組ntdll.dll錯誤，搞的主機會停住很久才回應網頁，之前流量小點時不太常出現，而查看方向也一直在Apache跟mysql的調整上，不過似乎沒什麼用，google一下，幾乎都說是中毒了、重灌就好了，不過重灌似乎不是很好的解決方式。 失敗的事件內容可以從控制台－＞系統管理工具－＞事件檢視器－＞Windows記錄（應用程式） 失敗的應用程式httpd.exe，版本2.2.8.0，失敗的模組 ntdll.dll，版本5.1.2600.5755，錯誤位址 0x0001aa21。 其實這是因為網路的連線數超過xp的上限而出現的錯誤，中毒或是使用BitComet P2P等軟體都有可能會發生，所以解決的方式就是把連線數調高就可以了，可以使用 TCP/IP Patcher這個軟體來調高XP SP3的連線數，不過vista、windows 7好像不能使用。 軟體下載及介紹可以參考 重灌狂人-「TCP/IP Patcher」破解Windows XP SP3連線數限制！ ps.調太高也不太好，如果真的中毒了會一直對外發送大量的封包]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/747/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows環境下使用Dos指令製作備援計畫</title>
		<link>http://blog.yslifes.com/archives/326</link>
		<comments>http://blog.yslifes.com/archives/326#comments</comments>
		<pubDate>Tue, 23 Jun 2009 12:34:48 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[command]]></category>
		<category><![CDATA[備份]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[WINDOWS]]></category>
		<category><![CDATA[日期目錄]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/archives/326</guid>
		<description><![CDATA[有自己的Server，平常沒事時主機安祥的運作著，不過不怕一萬只怕萬一，很多時候不小心改了程式、昇級Server、程式，主機當掉等，一個不小心出了問題，可是要人命的，主機的回覆就算了，資料的不見可是十分要命，重要的照片、文章不見了，我想這是大家所不想見的，在大多數的企業裡，系統資料的備援都有自己的一套計畫，也是年度稽核的重點。 不過像我這種用自己的家機當Server的人，沒有企業的大成本，SCSI容錯、磁帶…等等等，要怎麼做呢？這裡提供一個在Windows下環境可用的方式，不過需要配合壓縮程式7-Zip或其它壓縮軟體及Dos指令。 想法： １建立一個日期目錄，以資區別不同日期的備份。 &#160; ２拷貝資料到此日期目錄下所建立的子目錄，以區別不同內容。 ３利用7-Zip壓縮檔案，減少空間的使用。 ４刪除日期目錄下所有資料及資料夾。 ５建立排程執行，請依需要排訂每日？每週？或是隔週？等… 為什麼要拷貝內容到另外的資料夾而不直接指定路徑做壓縮檔呢？其實考量點很簡單，怕在壓縮期間發生檔案使用中或是檔案移除等問題，所以先複製一份，雖然會增加I/O的使用，不過這是相對比較好的方式。 set yymmdd_hhmmss=d:\backup\%date:~0,4%%date:~5,2%%date:~8,2%_%time:~0,2%%time:~3,2%%time:~6,2% set path=%path%;C:\Program Files\7-Zip md %yymmdd_hhmmss%\mysql xcopy /E /C /H /Y C:\MySQL\data %yymmdd_hhmmss%\mysql &#62; %yymmdd_hhmmss%\mysql.txt 7z a -scsUTF-8 -mx=9 %yymmdd_hhmmss%.7z %yymmdd_hhmmss%\* del /S /Q %yymmdd_hhmmss% rd /S /Q %yymmdd_hhmmss% 說明： 日期目錄的使用請參照： dos指令-建立日期目錄 md 建立目錄 xcopy 複製資料到剛才建立的目錄裡，其中/E /C /H /Y 則是有任何錯誤繼續執行、不需請求回覆要求、包含子目錄及其內容等。 7z a 7-Zip的壓縮指令-scsUTF-8使用UTF-8編碼，-mx=9，使用最高壓縮比，當然時間會拉長。 del [...]]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/326/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apahce VirtualHost 利用Domain指定不同服務</title>
		<link>http://blog.yslifes.com/archives/152</link>
		<comments>http://blog.yslifes.com/archives/152#comments</comments>
		<pubDate>Tue, 05 May 2009 11:37:00 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[教學]]></category>
		<category><![CDATA[架站]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[VirtualHost]]></category>
		<category><![CDATA[WINDOWS]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/archives/152</guid>
		<description><![CDATA[再來我們把www.你的domain 指向你要的服務 當然也可以設定xxx.你的domain 到不同的服務 ps.如果沒設定時,你直接打ip或是www.你的domain 都會指向apache預設的www服務目錄 ps.安裝appserv時，預設目錄在安裝目錄＼ＷＷＷ＼ 裡 首先開啟你的zone設定檔 ex.123.txt $TTL    600 @    IN   SOA  localhost.   root.localhost.  ( 2006102001  ; Serial  僅作為序號而已 28800       ; Refresh slave 伺服器的更新時間 14400       ; Retry   當 slave 主機更新失敗，多久再重新更新一次 720000      ; Expire  重複 retry 多久後就宣告不治….不再更新 86400 )     ; Minimum 可視為 TTL ，尤其是你沒有設定 $TTL 時 @    IN    NS    dns.yslifes.com. www    IN    A    [...]]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/152/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS Server –BIND 9 in Windows XP PART2</title>
		<link>http://blog.yslifes.com/archives/114</link>
		<comments>http://blog.yslifes.com/archives/114#comments</comments>
		<pubDate>Thu, 30 Apr 2009 10:28:00 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[教學]]></category>
		<category><![CDATA[架站]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[ISC BIND]]></category>
		<category><![CDATA[WINDOWS]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/archives/114</guid>
		<description><![CDATA[接續part1 DNS Server –BIND 9 in Windows XP PART1 接下來來設定ISC BIND 先把ISC BIND Server啟動停止掉，下圖是啟動的畫面，開始－＞控制台－＞系統管理工具－＞服務，如果有啟動會在啟動鈕旁有一個黑色方塊，按下去就會停止了，如果是接續之前文章看的話，則會如下畫面，我們就不需再停止了， 或者，你也可以在command視窗裡輸入 net stop named 首先在Command視窗（開始－＞程式集－＞附屬應用程式－＞命令提示字元），然後 cd “Bind目錄” rndc-confgen –a rndc-confgen &#62; ..\etc\rndc.conf 然後打開Bind目錄\etc\rndc.conf檔案（用記事本） 找到 # Use with the following in named.conf, adjusting the allow list as needed: 把到 # End of named.conf 之間的內容Copy起來 然後打開Bind目錄\etc\named.conf檔案（用記事本，沒有的話就建立） 把內容加進去named.conf裡，存檔。 再來我們建立一個zone目錄，Bind目錄\zone 然後打開Bind目錄\etc\named.conf檔案（用記事本） 加入zone目錄做為設定檔的目錄 options { directory [...]]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/114/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>DNS Server –BIND 9 in Windows XP PART1</title>
		<link>http://blog.yslifes.com/archives/77</link>
		<comments>http://blog.yslifes.com/archives/77#comments</comments>
		<pubDate>Tue, 28 Apr 2009 00:15:00 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[架站]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[WINDOWS]]></category>
		<category><![CDATA[XP]]></category>
		<category><![CDATA[安裝]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/archives/77</guid>
		<description><![CDATA[Windows XP要架DNS Server可以使用RIND 9 ，簡單又方便，而且免費Free的。 官網 https://www.isc.org/products/BIND 下載點 Menu https://www.isc.org/downloadables/11 Download Seed http://oldwww.isc.org/sw/bind/view/?release=9.6.0-P1&#38;noframes=1 或是 http://www.yslifes.com/Download/BIND9.6.0-P1.zip 下載後解壓縮然後執行裡面的安裝檔 BINDInstall.exe 然後出現安裝視窗 把Target Directory填入你想安裝的路徑，可以使用預設的，不過建議選擇其它目錄 Service Account Name與Service Account Password則填入要啟動此Service的帳號密碼 你可以先填入你的帳號及密碼，之後再來改 Automatic Startup則是啟動Windows時是否自動啟動，請依狀況設定。 Keep Config File After Uninstall 這是在Uninstall保留你的設定檔，安裝時無做用。 Start Bind Service After Install 則是在安裝後是否啟動服務，因為還沒有設定檔存在，故先不打勾。 然後選擇Install 然後會出現以下畫面，大概意思是，＂選擇的帳號需有很多權限，你是選選擇另一個帳號？＂ 選擇＂否＂繼續安裝，按＂是＂則會回來的畫面。 如果是選擇另外的目錄，而此目錄尚未存在時，則會出現以下畫面。 選擇＂是＂。 則會進入安裝畫面，如下： 然後就可以看到安裝完成，按下＂確定＂。再來按Exit離開BIND 9的安裝。 再來我們設定一下BIND 9的Serivce。 選擇＂控制台＂－＞＂系統管理工具＂－＞＂服務＂ 然後找到 ISC BIND ，然後看到登入身份是剛才設定的帳號，雙擊點開可以看到如右側畫面。 [...]]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/77/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

