<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[mogra的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/mogra</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; mogra]]></copyright><item><title><![CDATA[Javascript在浏览器界面上实现复制功能]]></title><link>https://blog.csdn.net/mogra/article/details/131703922</link><guid>https://blog.csdn.net/mogra/article/details/131703922</guid><author>mogra</author><pubDate>Thu, 13 Jul 2023 15:34:33 +0800</pubDate><description><![CDATA[这段代码首先检查浏览器是否支持Clipboard API，如果支持，则使用`writeText()`方法将文本复制到剪贴板。成功复制后，`then()`方法中的回调函数会被调用，而如果复制失败，则`catch()`方法中的回调函数会被调用。这段代码创建了一个临时的文本输入框，将要复制的文本设置为输入框的值，然后将输入框添加到页面中。要在浏览器界面上实现复制功能，你可以使用JavaScript中的`document.execCommand()`方法或者`Clipboard API`。// 移除临时输入框。]]></description><category></category></item><item><title><![CDATA[javascript eval()的注意事项]]></title><link>https://blog.csdn.net/mogra/article/details/7701123</link><guid>https://blog.csdn.net/mogra/article/details/7701123</guid><author>mogra</author><pubDate>Fri, 29 Jun 2012 00:14:55 +0800</pubDate><description><![CDATA[Javascript是一门解释型语言，与其它同类型语言一样，他拥有功能强大的eval()函数。eval()能把字符串当作普通的javascript代码一样执行。它非常强大且易用，以至于被用在了许多不该使用的地方，让代码执行变慢以及难以维护。一般来讲，如果你使用了eval，你的设计上可能就有问题。


常见错误

这是一个典型的误用eval()的例子。你有一个名为foo的javascrip]]></description><category></category></item><item><title><![CDATA[将ofbiz的Service导出为webservice及其调用的实例]]></title><link>https://blog.csdn.net/mogra/article/details/7699627</link><guid>https://blog.csdn.net/mogra/article/details/7699627</guid><author>mogra</author><pubDate>Thu, 28 Jun 2012 15:42:48 +0800</pubDate><description><![CDATA[Service定义：

true" export="true" 
      location="org.aries.erp.practice.TestServices" 
      invoke="add">
     
     
     
    



Service代码：
       public static Map add(DispatchContex]]></description><category></category></item><item><title><![CDATA[ubuntu指定静态IP]]></title><link>https://blog.csdn.net/mogra/article/details/7272143</link><guid>https://blog.csdn.net/mogra/article/details/7272143</guid><author>mogra</author><pubDate>Sun, 19 Feb 2012 11:58:07 +0800</pubDate><description><![CDATA[指定静态IP的方法如下：
　　1.编辑/etc/network/interfaces,内容如下
　　auto　eth0
　　iface　eth0　inet　static
　　address　　192.168.1.100　　　　#静态ip
　　gateway　　192.168.1.1　　　　　　#网关
　　netmask　　255.255.255.0　　　　#子网掩码
　　2.编辑/e]]></description><category></category></item><item><title><![CDATA[ubuntu下安装vsftpd及简要配置]]></title><link>https://blog.csdn.net/mogra/article/details/7272119</link><guid>https://blog.csdn.net/mogra/article/details/7272119</guid><author>mogra</author><pubDate>Sun, 19 Feb 2012 11:45:08 +0800</pubDate><description><![CDATA[1.  安装：sudo apt-get intall vsftpd
2.  修改配置：
      //允许写入

      write_enable=YES
      //指定，默认是21

      listen_port = 8021
      //目录

      local_root=/home/mogra/ftp]]></description><category></category></item><item><title><![CDATA[MySQL优化记录（2月8日）]]></title><link>https://blog.csdn.net/mogra/article/details/7246762</link><guid>https://blog.csdn.net/mogra/article/details/7246762</guid><author>mogra</author><pubDate>Thu, 09 Feb 2012 21:03:59 +0800</pubDate><description><![CDATA[情况:
应用程序服务器是tomcat，配置是Core Q8200，8G内存，win 2003 32位，JRE 32位
数据库服务器是MySQL 5.5，配置是Core i3，4G内存，CentOS 6 32bit

应用程序在运行一些耗时比较长，数据比较多的（一些表100万条记录左右）查询时，比如计算报表等。会导致应用服务器的响应非常慢。我查过虚拟机的内存情况，也没有异常。


解决]]></description><category></category></item><item><title><![CDATA[Java System.getProperites键值列表]]></title><link>https://blog.csdn.net/mogra/article/details/5760985</link><guid>https://blog.csdn.net/mogra/article/details/5760985</guid><author>mogra</author><pubDate>Sat, 24 Jul 2010 11:07:00 +0800</pubDate><description><![CDATA[<br />Key : java.runtime.name; Value : Java(TM) SE Runtime Environment<br /><br />
Key : sun.boot.library.path; Value : D:/Program Files/Java/jre6/bin<br />
Key : java.vm.version; Value : 16.3-b01<br />
Key : java.vm.vendor; Value : Sun Microsystems Inc]]></description><category></category></item></channel></rss>