﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-程序的优雅之美-随笔分类-开发</title><link>http://www.blogjava.net/becky/category/29664.html</link><description /><language>zh-cn</language><lastBuildDate>Mon, 25 Feb 2008 13:02:22 GMT</lastBuildDate><pubDate>Mon, 25 Feb 2008 13:02:22 GMT</pubDate><ttl>60</ttl><item><title>用Perl写的定时关机程序</title><link>http://www.blogjava.net/becky/archive/2006/01/16/28202.html</link><dc:creator>Becky</dc:creator><author>Becky</author><pubDate>Mon, 16 Jan 2006 07:39:00 GMT</pubDate><guid>http://www.blogjava.net/becky/archive/2006/01/16/28202.html</guid><wfw:comment>http://www.blogjava.net/becky/comments/28202.html</wfw:comment><comments>http://www.blogjava.net/becky/archive/2006/01/16/28202.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/becky/comments/commentRss/28202.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/becky/services/trackbacks/28202.html</trackback:ping><description><![CDATA[<P>睡觉之前我总想听一会儿音乐再睡觉，不知道java该怎么写<IMG height=19 src="http://www.blogjava.net/Emoticons/confused_smile.gif" width=19 border=0><BR>先用Perl写了一个用<BR></P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">use</SPAN><SPAN style="COLOR: #000000">&nbsp;Win32;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #800080">$machine</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;Win32</SPAN><SPAN style="COLOR: #000000">::</SPAN><SPAN style="COLOR: #000000">NodeName();<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #800080">$timeout</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #800000">3600</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="COLOR: #800080">$ARGV</SPAN><SPAN style="COLOR: #000000">[</SPAN><SPAN style="COLOR: #800000">0</SPAN><SPAN style="COLOR: #000000">]){</SPAN><SPAN style="COLOR: #800080">$timeout</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #800080">$ARGV</SPAN><SPAN style="COLOR: #000000">[</SPAN><SPAN style="COLOR: #800000">0</SPAN><SPAN style="COLOR: #000000">];}<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #800080">$message</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;Win32</SPAN><SPAN style="COLOR: #000000">::</SPAN><SPAN style="COLOR: #000000">MsgBox(</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #000000">"</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #000000">shut&nbsp;down&nbsp;after&nbsp;$timeout&nbsp;seconds.</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>Win32</SPAN><SPAN style="COLOR: #000000">::</SPAN><SPAN style="COLOR: #000000">InitiateSystemShutdown(</SPAN><SPAN style="COLOR: #800080">$machine</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #800080">$message</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #800080">$timeout</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">true</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">true);<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN></DIV> <img src ="http://www.blogjava.net/becky/aggbug/28202.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/becky/" target="_blank">Becky</a> 2006-01-16 15:39 <a href="http://www.blogjava.net/becky/archive/2006/01/16/28202.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Comparing Web Frameworks:Struts,Spring MVC,WebWork,Tapestry &amp; JSF</title><link>http://www.blogjava.net/becky/archive/2005/12/11/23366.html</link><dc:creator>Becky</dc:creator><author>Becky</author><pubDate>Sun, 11 Dec 2005 09:23:00 GMT</pubDate><guid>http://www.blogjava.net/becky/archive/2005/12/11/23366.html</guid><wfw:comment>http://www.blogjava.net/becky/comments/23366.html</wfw:comment><comments>http://www.blogjava.net/becky/archive/2005/12/11/23366.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/becky/comments/commentRss/23366.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/becky/services/trackbacks/23366.html</trackback:ping><description><![CDATA[<P>这是Matt Raible写的一个比较各种web Framework的简单文章。</P>
<P><A HREF="/Files/becky/WebFrameworks.rar">http://www.blogjava.net/Files/becky/WebFrameworks.rar</A></P> <img src ="http://www.blogjava.net/becky/aggbug/23366.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/becky/" target="_blank">Becky</a> 2005-12-11 17:23 <a href="http://www.blogjava.net/becky/archive/2005/12/11/23366.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>