上一页 1 ··· 201 202 203 204 205 206 207 208 209 ··· 229 下一页
摘要: http://www.win.tue.nl/~aeb/linux/lk/lk-12.html12.Handling of asynchronous eventsOne wants to be notified of various events, like data that has become available, files that have changed, and signals that have been raised. FreeBSD has the nicekqueueAPI. Let us discuss the Unix/Linux situation.It is ea 阅读全文
posted @ 2014-01-23 11:59 一天不进步,就是退步 阅读(398) 评论(0) 推荐(0)
摘要: http://nmap.org/bennieston-tutorial/实例:nmap -sP 192.168.21.*Contents1IntroductionNmap is a free, open-source port scanner available for both UNIX and Windows. It has an optional graphical front-end, NmapFE, and supports a wide variety of scan types, each one with different benefits and drawbacks.Thi 阅读全文
posted @ 2014-01-22 19:59 一天不进步,就是退步 阅读(1423) 评论(0) 推荐(0)
摘要: http://www.programcreek.com/2013/04/jvm-run-time-data-areas/This is my note of reading JVM specification. I draw a diagram which helps me understand.1. Data Areas for Each Individual Thread (not shared)Data Areas for each individual thread include program counter register, JVM Stack, and Native Meth 阅读全文
posted @ 2014-01-21 19:33 一天不进步,就是退步 阅读(374) 评论(0) 推荐(0)
摘要: reference:http://www.coolcoder.in/2014/01/getting-over-dangers-of-rm-command-in.htmlWhen we want to delete a directory and everything in it, we normally usually use rm -rf. However, this is a bad habit to get into. If you make a mistake, you could delete your entire partition.For a start, if you dro 阅读全文
posted @ 2014-01-21 19:07 一天不进步,就是退步 阅读(309) 评论(0) 推荐(0)
摘要: http://viralpatel.net/blogs/useful-oracle-queries/Here’s a list of 40+ Useful Oracle queries that every Oracle developer must bookmark. These queries range from date manipulation, getting server info, get execution status, calculate database size etc.Date / Time related queriesGet the first day of t 阅读全文
posted @ 2014-01-21 17:01 一天不进步,就是退步 阅读(480) 评论(0) 推荐(0)
摘要: 1. 在浏览器地址栏输入 about:config.弹出对话框:2.点击“我保证会小心”,弹出下面的对话框,在搜索栏中输入general.useragent.override,查看是否有user-agent。3. 如果没有general.useragent.override,则右键,新建字符串。否则右键修改该字符串的值。4. 添加键general.useragent.override,value 自定义的 阅读全文
posted @ 2014-01-21 16:51 一天不进步,就是退步 阅读(1190) 评论(0) 推荐(0)
摘要: 1.首先该工程最好是gui的,使用swing或者awt的都行。2.使用eclipse打包jar文件。 项目名字上面点右键,选择Export,在选择java\JAR file。 选择src文件夹,.classpath和.project不选 去掉Export class files withcompile errors(编译错误时也输出class文件)的选项 在main class中选择含有main方法的类,单击finish。3. 新建一个文件夹,将jar包和安装jdk下的jre目录文件拷贝到该目录下,同时将jar拷贝到该目录下。4. 在上述目录下建立一个.bat文件,编辑如下: start ja 阅读全文
posted @ 2014-01-21 16:38 一天不进步,就是退步 阅读(945) 评论(0) 推荐(0)
摘要: http://my.oschina.net/immk/blog/193926动机与需求:现在有两台服务器A和B,由于A的存储随时会挂(某些原因),所以需要B机器上有A的备份,并且能够与A同步更新一、crontab定时任务发现了crontab这个东西简单实践了一下,把使用的过程写到下面:首先是编辑一个文件,这个文件在一个很不好找的位置,但crontab提供了一个命令可以直接用vi打开这个文件crontab -e文件打开以后要在文件末尾加上一行:* * * * * mkdir /usr/local/test >/home/log.txt 2>&1总共分为三个部分,首先是5个星星 阅读全文
posted @ 2014-01-20 08:58 一天不进步,就是退步 阅读(2969) 评论(0) 推荐(0)
摘要: http://luyx30.blog.51cto.com/1029851/1350832参考资料:http://patrick-tang.blogspot.com/2012/06/redis-keepalived-failover-system.htmlhttp://deidara.blog.51cto.com/400447/302402http://my.oschina.net/guol/blog/182491http://shiguanghui.iteye.com/blog/2001499背景目前,Redis集群的官方方案还处在开发测试中,未集成到稳定版中。且目前官方开发中的Redis C 阅读全文
posted @ 2014-01-18 14:57 一天不进步,就是退步 阅读(16695) 评论(0) 推荐(0)
摘要: http://blog.itpub.net/9399028/viewspace-692974/以前用weblogic低版本的时候,感觉挺容易的,也没什么要注意的,这次真正把应用从websphere迁移到weblogic下后,发现问题还是真多了。系统采用war包的方式部署。问题一:#### #### > 原因:在weblogic上部署war包的话,默认是不展开的,所以如下的hibernate配置不能解析。 classpath:/com/edu/nts/entity 解决办法:针对weblogic的部署方式,必须改为如下方式。 com/edu/... 阅读全文
posted @ 2014-01-16 17:30 一天不进步,就是退步 阅读(5564) 评论(0) 推荐(0)
上一页 1 ··· 201 202 203 204 205 206 207 208 209 ··· 229 下一页