<?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>青春联盟</title>
	<atom:link href="http://www.ofyu.com/index.php?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.ofyu.com</link>
	<description>开放●自由</description>
	<lastBuildDate>Wed, 01 Sep 2010 02:20:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Eclipse快捷键大全</title>
		<link>http://www.ofyu.com/?p=320</link>
		<comments>http://www.ofyu.com/?p=320#comments</comments>
		<pubDate>Wed, 01 Sep 2010 02:20:08 +0000</pubDate>
		<dc:creator>小Q</dc:creator>
				<category><![CDATA[科技]]></category>

		<guid isPermaLink="false">http://www.ofyu.com/?p=320</guid>
		<description><![CDATA[Ctrl+1 快速修复(最经典的快捷键,就不用多说了)
Ctrl+D: 删除当前行
Ctrl+Alt+↓ 复制当前行到下一行(复制增加)
Ctrl+Alt+↑ 复制当前行到上一行(复制增加)
······· <a href="http://www.ofyu.com/?p=320">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.ofyu.com/?feed=rss2&amp;p=320</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>关于minicom在非root用户下的使用</title>
		<link>http://www.ofyu.com/?p=313</link>
		<comments>http://www.ofyu.com/?p=313#comments</comments>
		<pubDate>Fri, 27 Aug 2010 00:49:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.ofyu.com/?p=313</guid>
		<description><![CDATA[Linux环境下，经常需要用到终端的用户会很熟悉minicom，其功能可以说是很强大的，正确利用好minicom可以为我们的开发工作带来便利。这样一来，我们就不需要windows下的超级终端。Linux有着很好的文件权限管理，包括对各种文件、设备的管理，而正因为这个原因，也给一些普通用户的带来一些烦恼，Linux用户可能在非root用户工作时，遇到无法正确使用或者很好的使用minicom这个问题。 笔者在CentOS5.5(Final)遇到的问题是，普通用户权限不能打开ttyS0（如果是USB to RS232转接口，通常是ttyUSB0），当然你用su或者是sudo的话可能没有问题。有没有一种一劳永逸的方法呢？ 俗语云，只有想不到的，没有办不到的。答案是肯定的，而且方法也有如下几种：（以笔者用的USB to RS232转接口为准，因为现在见到有串口的电脑是很荣幸的事情，况且用笔记本是趋势） 方法一：sudo chmod a+rw /dev/ttyUSB0，但这种方法不能是一劳永逸，重启过后又还原。 方法二：修改udev的规则文件 #su #gedit /etc/udev/rules.d/50-udev.rules 找到# serial+dialup devices KERNEL==&#8221;tts/USB[0-9]*&#8221;, NAME=&#8221;%k&#8221;, GROUP=&#8221;uucp&#8221;, MODE=&#8221;0660&#8243; KERNEL==&#8221;ttyUSB[0-9]*&#8221;, NAME=&#8221;%k&#8221;, GROUP=&#8221;uucp&#8221;, MODE=&#8221;0666&#8243; KERNEL==&#8221;tty[A-Z]*&#8221;, NAME=&#8221;%k&#8221;, GROUP=&#8221;uucp&#8221;, MODE=&#8221;0660&#8243; 注意，一定要在tty[A-Z]*之前添加，不然规则是由KERNEL==&#8221;tty[A-Z]*&#8221;这行来创建。 普通用户可能会遇到的问题，比如无法创建lockfile，此文件是在/var/lock下创建的，我们修改此文件夹的属性为777即可。 至此，我们重新插上USB to RS232转接口，root用户修改minicom配置中的Seriel Device为ttyUSB0，并保存配置文件即可。]]></description>
		<wfw:commentRss>http://www.ofyu.com/?feed=rss2&amp;p=313</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu10.04和XP时间不一致</title>
		<link>http://www.ofyu.com/?p=306</link>
		<comments>http://www.ofyu.com/?p=306#comments</comments>
		<pubDate>Sun, 15 Aug 2010 13:30:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.ofyu.com/?p=306</guid>
		<description><![CDATA[每当我重启到了windows后，我的计算机的时间就不准了。我如何才能解决它？ 每当我重启到了我的windws分区，我的系统时间总是和我这里的本地时间有N小时的误差。在Ubuntu下我如何才能解决这个问题呢？ 编辑文件 /etc/default/rcS .这里是设置时间用的 (&#8220;UTC=&#8221;). 把它设置成 no (&#8220;UTC=no&#8221;)]]></description>
		<wfw:commentRss>http://www.ofyu.com/?feed=rss2&amp;p=306</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>彻底关闭默认共享</title>
		<link>http://www.ofyu.com/?p=274</link>
		<comments>http://www.ofyu.com/?p=274#comments</comments>
		<pubDate>Sat, 14 Aug 2010 01:49:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[科技]]></category>

		<guid isPermaLink="false">http://www.ofyu.com/?p=274</guid>
		<description><![CDATA[大家都应该知道在WIN2000/XP/2003中系统是默认开启一些共享的，他们是ipc$,c$,d$,e$和admin$。很多黑客和病毒都是通过这个默认共享入侵到操作系统中的，因此我们需要将这些默认共享关闭。 在注册表中进行操作，要防范ipc$攻击应该将注册表中的HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet \Control\LSA的RestrictAnonymous 项设置为“1”，这样就可以有效的禁止空用户的连接了。对于c$,d$和admin$等类型的默认共享则需要在注册表中找到 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer \Parameters项，如果是2000server,2003server的话需要在该项中添加键值“AutoShareServer”，类型为 “REG_DWORD”，值为“0”。如果是2000professional的话应在该项中添加键值“AutoShareWks”，类型为 “REG_DWORD”，值为“0”。 小提示： 其实如果本地计算机不与其他机器共享文件和打印服务的话还有一个更简单的方法关闭这些默认共享，就是将server服务禁用。 如何关闭默认共享- - 2000或者Xp下硬盘默认是共享的，即使你关闭共享，下次启动后还是会共享。 想要让域内的工作站不盗窃你的个人工作成果，尝试一下建立一个批处理文件，并放在all users的startup里（或者建一个快捷方式放在里面也可以）。内容如下：net share c$ /delete net share d$ /delete net share e$ /delete]]></description>
		<wfw:commentRss>http://www.ofyu.com/?feed=rss2&amp;p=274</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PreparedStatement语句的批处理</title>
		<link>http://www.ofyu.com/?p=300</link>
		<comments>http://www.ofyu.com/?p=300#comments</comments>
		<pubDate>Mon, 26 Jul 2010 12:31:39 +0000</pubDate>
		<dc:creator>小Q</dc:creator>
				<category><![CDATA[网络]]></category>

		<guid isPermaLink="false">http://www.ofyu.com/?p=300</guid>
		<description><![CDATA[import java.sql.*; public class TestBatchforPstmt1 { public static void main(String[] args) { PreparedStatement pstmt=null; Connection conn=null; try { Class.forName(&#8220;com.mysql.jdbc.Driver&#8221;); String url=&#8221;jdbc:mysql://127.0.0.1:3306/mysql&#8221;; String user=&#8221;root&#8221;; String password=&#8221;******&#8221;; conn=DriverManager.getConnection(url,user,password); pstmt=conn.prepareStatement(&#8220;insert into dbtest values(?,?,?)&#8221;); conn.setAutoCommit(false);//首先把Auto commit设置为false,不让它自动提交 pstmt.setInt(1,15); pstmt.setString(2,&#8221;nlh&#8221;); pstmt.setInt(3,25); pstmt.addBatch(); //将一组参数添加到此 PreparedStatement 对象的批处理命令中。 pstmt.setInt(1,16); &#8230; <a href="http://www.ofyu.com/?p=300">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.ofyu.com/?feed=rss2&amp;p=300</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在centos5上面安装ntfs-3g 实现对NTFS分区的支持</title>
		<link>http://www.ofyu.com/?p=285</link>
		<comments>http://www.ofyu.com/?p=285#comments</comments>
		<pubDate>Mon, 19 Jul 2010 06:59:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.ofyu.com/?p=285</guid>
		<description><![CDATA[在centos5上面安装ntfs-3g 实现对NTFS分区的支持 下载ntfs-3g http://www.ntfs-3g.org/ ntfs-3g依赖FUSE（Filesystem in Userspace） 先处理依赖 下载FUSE http://fuse.sourceforge.net/ 编译FUSE &#62; ./configure &#62; make &#62; make install 编译ntfs-3g &#62; ./configure &#62; make &#62; make install 挂载 方式一 mount -t ntfs-3g /dev/sda1 /mnt/windows 默认挂载方式 默认支持读写 方式二 mount -t ntfs-3g /dev/sda1 &#8230; <a href="http://www.ofyu.com/?p=285">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.ofyu.com/?feed=rss2&amp;p=285</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>我是一个硬盘(美文)</title>
		<link>http://www.ofyu.com/?p=284</link>
		<comments>http://www.ofyu.com/?p=284#comments</comments>
		<pubDate>Tue, 29 Jun 2010 08:49:27 +0000</pubDate>
		<dc:creator>小Q</dc:creator>
				<category><![CDATA[科技]]></category>

		<guid isPermaLink="false">http://www.ofyu.com/?p=284</guid>
		<description><![CDATA[在一个普普通通的台式机里工作。别人总认为我们是高科技白领，工作又干净又体面，似乎风光得很。也许他们是因为看到洁白漂亮的机箱才有这样的错觉吧。其实象我们这样的小台式机，工作环境狭迫，里面的灰尘吓得死人。每天生活死水一潭，工作机械重复。跑跑文字处理看看电影还凑活，真要遇到什么大软件和游戏上上下下就要忙的团团转，最后还常常要死机。······ <a href="http://www.ofyu.com/?p=284">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.ofyu.com/?feed=rss2&amp;p=284</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10个免费PHP的CMS内容管理系统推荐</title>
		<link>http://www.ofyu.com/?p=283</link>
		<comments>http://www.ofyu.com/?p=283#comments</comments>
		<pubDate>Fri, 04 Jun 2010 01:10:09 +0000</pubDate>
		<dc:creator>Wang</dc:creator>
				<category><![CDATA[网络]]></category>

		<guid isPermaLink="false">http://www.ofyu.com/?p=283</guid>
		<description><![CDATA[这里为需要建站但又徘徊的朋友介绍10个免费PHP+MySql平台下的CMS内容管理系统，可能会对你的选择有指导作用。 1. Joomla! 一套在国外相当知名的内容管理系统，2007年开源cms第一名!Joomla!是使用PHP语言加上MySQL数据库所开发的软件系统，可以在 Linux、Windows、MacOSX等各种不同的平台上执行。操作接口除了美观之外，也花了很多心力在设计这些接口的简易操作性。但初次使用者，需 要花一点时间学习一下操作的方式，才能运用自如。。 2. Drupal 是一个强大的软件，它可以让个人或社区使用者很容易地发表、管理并组织一个网站里大量且多样的内容。已经有许多个人和组织采用Drupal来建立各 种不同的网站。Drupal是一套采用GPL授权的开放源码软件，是由数以千计的使用者和开发人员所共同维护和开发的。 3. Mambo 一个国外的CMS系统，功能很强大，支持添加很多组件，模块；拥有丰富的模板.Mambo是一个网站内容管理系统(CMS)，它是网站的后台引擎， 使网站内容的创建、管理和共享更加简易。Mambo十分强大，但官方网站网站也承认，它不是典型的“门户”网站解决方案。 4. DEDECMS 一款国内开源的cms，作者是一个个人，能做出如此功能的cms，是相当不错的。2007版功能十分强大，希望能改善之前数据量一大，更新静态页就 很慢的缺点。因为开源，有较多的玩家和拥护者。非常适合有一定编程基础的站长。 5. phpcms 一个综合的网站管理系统，由PHP+MYSQL构架全站生成html，能够快速高效地应用于LINUX和WINDOWS服务器平台，是目前中国 LINUX环境下最佳的网站管理应用解决方案之一。据传被酷6收购。 6. 帝国网站管理系统 Ecms全称为&#8221;帝国网站管理系统&#8221;，英文译为&#8221;Empire CMS&#8221;简称&#8221;Ecms&#8221;.Ecms是基于B S结构，且功能强大而易用的网站管理系统.是一个经过完善设计的适用于Linux windows Unix等环境下高效的网站解决方案。 7. php168 PHP168整站系统，代码全部开源，可方便的进行二次开发，功能模块可以自由安装与删除，个人用户免费使用。系统频道模块很多，适合作个人门户网 站。较多页面没有生成静态页。如果你想建站，就义无反顾的选择它吧!!! 8. HBcms 一个以PHP官方网站推荐的PEAR+SMARTY技术架构的cms，比较容易上手，适合没经验的新人做网站。没有下载，分类信息等模块，适合做文 章为主的网站。全站生成静态页，默认附带了几套模板，可以方便的更换模板。个人企业都免费，无需授权。 9. SupSite 是康盛的产品，一款将论坛资源自动转换成门户网站的php程序系统，使用SupeSite，并利用你现有的discuz！论坛，你将自动拥有一个功 &#8230; <a href="http://www.ofyu.com/?p=283">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.ofyu.com/?feed=rss2&amp;p=283</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
