2015年1月18日

摘要: </html 阅读全文
posted @ 2015-01-18 16:11 木叶堂 阅读(318) 评论(0) 推荐(0) 编辑

2014年12月6日

摘要: // 保存 Cookiefunction setCookie ( name, value ){expires = new Date();expires.setTime(expires.getTime() + (1000 * 86400 * 365));document.cookie = name +... 阅读全文
posted @ 2014-12-06 23:56 木叶堂 阅读(103) 评论(0) 推荐(0) 编辑

2014年8月15日

摘要: 是什么让Google的程序如此优秀让Google的程序如此优秀的一个最重要的事情看起来是非常的简单:代码审查在Google,没有程序,任何产品、任何项目的程序代码,可以在没有经过有效的代码审查前提交到代码库里。从代码审查里能得到什么?•在代码提交前,用第二群眼睛检查一遍,防止bug混入。这是最常见的... 阅读全文
posted @ 2014-08-15 10:43 木叶堂 阅读(483) 评论(0) 推荐(0) 编辑

2014年7月26日

摘要: /*** javascript拖放元素*/ function Sortable(cfg){ this.cfg = $.extend({},defaults,cfg || {}); this._init();};$.extend(Sortable.prototype,{ // 函数初始化 _init... 阅读全文
posted @ 2014-07-26 20:26 木叶堂 阅读(192) 评论(0) 推荐(0) 编辑

2014年5月12日

摘要: http://news.cnblogs.com/n/207616/http://news.cnblogs.com/n/207729/如何阅读一本书 阅读全文
posted @ 2014-05-12 14:07 木叶堂 阅读(95) 评论(0) 推荐(0) 编辑

2013年11月29日

摘要: Dim OperationRegistrySet OperationRegistry=WScript.CreateObject("WScript.Shell")OperationRegistry.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3\1001",0,"REG_DWORD"OperationRegistry.RegWrite "HKCU\Software\Microsoft\Windows\Curre 阅读全文
posted @ 2013-11-29 08:48 木叶堂 阅读(168) 评论(0) 推荐(0) 编辑
摘要: http://jackeysion.iteye.com/blog/611984你好,并不是所有组策略都有注册表键值与之对用,同时,即使有对应的键值,也并不是都能完全生效,关于你所提及的这两个功能,你可以尝试新增以下键值,但我们不保证其能完全起效:[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{C2D0B7D4-7CC5-40A6-AC4C-A25BA2637B18}Machine\Software\Policies\Microsoft\Internet Explorer\Sec 阅读全文
posted @ 2013-11-29 00:23 木叶堂 阅读(315) 评论(0) 推荐(0) 编辑

2013年9月6日

摘要: http://www.blogjava.net/lcs/archive/2007/11/01/157474.htmlprivate void drawLine(int x, int y, Graphics g) { g.setColor(Color.red); g.drawLine(0, y, x, y); g.drawLine(x, y, x + 7, y - 7); g.drawLine(x + 7, y - 7, x + 14, y); g.drawLine(x + 14, y, 980, y); }SwingUtilities.invokeLater(newRunnable(){pub 阅读全文
posted @ 2013-09-06 00:04 木叶堂 阅读(141) 评论(0) 推荐(0) 编辑

2013年5月17日

摘要: http://stackoverflow.com/import java.awt.BorderLayout;import java.awt.Color;import java.awt.Component;import java.awt.Dimension;import java.awt.EventQueue;import java.awt.Font;import java.awt.event.MouseEvent;import java.awt.event.MouseMotionAdapter;import java.util.Vector;import javax.swing.JCompon 阅读全文
posted @ 2013-05-17 16:40 木叶堂 阅读(327) 评论(0) 推荐(0) 编辑

2013年4月29日

摘要: for (Component co : up.getContentPane().getComponents()) { System.out.println(co.getClass().toString()); //得到co的类型 if (co.getClass().toString().toLowerCase().contains("jpanel")) { for (Component control : ((JPanel)co).getComponents()) { System.out.println(control.getClass().toString()); // 阅读全文
posted @ 2013-04-29 11:18 木叶堂 阅读(226) 评论(0) 推荐(0) 编辑

导航