<?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>MyNEUQ</title>
	<atom:link href="http://www.myneuq.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.myneuq.com</link>
	<description></description>
	<lastBuildDate>Fri, 06 Apr 2012 02:42:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>打开 Access 数据库时找不到指定的数据库</title>
		<link>http://www.myneuq.com/archives/336</link>
		<comments>http://www.myneuq.com/archives/336#comments</comments>
		<pubDate>Fri, 06 Apr 2012 02:42:47 +0000</pubDate>
		<dc:creator>Cgy</dc:creator>
				<category><![CDATA[小记]]></category>
		<category><![CDATA[Access]]></category>
		<category><![CDATA[数据库]]></category>

		<guid isPermaLink="false">http://www.myneuq.com/?p=336</guid>
		<description><![CDATA[打开 Access 数据库时找不到指定的数据库 当试图通过使用快捷方式打开现有 Access 数据库时，您可能会收到以下错误消息： 指定不能查找数据库指定，或您未指定数据库。 在命令行中指定一个有效的数据库名称，如有必要，请包含路径。 原因 当满足下列条件之一为真时，可能会发生此现象： 快捷方式点为早期版本的访问运行库的应用程序和您选择升级期间的更高版本的 Office 安装程序的早期版本的 Office 程序。 在安装 Office Access 2007 中或 Microsoft Office Access 2003 时已安装了诺顿防病毒软件。 解决方案 要解决此问题与访问相关的运行库的应用程序请按照下列步骤操作： 从计算机中删除访问。 重新安装 Access 运行时应用程序。 验证可以使用该快捷方式打开数据库的运行库应用程序。 重新安装 Access。 注意您必须确保要在 Microsoft Office Access 2003 中的安装过程中未升级现有版本的 Office。 若要解决与 Norton 防病毒软件相关的问题，请按照下列步骤操作： 从计算机中删除访问。 从计算机中删除诺顿防病毒软件。 重新安装 Access。 验证是否可以使用该快捷方式打开该 Access 数据库。 重新安装诺顿防病毒软件。 如果指定的方法不能解决问题，手动创建一个新的快捷方式。包括正确版本的 Msaccess.exe 和 [...]]]></description>
			<content:encoded><![CDATA[<h2><span style="color: #ff6600;">打开 Access 数据库时找不到指定的数据库</span></h2>
<p>当试图通过使用快捷方式打开现有 Access 数据库时，您可能会收到以下错误消息：</p>
<div>
<div>
<div>指定不能查找数据库指定，或您未指定数据库。</p>
<p>在命令行中指定一个有效的数据库名称，如有必要，请包含路径。</p></div>
</div>
</div>
<h2 id="tocHeadRef"><a>原因</a></h2>
<p>当满足下列条件之一为真时，可能会发生此现象：</p>
<ul>
<li>快捷方式点为早期版本的访问运行库的应用程序和您选择升级期间的更高版本的 Office 安装程序的早期版本的 Office 程序。</li>
<li>在安装 Office Access 2007 中或 Microsoft Office Access 2003 时已安装了诺顿防病毒软件。</li>
</ul>
<p><span id="more-336"></span></p>
<h2 id="tocHeadRef"><a>解决方案</a></h2>
<p>要解决此问题与访问相关的运行库的应用程序请按照下列步骤操作：</p>
<ol>
<li>从计算机中删除访问。</li>
<li>重新安装 Access 运行时应用程序。</li>
<li>验证可以使用该快捷方式打开数据库的运行库应用程序。</li>
<li>重新安装 Access。
<p><strong>注意</strong>您必须确保要在 Microsoft Office Access 2003 中的安装过程中未升级现有版本的 Office。</li>
</ol>
<p>若要解决与 Norton 防病毒软件相关的问题，请按照下列步骤操作：</p>
<ol>
<li>从计算机中删除访问。</li>
<li>从计算机中删除诺顿防病毒软件。</li>
<li>重新安装 Access。</li>
<li>验证是否可以使用该快捷方式打开该 Access 数据库。</li>
<li>重新安装诺顿防病毒软件。</li>
</ol>
<p>如果指定的方法不能解决问题，手动创建一个新的快捷方式。包括正确版本的 Msaccess.exe 和 $ 路径和 $ 您要打开的数据库的文件名的路径。</p>
<p>例如对于在 <strong>目标</strong> 部分中的快捷方式的 <strong>属性</strong>，输入类似于下面的路径为 Access 2003 的文本：</p>
<div>“是 Files\Microsoft Office\Office11\msaccess.exe”"C:\My Documents\mymdb.mdb”</div>
<p>Access 2007 的路径将类似于以下内容：</p>
<div>“是 Files\Microsoft Office\Office12\msaccess.exe”"C:\My Documents\mymdb.aacdb”</div>
]]></content:encoded>
			<wfw:commentRss>http://www.myneuq.com/archives/336/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>android eclipse 常用快捷键</title>
		<link>http://www.myneuq.com/archives/333</link>
		<comments>http://www.myneuq.com/archives/333#comments</comments>
		<pubDate>Tue, 03 Apr 2012 01:05:13 +0000</pubDate>
		<dc:creator>Cgy</dc:creator>
				<category><![CDATA[小记]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[常用快捷键]]></category>

		<guid isPermaLink="false">http://www.myneuq.com/?p=333</guid>
		<description><![CDATA[android eclipse 常用快捷键 一个好的开发环境可以让我们开发的很爽,否则只会影响心情&#8230; 下面是我常用的一些快捷键和eclipse的设置,希望对大家有用. 1.快速查找.如果只有少量的类的话,自然用不到,如果是一个大项目,用它有时会很方便的. ctrl + shift + R , 快速定位某一个类, 可以加(*) 或 (_) 来进行模糊搜索.比如 *GL.java . 2.快速的定位字符串. ctrl + H , 比如我想找某个带有”hello”的地方, 可以很快搜索到所有的带有此字符串的地方. 一些详细的搜索条件, 可以自己选,都是见名之意的英文单词. 3.如果没有输出语句,不知你怎么想,反正我很不爽,代码走到哪一步,都无法确定.下面两张图是android输出语句显示的方法.找到logcat,然后点击加号,配置一下就ok了,输出语句会显示在System.out面板里边. 4.当我们把鼠标放到某个方法上面时,就会显示它的详细信息,这样很方便,可是当我们不想让它显示时(遮挡视线),可以配置一下,让它不自己显示,当按下F2键时,才会显示. 5.eclipse有个自动提示功能,一个类名不输完,按下alt + /, 就会把所有有关的方法或类名显示,这也很方便,可是这两个按键实在不好同时按.我们也可以配置一下. windows -&#62;preference -&#62; keys , 在右边找到 content assist, 下边的binding, 修改, 我是用的alt + C ,感觉还蛮好用的.下面的when选择 in dialogs and windows .注意如果这样不行,可能是有其他的默认的快捷键和它冲突,将冲突的那个修改了就好了.]]></description>
			<content:encoded><![CDATA[<h2><span style="color: #ff6600;">android eclipse 常用快捷键</span></h2>
<p>一个好的开发环境可以让我们开发的很爽,否则只会影响心情&#8230;</p>
<p>下面是我常用的一些快捷键和eclipse的设置,希望对大家有用.</p>
<p>1.快速查找.如果只有少量的类的话,自然用不到,如果是一个大项目,用它有时会很方便的.</p>
<p>ctrl + shift + R , 快速定位某一个类, 可以加(*) 或 (_) 来进行模糊搜索.比如 *GL.java .</p>
<p><img src="http://static.oschina.net/uploads/space/2011/0405/203725_ANyc_131573.png" alt="" /></p>
<p><span id="more-333"></span></p>
<p>2.快速的定位字符串.</p>
<p>ctrl + H , 比如我想找某个带有”hello”的地方, 可以很快搜索到所有的带有此字符串的地方. 一些详细的搜索条件, 可以自己选,都是见名之意的英文单词.</p>
<p><img src="http://static.oschina.net/uploads/space/2011/0405/203742_CHmI_131573.png" alt="" /></p>
<p><img src="http://static.oschina.net/uploads/space/2011/0405/204228_Nkas_131573.png" alt="" /></p>
<p>3.如果没有输出语句,不知你怎么想,反正我很不爽,代码走到哪一步,都无法确定.下面两张图是android输出语句显示的方法.找到logcat,然后点击加号,配置一下就ok了,输出语句会显示在System.out面板里边.</p>
<p><img src="http://static.oschina.net/uploads/space/2011/0405/204455_ykjh_131573.png" alt="" /></p>
<p><img src="http://static.oschina.net/uploads/space/2011/0405/204756_NQcm_131573.png" alt="" /></p>
<p><img src="http://static.oschina.net/uploads/space/2011/0405/205019_UYJc_131573.png" alt="" /></p>
<p><img src="http://static.oschina.net/uploads/space/2011/0405/205047_6GOU_131573.png" alt="" /></p>
<p>4.当我们把鼠标放到某个方法上面时,就会显示它的详细信息,这样很方便,可是当我们不想让它显示时(遮挡视线),可以配置一下,让它不自己显示,当按下F2键时,才会显示.</p>
<p><img src="http://static.oschina.net/uploads/space/2011/0405/205505_ZRhK_131573.png" alt="" /></p>
<p><img src="http://static.oschina.net/uploads/space/2011/0405/205532_6O74_131573.png" alt="" /></p>
<p>5.eclipse有个自动提示功能,一个类名不输完,按下alt + /, 就会把所有有关的方法或类名显示,这也很方便,可是这两个按键实在不好同时按.我们也可以配置一下. windows -&gt;preference -&gt; keys , 在右边找到 content assist, 下边的binding, 修改, 我是用的alt + C ,感觉还蛮好用的.下面的when选择 in dialogs and windows .注意如果这样不行,可能是有其他的默认的快捷键和它冲突,将冲突的那个修改了就好了.</p>
<p><img src="http://static.oschina.net/uploads/space/2011/0405/210229_cZlk_131573.png" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.myneuq.com/archives/333/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>win7下android开发环境搭建</title>
		<link>http://www.myneuq.com/archives/331</link>
		<comments>http://www.myneuq.com/archives/331#comments</comments>
		<pubDate>Sun, 01 Apr 2012 11:45:37 +0000</pubDate>
		<dc:creator>Cgy</dc:creator>
				<category><![CDATA[小记]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Android平台开发]]></category>
		<category><![CDATA[Android平台搭建]]></category>
		<category><![CDATA[SDK]]></category>

		<guid isPermaLink="false">http://www.myneuq.com/?p=331</guid>
		<description><![CDATA[win7下android开发环境搭建 &#160; 下载Eclipse IDE for Java EE Developers。下载地址 为：http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee- developers/heliossr1。之所以不用Eclipse IDE for Java Developers和Eclipse Classic是因为根据我血与泪的经验，这两个版本的Eclipse都不能正常安装Android开发所用插件。 下载Android SDK。下载地址为：http://developer.android.com/sdk/index.html。该地址被土啬，这种情况你应该知道怎么弄。 为 Eclipse安装Android插件。官方把这个插件叫做Android Development Tools (ADT)。远程更新地址为：http://dl-ssl.google.com/android/eclipse/。在线安装Eclipse插件就不用 多说了吧，因为如果不会这个的话，那么本文的读者也就更不会做Android平台开发了。什么？你不会？好吧好吧，打开 Eclipse，Help-&#62;Install New Software。将看到如下Install对话框： 点Add按钮，将弹出如下对话框，填好Name和Location，点ok。 现在应该回到了Install对话框中，在Work with下拉列表中选择刚填好的地址，下方将列出可供更新的源，如图： 全部勾选，然后一路next即可（下载插件需要的时间可能会非常长，耐心等，什么你已经等了两个小时了？你确定你下的Eclipse是最新的Eclipse IDE for Java EE Developers吗？） 安装完ADT插件后，你的Eclipse的window菜单下会有一个Android SDK And AVD Manager菜单项，点它弹出如下对话框： 在这个对话框里你可以管理你的“虚拟设备”和“SDK包”。点选左侧的Avalilable Packages，右侧会列出所有可用的包，选择版本最新的包下载（下载时间也会比较久）。下载完成后你就已经搭建好了一个Android开发平台。 当 你试着编写一个Hello World的时候，Eclispe还会提示你创建一个虚拟设备，你也可以现在就在上面这个对话框里创建。“虚拟设备”其实就是一个手机模拟器，很强大。甚 至很多非开发人员都用它来体验Android手机平台。在上面的对话框中点击New按钮，将弹出如下对话框： 填好Name，选择Target（即模拟器的Android版本），填好SD Card的容量，OK，Create！ 第一次启动模拟器可能会非常慢，你可能会卡在下面这个界面很久很久（我的笔记本卡了2分钟，台式机卡了2个小时）。 经过或长或短的等待，终于见到了华丽的界面： 你可以用它上网，下载和安装软件，以及最重要的，运行你自己的Hello World！^_^]]></description>
			<content:encoded><![CDATA[<h2><span style="color: #ff6600;">win7下android开发环境搭建</span></h2>
<p>&nbsp;</p>
<ol>
<li>下载<strong>Eclipse IDE for Java EE Developers</strong>。下载地址 为：http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee- developers/heliossr1。之所以不用Eclipse IDE for Java Developers和Eclipse Classic是因为根据我血与泪的经验，这两个版本的Eclipse都<strong>不</strong>能正常安装Android开发所用插件。</li>
<li>下载Android SDK。下载地址为：http://developer.android.com/sdk/index.html。该地址被土啬，这种情况你应该知道怎么弄。</li>
<li>为 Eclipse安装Android插件。官方把这个插件叫做Android Development Tools (ADT)。远程更新地址为：http://dl-ssl.google.com/android/eclipse/。在线安装Eclipse插件就不用 多说了吧，因为如果不会这个的话，那么本文的读者也就更不会做Android平台开发了。什么？你不会？好吧好吧，打开 Eclipse，Help-&gt;Install New Software。将看到如下Install对话框：<br />
<img title="" src="http://hiphotos.baidu.com/exp/pic/item/4abae5edc84f7f0778f055d0.jpg" alt="" /></li>
<li><span id="more-331"></span>点Add按钮，将弹出如下对话框，填好Name和Location，点ok。<br />
<img title="" src="http://hiphotos.baidu.com/exp/pic/item/d019d2bf75d9fc4219d81f85.jpg" alt="" /></li>
<li>现在应该回到了Install对话框中，在Work with下拉列表中选择刚填好的地址，下方将列出可供更新的源，如图：
<p><img title="" src="http://hiphotos.baidu.com/exp/pic/item/d4239b3512bf9b5990ef3988.jpg" alt="" /></li>
<li>全部勾选，然后一路next即可（下载插件需要的时间可能会非常长，耐心等，什么你已经等了两个小时了？你确定你下的Eclipse是<strong>最新</strong>的<strong>Eclipse IDE for Java EE Developers</strong>吗？）</li>
<li>安装完ADT插件后，你的Eclipse的window菜单下会有一个Android SDK And AVD Manager菜单项，点它弹出如下对话框：<img title="" src="http://hiphotos.baidu.com/exp/pic/item/faacb564673404b8f6365460.jpg" alt="" /></li>
<li>在这个对话框里你可以管理你的“虚拟设备”和“SDK包”。点选左侧的Avalilable Packages，右侧会列出所有可用的包，选择版本最新的包下载（下载时间也会比较久）。下载完成后你就已经搭建好了一个Android开发平台。</li>
<li>当 你试着编写一个Hello World的时候，Eclispe还会提示你创建一个虚拟设备，你也可以现在就在上面这个对话框里创建。“虚拟设备”其实就是一个手机模拟器，很强大。甚 至很多非开发人员都用它来体验Android手机平台。在上面的对话框中点击New按钮，将弹出如下对话框：
<p><img title="" src="http://hiphotos.baidu.com/exp/pic/item/d8b8c92adffd5965d52af14a.jpg" alt="" /></li>
<li>填好Name，选择Target（即模拟器的Android版本），填好SD Card的容量，OK，Create！
<p>第一次启动模拟器可能会非常慢，你可能会卡在下面这个界面很久很久（我的笔记本卡了2分钟，台式机卡了2个小时）。<br />
<img title="" src="http://hiphotos.baidu.com/exp/pic/item/1899a23eac804fb2838b135a.jpg" alt="" />经过或长或短的等待，终于见到了华丽的界面：<br />
<img title="" src="http://hiphotos.baidu.com/exp/pic/item/bbe0d311476f3b58b8127b09.jpg" alt="" /><br />
你可以用它上网，下载和安装软件，以及最重要的，运行你自己的Hello World！^_^<br />
<img title="" src="http://hiphotos.baidu.com/exp/pic/item/d1e312f4d04ab7a77709d715.jpg" alt="" /><img title="" src="http://hiphotos.baidu.com/exp/pic/item/7c5fcc1b4d19679dac6e7512.jpg" alt="" /><img title="" src="http://hiphotos.baidu.com/exp/pic/item/90cebeec97012d75279791e1.jpg" alt="" /><img title="" src="http://hiphotos.baidu.com/exp/pic/item/6398ecd3c22c6c97a9ec9aee.jpg" alt="" /><img title="" src="http://hiphotos.baidu.com/exp/pic/item/4bac3073f4dcce548701b0f6.jpg" alt="" /></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.myneuq.com/archives/331/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>计算机二级考试的事儿</title>
		<link>http://www.myneuq.com/archives/327</link>
		<comments>http://www.myneuq.com/archives/327#comments</comments>
		<pubDate>Wed, 21 Mar 2012 06:18:34 +0000</pubDate>
		<dc:creator>Cgy</dc:creator>
				<category><![CDATA[博文]]></category>

		<guid isPermaLink="false">http://www.myneuq.com/?p=327</guid>
		<description><![CDATA[计算机二级考试就要来了，对某些人来说计算机等级是无所谓的。 本人备考中发现一个问题，出现了运行结果正确却不给分的情况，也就是说此次考试不是采取黑盒模式给分，即输出匹配。   part one   全国有多少大学生？studentTotal=6,300,000人 需要参加计算机二级考试的又有多少？去年数据studentTested=1,160,000人   这么多的人考试结果如果批改？无非教师改卷或者电脑自动改卷。 1.教师改卷，全国有高校教师teacherTotal= 2,150,000 计算机相关又懂编程语言的约为:teacherRelated=0.1% x teacherTotal = 1,160 职称低到会被派去改卷的为：teacherStupid=20% x teacherRelated = 580(百分比不给太低，天朝数据提供)   于是我们得出结论，平均每个可怜的老师修改试卷总数为:godDamnNum=studentTested / teacherStupid = 2000 这是耗费相当大的人力资源的活动，而且每年2次，即使发挥出社会主义的优越性也难于应付。况且这不能算大事。 &#160; 2.于是我们只能计算机改卷了。 &#160; part two &#160; 计算机如何给分？ 如果是选项模式，ABCD判断是没问题的。可是我们填写的是代码，正如王和兴老师说的计算机的智力水平只有婴儿的智力水平，甚至没有，所以计算机不可能对编程进行分析。 &#160; 我们再来看下题目的特征： 1.改错题中明确声明不得删减或增加程序行 2.错误之处的前一行都有/********found********/注释标志 &#160; 1 .为什么不让你删减或增加程序行，出卷人怕呀。怕你删减或增加程序行后，改分程序运行出错，一旦出错，后果不堪设想。 2 .为什么要有注释标志，你可以认为是出卷人好心，让你尽快找出错误。Bullshit!     我们来分下下改分软件如何实现：     1读取你修改后的文件     2定位/********found********/注释语句       在未遇到下一个/********found********/注释语句之前去标准答案进行匹配（由于编程是一项创造性的活动，一千个程序员就有一千种代码，迫于现实，这种答案不能自由，而是有标准答案！！！这就是为什么调试正确却不得分！！！)       标准答案是一个集合，可以用树得结构储存，用回溯法进行匹配。    3匹配正确给分，否则不给分。    4重复步骤23直到没有/********found********/注释语句 &#160; 所以，亲爱的同学们，如果你明明调试改错成功却没分，不要悲伤，不要着急，因为计算机欺骗了你。 [...]]]></description>
			<content:encoded><![CDATA[<div>计算机二级考试就要来了，对某些人来说计算机等级是无所谓的。</div>
<div>本人备考中发现一个问题，出现了运行结果正确却不给分的情况，也就是说此次考试不是采取黑盒模式给分，即输出匹配。</div>
<div> </div>
<div>part one</div>
<div> </div>
<div>全国有多少大学生？studentTotal=6,300,000人</div>
<div>需要参加计算机二级考试的又有多少？去年数据studentTested=1,160,000人</div>
<div> </div>
<div>这么多的人考试结果如果批改？无非教师改卷或者电脑自动改卷。</div>
<div>1.教师改卷，全国有高校教师teacherTotal= 2,150,000</div>
<div>
<p>计算机相关又懂编程语言的约为:teacherRelated=0.1% x teacherTotal = 1,160</p>
<p>职称低到会被派去改卷的为：teacherStupid=20% x teacherRelated = 580(百分比不给太低，天朝数据提供)</p>
<p> <span id="more-327"></span></p>
<p>于是我们得出结论，平均每个可怜的老师修改试卷总数为:godDamnNum=studentTested / teacherStupid = 2000</p>
<p>这是耗费相当大的人力资源的活动，而且每年2次，即使发挥出社会主义的优越性也难于应付。况且这不能算大事。</p>
<p>&nbsp;</p>
<p>2.于是我们只能计算机改卷了。</p>
<p>&nbsp;</p>
<p>part two</p>
<p>&nbsp;</p>
<p>计算机如何给分？</p>
<p>如果是选项模式，ABCD判断是没问题的。可是我们填写的是代码，正如王和兴老师说的计算机的智力水平只有婴儿的智力水平，甚至没有，所以计算机不可能对编程进行分析。</p>
<p>&nbsp;</p>
<p>我们再来看下题目的特征：</p>
<p>1.改错题中明确声明不得删减或增加程序行</p>
<p>2.错误之处的前一行都有/********found********/注释标志</p>
<p>&nbsp;</p>
<p>1 .为什么不让你删减或增加程序行，出卷人怕呀。怕你删减或增加程序行后，改分程序运行出错，一旦出错，后果不堪设想。</p>
<p>2 .为什么要有注释标志，你可以认为是出卷人好心，让你尽快找出错误。Bullshit!</p>
<p>    我们来分下下改分软件如何实现：</p>
<p>    1读取你修改后的文件</p>
<p>    2定位/********found********/注释语句</p>
<p>      在未遇到下一个/********found********/注释语句之前去标准答案进行匹配（由于编程是一项创造性的活动，一千个程序员就有一千种代码，迫于现实，这种答案不能自由，而是有标准答案！！！这就是为什么调试正确却不得分！！！)</p>
<p>      标准答案是一个集合，可以用树得结构储存，用回溯法进行匹配。</p>
<p>   3匹配正确给分，否则不给分。</p>
<p>   4重复步骤23直到没有/********found********/注释语句</p>
<p>&nbsp;</p>
<p>所以，亲爱的同学们，如果你明明调试改错成功却没分，不要悲伤，不要着急，因为计算机欺骗了你。</p>
<p>&nbsp;</p>
<p>为什么没有全部代码由你写的题目，因为这个考试不要求你有这种能力，你不能有你自己的想法。</p>
<p>纯属没事瞎想~~玩玩就好</p>
<p>&nbsp;</p>
<p>怎么玩这个改分系统？目前还没有具体方法，看看能不能找到改分程序吧。</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.myneuq.com/archives/327/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决Eclipse java was started but returned exit code = 1问题</title>
		<link>http://www.myneuq.com/archives/318</link>
		<comments>http://www.myneuq.com/archives/318#comments</comments>
		<pubDate>Sun, 26 Feb 2012 07:46:47 +0000</pubDate>
		<dc:creator>Cgy</dc:creator>
				<category><![CDATA[小记]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Eclipse无法启动]]></category>

		<guid isPermaLink="false">http://www.myneuq.com/?p=318</guid>
		<description><![CDATA[解决Eclipse java was started but returned exit code = 1问题 运行Eclipse的时候出现Eclipse java was started but returned exit code = 1 然后就打不开了 看网上的方法是  1. 修改eclipse.ini文件 2. 安装32位版本 3. 升级JAVA  结果是: 1. 完全没用 2. 更没用 64位系统去运行32位的 3. 我自己的本来就是最新的 怎么可以更新 解决方法:  把Eclipse的目录搬到没有中文的目录里 问题解决了]]></description>
			<content:encoded><![CDATA[<h2><span style="color: #ff6600;">解决Eclipse java was started but returned exit code = 1问题</span></h2>
<p>运行Eclipse的时候出现Eclipse java was started but returned exit code = 1 然后就打不开了</p>
<p>看网上的方法是</p>
<p> 1. 修改eclipse.ini文件</p>
<p>2. 安装32位版本</p>
<p>3. 升级JAVA</p>
<p> 结果是:</p>
<p>1. 完全没用</p>
<p>2. 更没用 64位系统去运行32位的</p>
<p>3. 我自己的本来就是最新的 怎么可以更新</p>
<p>解决方法:</p>
<p> 把Eclipse的目录搬到没有中文的目录里 问题解决了</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myneuq.com/archives/318/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>JAVA学习笔记-3-Java如何改变我的人生</title>
		<link>http://www.myneuq.com/archives/307</link>
		<comments>http://www.myneuq.com/archives/307#comments</comments>
		<pubDate>Mon, 20 Feb 2012 14:07:30 +0000</pubDate>
		<dc:creator>Cgy</dc:creator>
				<category><![CDATA[小记]]></category>
		<category><![CDATA[Java技术]]></category>
		<category><![CDATA[Java改变人生]]></category>

		<guid isPermaLink="false">http://www.myneuq.com/?p=307</guid>
		<description><![CDATA[JAVA学习笔记-3-Java如何改变我的人生 How Will Java Technology Change My Life?  Java技术将如何改变我的人生？ We can&#8217;t promise you fame, fortune, or even a job if you learn the Java programming language. Still, it is likely to make your programs better and requires less effort than other languages. We believe that Java technology will help you do the following: 我们不能够保证你通过学习Java编程语言获得声望，财富甚至是一份工作。然而Java能够让你写出更好的程序并且比其它编程语言省心省力。我们相信Java技术能够帮助你做一下的事情： Get [...]]]></description>
			<content:encoded><![CDATA[<h2><span style="color: #ff6600;">JAVA学习笔记-3-Java如何改变我的人生</span></h2>
<div id="PageTitle">
<h1>How Will Java Technology Change My Life?</h1>
<h1> Java技术将如何改变我的人生？</h1>
</div>
<p>We can&#8217;t promise you fame, fortune, or even a job if you learn the Java programming language. Still, it is likely to make your programs better and requires less effort than other languages. We believe that Java technology will help you do the following:</p>
<p>我们不能够保证你通过学习Java编程语言获得声望，财富甚至是一份工作。然而Java能够让你写出更好的程序并且比其它编程语言省心省力。我们相信Java技术能够帮助你做一下的事情：</p>
<div>
<ul>
<li><strong>Get started quickly</strong>: Although the Java programming language is a powerful object-oriented language, it&#8217;s easy to learn, especially for programmers already familiar with C or C++.</li>
<li>上手快：尽管Java编程语言是一门强大的面向对象语言，它还是很容易学的，尤其是对于对c或者c++熟悉的程序员。</li>
<li><strong>Write less code</strong>: Comparisons of program metrics (class counts, method counts, and so on) suggest that a program written in the Java programming language can be four times smaller than the same program written in C++.</li>
<li>写更少的代码：通过比较各种标准（类量，方法量，等等）我们得出用Java写的程序能比用C++写出来的小4倍。</li>
</ul>
</div>
<p><span style="color: #ff6600;"><span id="more-307"></span></span></p>
<ul>
<li><strong>Write better code</strong>: The Java programming language encourages good coding practices, and automatic garbage collection helps you avoid memory leaks. Its object orientation, its JavaBeans™ component architecture, and its wide-ranging, easily extendible API let you reuse existing, tested code and introduce fewer bugs.</li>
<li>容易写代码：Java编程语言能使你形成良好的代码书写习惯，且其自动代码提示帮助你减少记忆的痛苦。Java面向对象，JavaBeans™组件结构，和大量的，可扩展的API让你重用现有的的代码使错误减少。</li>
<li><strong>Develop programs more quickly</strong>: The Java programming language is simpler than C++, and as such, your development time could be up to twice as fast when writing in it. Your programs will also require fewer lines of code.</li>
<li>更快地开发软件：Java编程语言比C++要简单，因此，你的编程时间可以减半。你的程序将用更少行代码书写。</li>
<li><strong>Avoid platform dependencies</strong>: You can keep your program portable by avoiding the use of libraries written in other languages.</li>
<li>平台独立：只要你不使用其它语言写的库，你的程序就能在各种平台下运行。</li>
<li><strong>Write once, run anywhere</strong>: Because applications written in the Java programming language are compiled into machine-independent bytecodes, they run consistently on any Java platform.</li>
<li>编写一次，到处运行：由于用Java语言编写的程序被编译为机器独立字节码，它能够持续运行于任一Java平台。</li>
<li><strong>Distribute software more easily</strong>: With Java Web Start software, users will be able to launch your applications with a single click of the mouse. An automatic version check at startup ensures that users are always up to date with the latest version of your software. If an update is available, the Java Web Start software will automatically update their installation.</li>
<li>更容易发布软件：通过Java Web Start组件，用户将很容易地点击发布软件。启动时自动版本检查让用户能够及时更新得到你最新版本的软件。如果有更新，Java Web Start将会自动下载并安装更新。</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.myneuq.com/archives/307/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JAVA学习笔记-2-Java能干神马</title>
		<link>http://www.myneuq.com/archives/300</link>
		<comments>http://www.myneuq.com/archives/300#comments</comments>
		<pubDate>Mon, 20 Feb 2012 06:36:21 +0000</pubDate>
		<dc:creator>Cgy</dc:creator>
				<category><![CDATA[小记]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[用户界面工具]]></category>
		<category><![CDATA[软件平台]]></category>

		<guid isPermaLink="false">http://www.myneuq.com/?p=300</guid>
		<description><![CDATA[JAVA学习笔记-2-Java能干神马 What Can Java Technology Do? Java技术能干神马 The general-purpose, high-level Java programming language is a powerful software platform. Every full implementation of the Java platform gives you the following features: 通用的高级编程语言Java是强大的软件平台。Java平台有以下特性： Development Tools: The development tools provide everything you&#8217;ll need for compiling, running, monitoring, debugging, and documenting your applications. As a new developer, the main [...]]]></description>
			<content:encoded><![CDATA[<div id="PageTitle">
<h2><span style="color: #ff6600;">JAVA学习笔记-2-Java能干神马</span></h2>
<h1>What Can Java Technology Do? Java技术能干神马</h1>
</div>
<p>The general-purpose, high-level Java programming language is a powerful software platform. Every full implementation of the Java platform gives you the following features:</p>
<p>通用的高级编程语言Java是强大的软件平台。Java平台有以下特性：</p>
<div>
<ul>
<li><strong>Development Tools</strong>: The development tools provide everything you&#8217;ll need for compiling, running, monitoring, debugging, and documenting your applications. As a new developer, the main tools you&#8217;ll be using are the <code>javac</code> compiler, the <code>java</code> launcher, and the <code>javadoc</code> documentation tool.</li>
<li>开发工具：开发工具提供了编译、运行、监视、调试和程序记录所需的东西。做为开发的菜鸟，你会用的主要的工具是Javac编译器，Java启动器，和Javac记录工具。</li>
</ul>
</div>
<p><span style="color: #ff6600;"><span id="more-300"></span></span></p>
<ul>
<li><strong>Application Programming Interface (API)</strong>: The API provides the core functionality of the Java programming language. It offers a wide array of useful classes ready for use in your own applications. It spans everything from basic objects, to networking and security, to XML generation and database access, and more. The core API is very large; to get an overview of what it contains, consult the <a href="http://docs.oracle.com/javase/7/docs/index.html" target="_blank">Java Platform Standard Edition 7 Documentation</a>.</li>
<li>应用程序编程接口：API为Java编程语言提供了核心函数。它提供了大量有用的类让你直接在你的程序中使用。它包含了很多东西，从基础对象，到网络与安全，到XML继承和数据库连接，还有更多。核心API非常大，如果你想大概了解下它包含了哪些东西，请查阅 <a href="http://docs.oracle.com/javase/7/docs/index.html" target="_blank">Java Platform Standard Edition 7 Documentation</a>。</li>
<li><strong>Deployment Technologies</strong>: The JDK software provides standard mechanisms such as the Java Web Start software and Java Plug-In software for deploying your applications to end users.</li>
<li>部署技术：JDK软件提供了Java Web Start软件和Java插件软件的标准机制，给你开发使用。</li>
<li><strong>User Interface Toolkits</strong>: The Swing and Java 2D toolkits make it possible to create sophisticated Graphical User Interfaces (GUIs).</li>
<li>用户界面工具：Swing和Java 2D工具让创建复杂的用户图形界面成为可能。</li>
<li><strong>Integration Libraries</strong>: Integration libraries such as the Java IDL API, JDBC™ API, Java Naming and Directory Interface™ (JNDI) API, Java RMI, and Java Remote Method Invocation over Internet Inter-ORB Protocol Technology (Java RMI-IIOP Technology) enable database access and manipulation of remote objects.</li>
<li>集成库：集成库如Java IDL API, JDBC™ API, Java Naming and Directory Interface™ (JNDI) API, Java RMI, 和 Java Remote Method Invocation over Internet Inter-ORB Protocol Technology (Java RMI-IIOP Technology) 使得远程数据库的连接和操作成为可能。</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.myneuq.com/archives/300/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JAVA学习笔记-1-关于JAVA编程</title>
		<link>http://www.myneuq.com/archives/297</link>
		<comments>http://www.myneuq.com/archives/297#comments</comments>
		<pubDate>Sun, 19 Feb 2012 01:46:32 +0000</pubDate>
		<dc:creator>Cgy</dc:creator>
				<category><![CDATA[小记]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java简介]]></category>
		<category><![CDATA[Java编程]]></category>
		<category><![CDATA[Java虚拟机技术]]></category>
		<category><![CDATA[JVM]]></category>
		<category><![CDATA[多线程编程]]></category>

		<guid isPermaLink="false">http://www.myneuq.com/?p=297</guid>
		<description><![CDATA[JAVA学习笔记-1-关于JAVA编程 注：以下为个人翻译，其准确性未经有关部门核实，如若出错请指出。 About the Java Technology 关于Java编程技术 Java technology is both a programming language and a platform. Java技术既是一门编程语言又是编程平台 The Java Programming Language Java编程语言 The Java programming language is a high-level language that can be characterized by all of the following buzzwords: Java编程语言是一门高级语言，其优点有： Simple 简洁 Object oriented 面向对象 Distributed 分布式 Multithreaded 多线程 Dynamic 动态 Architecture neutral [...]]]></description>
			<content:encoded><![CDATA[<div id="PageTitle">
<h2><span style="color: #ff6600;">JAVA学习笔记-1-关于JAVA编程</span></h2>
<p>注：以下为个人翻译，其准确性未经有关部门核实，如若出错请指出。</p>
<h1>About the Java Technology 关于Java编程技术</h1>
</div>
<div id="PageContent">
<p>Java technology is both a programming language and a platform.</p>
<p>Java技术既是一门编程语言又是编程平台</p>
<h2>The Java Programming Language Java编程语言</h2>
<p>The Java programming language is a high-level language that can be characterized by all of the following buzzwords:</p>
<p>Java编程语言是一门高级语言，其优点有：</p>
<table summary="">
<tbody>
<tr>
<td headers="h1">
<ul>
<li>Simple 简洁</li>
<li>Object oriented 面向对象</li>
<li>Distributed 分布式</li>
<li>Multithreaded 多线程</li>
<li>Dynamic 动态</li>
</ul>
</td>
<td headers="h2">
<ul>
<li>Architecture neutral 结构中立</li>
<li>Portable 可移植</li>
<li>High performance 高效</li>
<li>Robust 健壮</li>
<li>Secure 安全</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>Each of the preceding buzzwords is explained in <a href="http://java.sun.com/docs/white/langenv/" target="_blank"><em>The Java Language Environment</em></a> , a white paper written by James Gosling and Henry McGilton.</p>
<p>在James Gosling和Henry McGilton写的<a href="http://java.sun.com/docs/white/langenv/" target="_blank"><em>The Java Language Environment</em></a> （Java语言环境）中解释了以上提到的各种优点。</p>
<p><span style="color: #ff6600;"><span id="more-297"></span></span></p>
<p>In the Java programming language, all source code is first written in plain text files ending with the <code>.java</code> extension. Those source files are then compiled into <code>.class</code> files by the <code>javac</code>compiler. A <code>.class</code> file does not contain code that is native to your processor; it instead contains <em>bytecodes</em> — the machine language of the Java Virtual Machine<sup><a href="http://docs.oracle.com/javase/tutorial/getStarted/intro/definition.html#FOOT">1</a></sup> (Java VM). The <code>java</code>launcher tool then runs your application with an instance of the Java Virtual Machine.</p>
<p>在Java编程语言中，所有的源代码首先被写在以.java为后缀名的纯文本文件中。这些源文件紧接着被java编译器编译成.class文件。一个.class文件不包含能够被你的计算机处理器处理的代码；它所含的代码叫做位元码——Java虚拟机的语言。Java启动工具将把你的应用程序在Java虚拟机中创建一个实例并运行。</p>
<p><center><img src="http://docs.oracle.com/javase/tutorial/figures/getStarted/getStarted-compiler.gif" alt="Figure showing MyProgram.java, compiler, MyProgram.class, Java VM, and My Program running on a computer." width="583" height="137" align="bottom" />&nbsp;</p>
<p>An overview of the software development process.</p>
<p>软件开发过程概况</p>
<p></center>Because the Java VM is available on many different operating systems, the same <code>.class</code> files are capable of running on Microsoft Windows, the Solaris™ Operating System (Solaris OS), Linux, or Mac OS. Some virtual machines, such as the <a href="http://java.sun.com/products/hotspot/" target="_blank">Java HotSpot virtual machine</a>, perform additional steps at runtime to give your application a performance boost. This include various tasks such as finding performance bottlenecks and recompiling (to native code) frequently used sections of code.</p>
<p>由于Java虚拟机能够在许多不同的操作系统下运行，因此相同的.class文件能够运行在Windows、Solaris、Linux、Mac操作平台上。一些虚拟机例如<a href="http://java.sun.com/products/hotspot/" target="_blank">Java HotSpot virtual machine</a>，在运行时额外地添加一些步骤为你的应用程序提升性能。这些包括了多种任务如寻找性能瓶颈和代码段的重复性编译。</p>
<p><center><img src="http://docs.oracle.com/javase/tutorial/figures/getStarted/helloWorld.gif" alt="Figure showing source code, compiler, and Java VM's for Win32, Solaris OS/Linux, and Mac OS" width="346" height="332" align="bottom" />&nbsp;</p>
<p>Through the Java VM, the same application is capable of running on multiple platforms.</p>
<p>通过Java虚拟机，同样的一个程序能够在不同的操作平台下运行。</p>
<p></center></p>
<h2>The Java Platform Java平台</h2>
<p>A <em>platform</em> is the hardware or software environment in which a program runs. We&#8217;ve already mentioned some of the most popular platforms like Microsoft Windows, Linux, Solaris OS, and Mac OS. Most platforms can be described as a combination of the operating system and underlying hardware. The Java platform differs from most other platforms in that it&#8217;s a software-only platform that runs on top of other hardware-based platforms.</p>
<p>一个平台是运行着程序的硬件或者软件环境。我们已经提及了一些流行的平台例如Windows、Linux、Solaris、Mac。大部分的平台能够被描述为一个操作系统与底层硬件的连接器。Java平台与其它大部分平台不同，Java平台是运行在其他基于硬件的平台上的“净软件”的平台。</p>
<p>The Java platform has two components:</p>
<p>Java平台有两个组件：</p>
<ul>
<li>The <em>Java Virtual Machine Java虚拟机</em></li>
<li>The <em>Java Application Programming Interface</em> (API) Java应用程序接口</li>
</ul>
<p>You&#8217;ve already been introduced to the Java Virtual Machine; it&#8217;s the base for the Java platform and is ported onto various hardware-based platforms.</p>
<p>你已经了解了Java虚拟机，它是Java平台的基础并且能够跨多种基于硬件的平台。</p>
<p>The API is a large collection of ready-made software components that provide many useful capabilities. It is grouped into libraries of related classes and interfaces; these libraries are known as <em>packages</em>. The next section, <a href="http://docs.oracle.com/javase/tutorial/getStarted/intro/cando.html" target="_top">What Can Java Technology Do?</a> highlights some of the functionality provided by the API.</p>
<p>API是一个已经写好了的程序组件集合，提供许多非常有用的功能。根据不同classes（类）和interfaces（接口）把它归入不同的库；这些库被称为packages（包）。在下面的一节， <a href="http://docs.oracle.com/javase/tutorial/getStarted/intro/cando.html" target="_top">What Can Java Technology Do?</a>（Java技术能做些什么）将着重介绍一些API提供的功能函数。</p>
<p><center><img src="http://docs.oracle.com/javase/tutorial/figures/getStarted/getStarted-jvm.gif" alt="Figure showing MyProgram.java, API, Java Virtual Machine, and Hardware-Based Platform" width="266" height="127" align="bottom" />&nbsp;</p>
<p>The API and Java Virtual Machine insulate the program from the underlying hardware.</p>
<p>API和Java虚拟机将程序与底层硬件隔离</p>
<p></center>As a platform-independent environment, the Java platform can be a bit slower than native code. However, advances in compiler and virtual machine technologies are bringing performance close to that of native code without threatening portability.</p>
<p>作为一个平台独立（跨平台）的环境，Java平台会比机器码运行速度慢一点。然而，Java编译器和虚拟机技术的优点让程序运行免受移植性的威胁。</p>
<p><a id="FOOT" name="FOOT"></a>The terms”Java Virtual Machine” and “JVM” mean a Virtual Machine for the Java platform.</p>
<p>Java虚拟机是指一个运行于Java平台上的虚拟机。</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.myneuq.com/archives/297/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Win7下虚拟wifi实现无线路由功能</title>
		<link>http://www.myneuq.com/archives/286</link>
		<comments>http://www.myneuq.com/archives/286#comments</comments>
		<pubDate>Thu, 09 Feb 2012 08:10:46 +0000</pubDate>
		<dc:creator>Cgy</dc:creator>
				<category><![CDATA[小记]]></category>
		<category><![CDATA[WIFI]]></category>
		<category><![CDATA[WIN7]]></category>
		<category><![CDATA[无线路由]]></category>
		<category><![CDATA[网络连接]]></category>

		<guid isPermaLink="false">http://www.myneuq.com/?p=286</guid>
		<description><![CDATA[Win7下虚拟wifi实现无线路由功能 &#160;         在平常上网过程中，难免会遇到一些网络方面的问题，这时候我们就需要查看网络连接的状态，查找问题根源。在Windows XP中，大家这时候都会从开始菜单或控制面板打开“网络连接”窗口来检查网络问题，但对于一个 Windows7 新手来说，找到这个窗口似乎有点困难，在控制面板中搜索“网络连接”也找不到它。这时候，大家应该想到的就是上次介绍过的“网络和共享中心”，因为这里集中了网络相关的常规配置，在这里能不能找到线索呢？ 　　试试点击左上方的“更改适配器设置”任务吧，瞧，“网络连接”窗口原来藏在这里，这时候我们就可以和XP中一样查看到计算机中网卡的设置和状态了： 　　但有的同学可能会发现，在这些网卡当中多了一个叫“Microsoft Virtual WiFi Miniport Adapter”的东西，按名字来看似乎是微软的虚拟Wifi网卡。电脑中怎么会无缘无故多了这么一个东西呢？难道又一个Windows7的隐藏功能被发现啦？ 　　没错，这的确是 Windows7 中深藏不漏的新功能——“Win7虚拟Wifi”，不好意思在前面给大家卖了很大一个关子。简单来说，Windows7能在现有无线网卡的基础上再虚拟出一块无线网卡，支持网络共享，让我们的电脑变成无线路由器哦!看来如今“虚拟”真是无处不在啊。 　　有的同学可能知道，在此之前，其实也可以建立临时网络向其他Wifi设备共享互联网啊，虚拟 Wifi 网卡有什么新的优势呢？ 　　传统的临时无线网(即Ad Hoc模式)是一种点对点网络，类似于有线网中的“双机互联”，虽然也能实现互联网共享，但主要用于两个设备临时互联，并且有的设备(如采用Android系统的设备)并不支持连接到临时无线网。还有一个很严重的问题，由于一块无线网卡只能连接到一个无线网络，因此如果通过无线网卡连接到 Internet，就不能再使用这个无线网卡建立临时网络，共享 Internet 了。 　　而Windows7 中的虚拟 Wifi 功能可以在一块真实无线网卡基础上再虚拟出一块网卡，实现无线路由器的 AP功能，解决了临时网络的所有问题。 　　这么诱人的功能，现在赶紧教给大家： 　　1. 以管理员身份运行命令提示符 　　因为下面的步骤必须在管理员权限下运行，因此我们从开始菜单找到“命令提示符”，或直接键入cmd快速搜索，右键单击它，选择“以管理员身份运行”，在弹出的用户控制窗口中单击“是”。还有一种方法就是按住Ctrl和Shift键直接单击该快捷方式，更简单哦。 　　2. 启用并设定“虚拟Wifi网卡”模式 　　运行以下命令启用虚拟无线网卡(相当于打开路由器)： 　  netsh wlan set hostednetwork mode=allow          netsh wlan set hostednetwork ssid=DEMO_AP          netsh wlan set hostednetwork key=PASSWORD keyusage=persistent 注：红字部分为可替换为自己需要的内容 [...]]]></description>
			<content:encoded><![CDATA[<h2><span style="color: #ff6600;">Win7下虚拟wifi实现无线路由功能</span></h2>
<p>&nbsp;</p>
<p>        在平常上网过程中，难免会遇到一些网络方面的问题，这时候我们就需要查看网络连接的状态，查找问题根源。在Windows XP中，大家这时候都会从开始菜单或控制面板打开“网络连接”窗口来检查网络问题，但对于一个 Windows7 新手来说，找到这个窗口似乎有点困难，在控制面板中搜索“网络连接”也找不到它。这时候，大家应该想到的就是上次介绍过的“网络和共享中心”，因为这里集中了网络相关的常规配置，在这里能不能找到线索呢？</p>
<p><span style="font-family: simsun;">　　试试点击左上方的“更改适配器设置”任务吧，瞧，“网络连接”窗口原来藏在这里，这时候我们就可以和</span><span style="font-family: calibri;">XP</span><span style="font-family: simsun;">中一样查看到计算机中网卡的设置和状态了：</span></p>
<p><span style="font-family: simsun;">　　但有的同学可能会发现，在这些网卡当中多了一个叫“</span><span style="font-family: calibri;">Microsoft Virtual WiFi Miniport Adapter”</span><span style="font-family: simsun;">的东西，按名字来看似乎是微软的虚拟</span><span style="font-family: calibri;">Wifi</span><span style="font-family: simsun;">网卡。电脑中怎么会无缘无故多了这么一个东西呢？难道又一个</span><span style="font-family: calibri;">Windows7</span><span style="font-family: simsun;">的隐藏功能被发现啦？</span></p>
<p><span style="font-family: simsun;"><span id="more-286"></span></span></p>
<p><span style="font-family: simsun;">　　没错，这的确是</span><span style="font-family: calibri;"> Windows7 </span><span style="font-family: simsun;">中深藏不漏的新功能——“</span><strong><span style="font-family: verdana;">Win7</span></strong><strong><span style="font-family: simsun;">虚拟</span></strong><strong><span style="font-family: verdana;">Wifi</span></strong><span style="font-family: verdana;">”，不好意思在前面给大家卖了很大一个关子。简单来说，Windows7能在现有无线网卡的基础上再虚拟出一块无线网卡，支持网络共享，让我们的电脑变成无线路由器哦!看来如今“虚拟”真是无处不在啊。</span></p>
<p><span style="font-family: simsun;">　　有的同学可能知道，在此之前，其实也可以建立临时网络向其他</span><span style="font-family: calibri;">Wifi</span><span style="font-family: simsun;">设备共享互联网啊，虚拟</span><span style="font-family: calibri;"> Wifi </span><span style="font-family: simsun;">网卡有什么新的优势呢？</span></p>
<p><span style="font-family: simsun;">　　传统的临时无线网</span><span style="font-family: calibri;">(</span><span style="font-family: simsun;">即</span><span style="font-family: calibri;">Ad Hoc</span><span style="font-family: simsun;">模式</span><span style="font-family: calibri;">)</span><span style="font-family: simsun;">是一种点对点网络，类似于有线网中的“双机互联”，虽然也能实现互联网共享，但主要用于两个设备临时互联，并且有的设备</span><span style="font-family: calibri;">(</span><span style="font-family: simsun;">如采用</span><span style="font-family: calibri;">Android</span><span style="font-family: simsun;">系统的设备</span><span style="font-family: calibri;">)</span><span style="font-family: simsun;">并不支持连接到临时无线网。还有一个很严重的问题，由于一块无线网卡只能连接到一个无线网络，因此如果通过无线网卡连接到</span><span style="font-family: calibri;"> Internet</span><span style="font-family: simsun;">，就不能再使用这个无线网卡建立临时网络，共享</span><span style="font-family: calibri;"> Internet </span><span style="font-family: simsun;">了。</span></p>
<p><span style="font-family: simsun;">　　而</span><span style="font-family: calibri;">Windows7 </span><span style="font-family: simsun;">中的虚拟</span><span style="font-family: calibri;"> Wifi </span><span style="font-family: simsun;">功能可以在一块真实无线网卡基础上再虚拟出一块网卡，实现无线路由器的</span><span style="font-family: calibri;"> AP</span><span style="font-family: simsun;">功能，解决了临时网络的所有问题。</span></p>
<p><span style="font-family: simsun;">　　这么诱人的功能，现在赶紧教给大家：</span></p>
<p><span style="font-family: simsun;">　　</span><span style="font-family: calibri;">1. </span><span style="font-family: simsun;">以管理员身份运行命令提示符</span></p>
<p><span style="font-family: simsun;">　　因为下面的步骤必须在管理员权限下运行，因此我们从开始菜单找到“命令提示符”，或直接键入</span><span style="font-family: calibri;">cmd</span><span style="font-family: simsun;">快速搜索，右键单击它，选择“以管理员身份运行”，在弹出的用户控制窗口中单击“是”。还有一种方法就是按住</span><span style="font-family: calibri;">Ctrl</span><span style="font-family: simsun;">和</span><span style="font-family: calibri;">Shift</span><span style="font-family: simsun;">键直接单击该快捷方式，更简单哦。</span></p>
<p><span style="font-family: simsun;">　　</span><span style="font-family: calibri;">2. </span><span style="font-family: simsun;">启用并设定“虚拟</span><span style="font-family: calibri;">Wifi</span><span style="font-family: simsun;">网卡”模式</span></p>
<p><span style="font-family: simsun;">　　运行以下命令启用虚拟无线网卡</span><span style="font-family: calibri;">(</span><span style="font-family: simsun;">相当于打开路由器</span><span style="font-family: calibri;">)</span><span style="font-family: simsun;">：</span></p>
<p><span style="font-family: simsun;">　  </span><span style="font-family: calibri;">netsh wlan set hostednetwork mode=allow</span></p>
<p>         netsh wlan set hostednetwork ssid=<span style="color: #ff0000;">DEMO_AP</span></p>
<p>         netsh wlan set hostednetwork key=<span style="color: #ff0000;">PASSWORD keyusage</span>=persistent</p>
<p><span style="font-family: 宋体; color: #ff0000;">注：红字部分为可替换为自己需要的内容</span></p>
<p><span style="font-family: simsun;">　　这个命令中有三个参数：</span></p>
<p><span style="font-family: simsun;">　　</span><span style="font-family: calibri;">Mode</span><span style="font-family: simsun;">：是否启用虚拟</span><span style="font-family: calibri;">Wifi</span><span style="font-family: simsun;">网卡，改为</span><span style="font-family: calibri;">disallow</span><span style="font-family: simsun;">则为禁用，虚拟网卡即会消失。</span></p>
<p><span style="font-family: simsun;">　　</span><span style="font-family: calibri;">Ssid</span><span style="font-family: simsun;">：指定无线网络的名称，最好为英文。</span></p>
<p><span style="font-family: simsun;">　　</span><span style="font-family: calibri;">Key</span><span style="font-family: simsun;">：指定无线网络的密码。该密码用于对无线网进行安全的</span><span style="font-family: calibri;">WPA2</span><span style="font-family: simsun;">加密，能够很好的防止被蹭网。</span></p>
<p><span style="font-family: calibri;">        Keyusage</span><span style="font-family: 宋体;">：指定密码为长期有效还是临时密码。</span></p>
<p><span style="font-family: simsun;">　　以上三个参数其实可以单独使用，例如只使用</span><span style="font-family: calibri;"> mode=disallow </span><span style="font-family: simsun;">可以直接禁用虚拟</span><span style="font-family: calibri;">Wifi</span><span style="font-family: simsun;">网卡。</span></p>
<p><span style="font-family: simsun;">　　</span><span style="font-family: calibri;">3. </span><span style="font-family: simsun;">启用“</span><span style="font-family: calibri;">Internet</span><span style="font-family: simsun;">连接共享</span><span style="font-family: calibri;">(ICS)”</span></p>
<p><span style="font-family: simsun;">　　为了与其他计算机或设备共享已连接的互联网，我们需要启用“</span><span style="font-family: calibri;">Internet</span><span style="font-family: simsun;">连接共享”功能。打开“网络连接”窗口，右键单击已连接到</span><span style="font-family: calibri;">Internet</span><span style="font-family: simsun;">的网络连接，选择“属性”，切换到“共享”选项卡，选中其中的复选框，并选择允许其共享</span><span style="font-family: calibri;">Internet</span><span style="font-family: simsun;">的网络连接在这里即我们的虚拟</span><span style="font-family: calibri;">Wifi</span><span style="font-family: simsun;">网卡：</span></p>
<p><span style="font-family: simsun;">　　确定之后，提供共享的网卡图标旁会出现“已共享”标志，表示“</span><span style="font-family: calibri;">Internet</span><span style="font-family: simsun;">连接共享”向虚拟无线网卡开通了：</span></p>
<p><span style="font-family: simsun;">　　</span><span style="font-family: calibri;">4. </span><span style="font-family: simsun;">开启无线网络</span></p>
<p>继续在命令提示符中运行以下命令：</p>
<p><span style="font-family: simsun;">　　</span><span style="font-family: calibri;">netsh wlan start hostednetwork</span></p>
<p><span style="font-family: simsun;">　　即可开启我们之前设置好的无线网络</span><span style="font-family: calibri;">(</span><span style="font-family: simsun;">相当于打开路由器的无线功能。同理，将</span><span style="font-family: calibri;">start</span><span style="font-family: simsun;">改为</span><span style="font-family: calibri;">stop</span><span style="font-family: simsun;">即可关闭该无线网</span><span style="font-family: calibri;">)</span><span style="font-family: simsun;">。</span></p>
<p><span style="font-family: simsun;">　　可以看到，虚拟无线网卡已经开启了我们所指定的无线网络，其</span><span style="font-family: calibri;">IP</span><span style="font-family: simsun;">地址等属性是由“</span><span style="font-family: calibri;">Internet</span><span style="font-family: simsun;">连接共享”服务分配的，因此比较特别：</span></p>
<p><span style="font-family: simsun;">　　一切准备就绪，最后只要在需要联网的的电脑或手机上连接该无线网络，就可以直接畅游互联网了：</span></p>
<p><span style="font-family: simsun;">　　需要多说一点的是，“虚拟</span><span style="font-family: calibri;">Wifi</span><span style="font-family: simsun;">网卡”，需要真实网卡的驱动程序专门针对</span><span style="font-family: calibri;">Windows7</span><span style="font-family: simsun;">设计开发。所幸只要通过“</span><span style="font-family: calibri;">Windows7 </span><span style="font-family: simsun;">徽标认证”的无线网卡驱动程序都支持该模式，我们在选购无线网卡时直接寻找是否带有该标志即可。如果在运行</span><span style="font-family: calibri;">mode=allow</span><span style="font-family: simsun;">命令后，网络连接中没有出现虚拟无线网卡，就说明真实网卡不支持该功能。大家可以将网卡驱动升级到最新的</span><span style="font-family: calibri;">Windows7</span><span style="font-family: simsun;">版本试试看。</span></p>
<p><span style="font-family: simsun;">　　除了使用命令设置虚拟</span><span style="font-family: calibri;">WIFI</span><span style="font-family: simsun;">功能，微软还将其编程接口公开了出来，为开发图形化设置程序提供了可能，例如免费小软件</span><span style="font-family: calibri;">Connectify</span><span style="font-family: simsun;">就能直观的设置虚拟</span><span style="font-family: calibri;">Wifi</span><span style="font-family: simsun;">功能，同学们可以在其官方网站下载使用</span></p>
<p><span style="font-family: simsun;">　　总之，今天介绍这个功能非常适合家庭或学生宿舍使用，只要提供共享的电脑不休眠不关机，就可以和路由器一样提供网络共享。使用</span><span style="font-family: calibri;">Windows7</span><span style="font-family: simsun;">还能省掉购买的无线路由器的开销，想一想，很很划算吧？</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.myneuq.com/archives/286/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby教程 &#8211; 1- 安装Ruby</title>
		<link>http://www.myneuq.com/archives/277</link>
		<comments>http://www.myneuq.com/archives/277#comments</comments>
		<pubDate>Thu, 09 Feb 2012 07:58:48 +0000</pubDate>
		<dc:creator>Cgy</dc:creator>
				<category><![CDATA[Ruby基础教程]]></category>

		<guid isPermaLink="false">http://www.myneuq.com/?p=277</guid>
		<description><![CDATA[Ruby教程 &#8211; 1- 安装Ruby                   该视频教你如何在windows操作系统下安装Ruby，并且对Ruby做简单介绍。介绍编程的最最基础的概念：          Ruby，一种为简单快捷的面向对象编程（面向对象程序设计）而创的脚本语言，在20世纪90年代由日本人松本行弘（まつもとゆきひろ/Yukihiro Matsumoto）开发，遵守GPL协议和Ruby License。它的灵感与特性来自于 Perl、Smalltalk、Eiffel、Ada 以及 Lisp 语言。由 Ruby 语言本身还发展出了JRuby（Java 平台）、IronRuby（.NET 平台）等其他平台的 Ruby 语言替代品。Ruby的作者于1993年2月24日开始编写Ruby，直至1995年12月才正式公开发布于fj（新闻组）。因为Perl发音与6月诞生石pearl（珍珠）相同，因此Ruby以7月诞生石ruby（红宝石）命名。 &#160;]]></description>
			<content:encoded><![CDATA[<h2><span style="color: #ff6600;">Ruby教程 &#8211; 1- 安装Ruby</span></h2>
<p><span style="color: #ff6600;"><span id="more-277"></span></span><br />
<object width="600" height="400" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://player.youku.com/player.php/sid/XMzQ5NTE3OTUy/v.swf" /><param name="allowfullscreen" value="true" /><param name="quality" value="high" /><param name="allowscriptaccess" value="always" /><embed width="600" height="400" type="application/x-shockwave-flash" src="http://player.youku.com/player.php/sid/XMzQ5NTE3OTUy/v.swf" allowfullscreen="true" quality="high" allowscriptaccess="always" /></object><br />
        </p>
<p>         该视频教你如何在windows操作系统下安装Ruby，并且对Ruby做简单介绍。介绍编程的最最基础的概念：</p>
<div>
<p>         Ruby，一种为简单快捷的面向对象编程（面向对象程序设计）而创的脚本语言，在20世纪90年代由日本人松本行弘（まつもとゆきひろ/Yukihiro Matsumoto）开发，遵守GPL协议和Ruby License。它的灵感与特性来自于 Perl、Smalltalk、Eiffel、Ada 以及 Lisp 语言。由 Ruby 语言本身还发展出了JRuby（Java 平台）、IronRuby（.NET 平台）等其他平台的 Ruby 语言替代品。Ruby的作者于1993年2月24日开始编写Ruby，直至1995年12月才正式公开发布于fj（新闻组）。因为Perl发音与6月诞生石pearl（珍珠）相同，因此Ruby以7月诞生石ruby（红宝石）命名。</p>
<p>&nbsp;</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.myneuq.com/archives/277/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

