`
文章列表
eclipse.ini 内存设置各参数含义 -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M     这里有几个问题:     1. 各个参数的含义什么?     2. 为什么有的机器我将-Xmx 和-XX:MaxPermSize 都设置为512M 之后Eclipse 可以启动,而有些机器无法启动?     3. 为何将上面的参数写入到eclipse.ini 文件Eclipse 没有执行对应的设置?     下面我们一一进行回答     1. 各个参数的含义 ...
list 00001  Mac.getInstance Mac mac = Mac.getInstance("HmacSHA1"); 报错 java.security.NoSuchAlgorithmException: Algorithm HmacSHA1 not available 原因,Eclipse 的项目的 jre 配置用的是jre, 改成 jdk 就好了 参照链接,另一个相似有启发的问题 http://stackoverflow.com/questions/2856248/nosuchalgorithmexception-algorit ...
source url: http://blog.redfin.com/devblog/2009/09/how_to_set_up_hot_code_replacement_with_tomcat_and_eclipse.html 没墙就看原文去 This blog post will guide you through setting up Tomcat hot code replacement (also called hotswap debugging) in Eclipse.     What Is “Hot Code Replace”?     What’s the Catch? ...

Java打印全排列

public static void permute(char[] str, int start) { int length = str.length - 1; if (start > length) { System.out.println(str); } else { for (int i = start; i <= length; i++) { char[] temp = str.clone(); // temp will be str temp[i] = str[start]; // with i and low ...
http://zyc-to.blog.163.com/blog/static/1715240020096176461070/ 这个异常是在 多对一关系映射时,一方表中对应的数据不存在才抛出的。 原来的配置: <many-to-one class="com.art.model.user.UserInfo" fetch="join" name="userInfo" >    <column name="userId" unique="true"/> </many-to ...
bbs : http://topic.csdn.net/u/20100812/10/b20725d5-3862-4407-b5a9-096d0643da50.html 怎么禁用浏览器的退格键,就是按退格键不返回上一个页面,或者弹出提示,然后跳到指定的页面?? 这个是别人写的一个js。 <script type="text/javascript"> /*禁用backspace键的后退功能,但是可以删除文本内容*/ document.onkeydown = check; function check(e) { var code; if ...
原文:http://www.cnblogs.com/slaughter/archive/2007/03/15/675791.html http://lynsead.spaces.live.com/Blog/cns!1pN1cYMeTzpoDjzM1P1IqDFg!135.entry perl对中文的处理(encode,decode) 最近在处理中文时遇到乱码的问题,google了一下,发现下面这篇文章。茅塞顿开! Perl从5.6开始已经开始在内部使用utf8编码来表示字符,也就是说对中文以及其他语言字符的处理应该是完全没有问题的。我们只需要利用好Encode这个模块便能充分发挥Perl的 ...

firefox 设置

1. 禁止Firefox打开多个窗口    打开about:config,找到browser.link.open_newwindow.restriction,设置为0。就可以了。    或都Tab Mix Plus设置中,链接页面,勾上启用单窗口模式
1.  bless()   bless有两个参数:对象的引用(第一个)、类的名称(第二个,可以省略,则是当前类)。bless就是把 类型信息 赋予 实例变量. perl的类名可能就是 package名. 2.  map()      关于使用perl map函数 3.  printf sprintf 格式化,printf是打印出去.sprintf是返回值 4.  grep   grep BLOCK LIST   grep EXPR,LIST  perl中的grep函数介绍     Using map and grep
1. perl根据上下文context决定返回列表还是标量. 如果表达式不是列表,标量值自动转换为一个元素的列表. 语法: 1.  @rocks 表示引用整个列表  $rocks[0],$rocks[1]引用列表元素     $rocks[-1]表示列表最后一个元素 2.  列表的 qw 简写     ...

perl的零散东西

    博客分类:
  • Perl
print "$_\n" for $set->as_address_array; 这个方法可以用; 我不知道原来$set 还能作为列表进行由$_遍历啊
安装 Android 1.6 SDK 系统支持 :     *  Windows XP (32-bit) or Vista (32- or 64-bit)     * Mac OS X 10.4.8 or later (x86 only)     * Linux (tested on Linux Ubuntu Dapper Drake) Eclipse插件需要Eclipse3.4或以上版本 1. 下载:     http://developer.android.com/sdk/index.html 2. 安装: 先解压Android SDK,默认解压到android_sdk_<pla ...
vim ctags cscope taglist txtBrowser   Cscope     taglist     ctags    txtBrowser                Vim/Cscope 入门指导       (中文) cscope for windows下载   cscope 是用来对C语言的,但是对C++和Java也可以凑合着用   1. cscope   建立符号数据库 ----------------------------------- (1 ...
著名的5分安装 这个是快速安装的操作指南, 对于那些已经熟悉这些安装的. 更多 detailed instructions 下面. 下载并解压缩WordPress程序安装包, 如果你还没的话. 在你的网页服务器上为WordPress创建一个数据库, 并且也创建一 ...

linux用户管理

1. 添加用户   adduser username    然后按提示写其它信息
Global site tag (gtag.js) - Google Analytics