<?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>CG的技术博客 &#187; 技术分享</title>
	<atom:link href="http://fantaci.org/archives/category/share/feed" rel="self" type="application/rss+xml" />
	<link>http://fantaci.org</link>
	<description></description>
	<lastBuildDate>Tue, 20 Jul 2010 01:53:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[.Net]设置背景透明的窗体，GDI+绘制异形WINFORM</title>
		<link>http://fantaci.org/archives/658</link>
		<comments>http://fantaci.org/archives/658#comments</comments>
		<pubDate>Wed, 05 May 2010 07:47:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[VB]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=658</guid>
		<description><![CDATA[在.Net环境下绘制矩形，椭圆形，三角形等形态的窗体是件很简单的事情，只要设置窗体的背景透明当你在窗体上绘制图形和控件时，是不会显示窗体的，这点MS的GDI+确实相比其他平台的实现方式更加方便和简单。

设置方式也很简单,首先设置FORM的BackColor为一个程序中不常用的颜色，
然后再设置FORM的TransparenceKey为这个颜色就OK了<p><a href="http://fantaci.org/archives/658">[.Net]设置背景透明的窗体，GDI+绘制异形WINFORM</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>在.Net环境下绘制矩形，椭圆形，三角形等形态的窗体是件很简单的事情，只要设置窗体的背景透明当你在窗体上绘制图形和控件时，是不会显示窗体的，这点MS的GDI+确实相比其他平台的实现方式更加方便和简单。
设置方式也很简单,首先设置FORM的BackColor为一个程序中不常用的颜色，
然后再设置FORM的TransparenceKey为这个颜</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/658/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[源代码]使用VB.Net GDI+编程编写的3D魔方游戏程序</title>
		<link>http://fantaci.org/archives/656</link>
		<comments>http://fantaci.org/archives/656#comments</comments>
		<pubDate>Wed, 05 May 2010 07:44:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[GDI+]]></category>
		<category><![CDATA[VB]]></category>
		<category><![CDATA[源代码]]></category>
		<category><![CDATA[算法]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=656</guid>
		<description><![CDATA[
最近学习了.net下的GDI+编程，下面小秀一下成果，使用GDI+编写的桌面魔方程序，今天把源代码放上，欢迎大家下载，如果机器上有.net环境的话可以直接运行bin目录下的MagicCube.exe进行游戏。<p><a href="http://fantaci.org/archives/656">[源代码]使用VB.Net GDI+编程编写的3D魔方游戏程序</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>最近学习了.net下的GDI+编程，下面小秀一下成果，使用GDI+编写的桌面魔方程序，今天把源代码放上，欢迎大家下载，如果机器上有.net环境的话可以直接运行bin目录下的MagicCube.exe进行游戏。
源代码下载地址
http://www.fantaci.org/code/magiccube/magiccube.zip
下面方式几个重要的算法程序
1，魔方正面九宫格90度翻转，</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/656/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[算法]IBM技术的面试题使用递归位运算实现字节位反转(RBIT)</title>
		<link>http://fantaci.org/archives/647</link>
		<comments>http://fantaci.org/archives/647#comments</comments>
		<pubDate>Tue, 27 Apr 2010 08:26:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[算法与ACM]]></category>
		<category><![CDATA[C/C++]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[VB]]></category>
		<category><![CDATA[算法]]></category>
		<category><![CDATA[面试]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=647</guid>
		<description><![CDATA[字节的中心转置反转，这是一道悲剧的IBM技术面试题，原因很简单，CG没有做对
我把它当成针对位的高低转置题目来做了，结果很简单，直接被拒，悲剧的是，CG
在面试过程中还不住的跟面试官谈论怎么实现高低转置效率最高，等到出来的时候
才被IBM面试官提醒，悲剧。<p><a href="http://fantaci.org/archives/647">[算法]IBM技术的面试题使用递归位运算实现字节位反转(RBIT)</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>字节的中心转置反转，这是一道悲剧的IBM技术面试题，原因很简单，CG没有做对
我把它当成针对位的高低转置题目来做了，结果很简单，直接被拒，悲剧的是，CG
在面试过程中还不住的跟面试官谈论怎么实现高低转置效率最高，等到出来的时候
才被IBM面试官提醒，悲剧。
原题如下：
给定一个任意字节长度的数据（以一个Byte为例</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/647/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[JS]使用JavaScript编写和实现的可变动态密码输入键盘控件</title>
		<link>http://fantaci.org/archives/642</link>
		<comments>http://fantaci.org/archives/642#comments</comments>
		<pubDate>Mon, 26 Apr 2010 02:53:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[分享]]></category>
		<category><![CDATA[源代码]]></category>
		<category><![CDATA[算法]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=642</guid>
		<description><![CDATA[今天要分享的是CG做的一个简单的JavaScript编写和实现的可变动态密码
输入控件，可以动态的生产数字键盘并显示，并且可以实现每次点击后密
码键盘重新加载，可以手动控制隐藏和显示，手动控制刷新等功能。

相信经常登陆网上银行或者某些游戏网站的朋友应该会经常看到这个控件
，其实实现起来原理并不复杂，主要是通过随机生产数字，然后通过hash
算法，安排数字的位置，CG这里用了最简单的占位算法，虽然效率比较低
（o(n^2)),但是处理10个数字（最差是55次）是足够的,如果带上字母键盘
和特殊字符的话，建议更换算法。<p><a href="http://fantaci.org/archives/642">[JS]使用JavaScript编写和实现的可变动态密码输入键盘控件</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>最近CG在上海冈三华大公司实习，也算是上岗前的试用，除了平时在公司
上网受到限制无法与外界取得联系之外，目前状况一切良好，请诸位不用
担心，CG在此谢过！
今天要分享的是CG做的一个简单的JavaScript编写和实现的可变动态密码
输入控件，可以动态的生产数字键盘并显示，并且可以实现每次点击后密
码键盘重新加载，可</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/642/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[JAVA]Servlet/JSP中获取上下文绝对路径的方法</title>
		<link>http://fantaci.org/archives/625</link>
		<comments>http://fantaci.org/archives/625#comments</comments>
		<pubDate>Wed, 27 Jan 2010 13:44:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JSP]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=625</guid>
		<description><![CDATA[平时做JAVA的一般应用的时候，一般需要在本地读取文件都是使用绝对路径，或者直接放在在src目录下即可读取，但是如果是web应用的化，直接读取显然是不行的，以下列举一些常用的获取路径的方法。<p><a href="http://fantaci.org/archives/625">[JAVA]Servlet/JSP中获取上下文绝对路径的方法</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>平时做JAVA的一般应用的时候，一般需要在本地读取文
件都是使用绝对路径，或者直接放在在src目录下即可读
取，但是如果是web应用的化，直接读取显然是不行的，
以下列举一些常用的获取路径的方法,总结一下，分享给
大家，相信开发过程中还是会用到很多的。
ASP:Server.Mappath(&#8220;/&#8221;)
ASP.NET:HttpContext.Cur</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/625/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>兼容IE和FF浏览器的Select控件的增加option选项操作</title>
		<link>http://fantaci.org/archives/621</link>
		<comments>http://fantaci.org/archives/621#comments</comments>
		<pubDate>Wed, 27 Jan 2010 12:14:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[FF]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=621</guid>
		<description><![CDATA[对页面中下拉列表操作时，FF和IE的操作方法是不同的，这一点需要在使用的过程中加以注意，在浏览器Select控件的增加option的方法有很多方法，以下是最常用的，IE和FF有所不同。
<p><a href="http://fantaci.org/archives/621">兼容IE和FF浏览器的Select控件的增加option选项操作</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>对页面中下拉列表操作时，FF和IE的操作方
法是不同的，这一点需要在使用的过程中加
以注意，在浏览器Select控件的增加option
的方法有很多方法，以下是最常用的，IE和
FF有所不同。
IE提供一个add方法用对Select对象的Option
items进行操作，高版本IE是不允许对Option数组
进行操作，否则会报尚未实现或者对象错误。
但是</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/621/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[JavaScript]实现简单的类似Lightbox效果的页面弹出对话框</title>
		<link>http://fantaci.org/archives/579</link>
		<comments>http://fantaci.org/archives/579#comments</comments>
		<pubDate>Mon, 11 Jan 2010 06:51:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[未分类]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[LightBox]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=579</guid>
		<description><![CDATA[相信LightBox之类的页面弹出窗口，大家在浏览的时候也应该是很常见的，
实现起来也不算太困难，CG今天把在上次发布的ETP项目源代码中的JS部分
提取出来，方便大家学习和使用。

实现原理：利用DIV的浮动和层的重叠，将对话框的Z-index设置为最高就可以了
另外对于遮罩层来说，只要使遮罩层在对话框层之下，其他页面元素之上即可，
如果需要美观的话，可以设置半透明效果。<p><a href="http://fantaci.org/archives/579">[JavaScript]实现简单的类似Lightbox效果的页面弹出对话框</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>相信LightBox之类的页面弹出窗口，大家在浏览的时候也应该是很常见的，
实现起来也不算太困难，CG今天把在上次发布的ETP项目源代码中的JS部分
提取出来，方便大家学习和使用。
实现原理：利用DIV的浮动和层的重叠，将对话框的Z-index设置为最高就可以了
另外对于遮罩层来说，只要使遮罩层在对话框层之下，其他页面元素之</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/579/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[源代码]发布IBMETP常熟基地网站项目的源码及设计文档</title>
		<link>http://fantaci.org/archives/574</link>
		<comments>http://fantaci.org/archives/574#comments</comments>
		<pubDate>Sun, 03 Jan 2010 14:32:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[IBMETP]]></category>
		<category><![CDATA[下载]]></category>
		<category><![CDATA[分享]]></category>
		<category><![CDATA[源代码]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=574</guid>
		<description><![CDATA[今天要发布的源代码是CG，目前所在培训的常熟IBM-ETP项目培训基地的对外展示网站
的源代码，目前只提供静态HTML部分，还有就是提供网站设计的各个模块和模板页面，
发布给有兴趣的朋友分享，当然，因为最近CG很少最企业或者公司的网站项目，最近没
有通用的网站源程序提供给大家下载，这个项目如果拿去改改成CMS模板也不错。<p><a href="http://fantaci.org/archives/574">[源代码]发布IBMETP常熟基地网站项目的源码及设计文档</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>所有关注我博客动态的朋友们，所有网友们，新年好！
新年的第一篇博文CG依然是发布跟技术相关的内容，元旦假期刚过，CG的大学生活也
就只剩下最后的几个月了，想起来让人有点伤感，不过CG感觉我的campus time还是很
充实的，至少在博客方面，呵呵，开开玩笑。
今天要发布的源代码是CG，目前所在培训的常熟IBM-ETP项目培训</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/574/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>[ExtJS]发布一个简单的基于EXTJS+ASPWEB桌面应用的小项目</title>
		<link>http://fantaci.org/archives/562</link>
		<comments>http://fantaci.org/archives/562#comments</comments>
		<pubDate>Sun, 29 Nov 2009 05:28:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[EXTJS]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=562</guid>
		<description><![CDATA[CG在IBM-ETP的培训已经进入了第二阶段了，今天要发布的就是CG在前几天做的一
个基于EXTJS的小应用，学生的问题问答提问系统，目的是为了方便学生在授课和
作业过程中能够相互之间交流和问题解答，同时为了即时交流，又增加了一个简单的
即时通信的聊天工具。<p><a href="http://fantaci.org/archives/562">[ExtJS]发布一个简单的基于EXTJS+ASPWEB桌面应用的小项目</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>CG在IBM-ETP的培训已经进入了第二阶段了，今天要发布的就是CG在前几天做的一
个基于EXTJS的小应用，学生的问题问答提问系统，目的是为了方便学生在授课和
作业过程中能够相互之间交流和问题解答，同时为了即时交流，又增加了一个简单的
即时通信的聊天工具。
系统设计也很简单，主要包括：A问题和发布系统，这个类似于一</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/562/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[ASP,源代码]发布一个本地美容工作室展示的网站整站源代码</title>
		<link>http://fantaci.org/archives/549</link>
		<comments>http://fantaci.org/archives/549#comments</comments>
		<pubDate>Wed, 11 Nov 2009 08:54:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术分享]]></category>
		<category><![CDATA[源程序]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[源代码]]></category>

		<guid isPermaLink="false">http://www.fantaci.org/?p=549</guid>
		<description><![CDATA[继续上篇日志发布新整站代码，这次发布是最近刚完成的一个本地美容造型工作室
的展示网站的整站源代码，技术上还是基于ASP+Access，另外由于工作室的展示要
求实现弹窗显示效果，所以使用了Jquery的相关技术，CG本人一直对Jquery偏爱有
加，当然做出来的效果也是很满意的，另外首页下边的滚动效果也是使用的Jquery
实现的，效果大家测试的时候可以看到。<p><a href="http://fantaci.org/archives/549">[ASP,源代码]发布一个本地美容工作室展示的网站整站源代码</a> is a post from <a href="http://fantaci.org">fantaci.org</a> and <a href="http://cg45.cn">cg45.cn</a></p>
]]></description>
			<content:encoded><![CDATA[<p>继续上篇日志发布新整站代码，这次发布是最近刚完成的一个本地美容造型工作室
的展示网站的整站源代码，技术上还是基于ASP+Access，另外由于工作室的展示要
求实现弹窗显示效果，所以使用了Jquery的相关技术，CG本人一直对Jquery偏爱有
加，当然做出来的效果也是很满意的，另外首页下边的滚动效果也是使用的Jquery
实现的</p>]]></content:encoded>
			<wfw:commentRss>http://fantaci.org/archives/549/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
