将此脚本放到/etc/init.d/ 并赋予可执行权限即可 ?注意 需要将java 及 mq安装目录改成你自己的 ? 管理mqbroker #/bin/bash
#author:firxiao
#data:20140917
#usage?manage?RocketMQ?mqbroker
#?chkconfig:?...
分类:
其他好文 时间:
2014-09-17 19:00:42
阅读次数:
278
// 当前页面url参数操作插件// Author:Bean// Date:2014/09/17;(function(window, document) { var UrlParas = function(url) { return UrlParas.fn.init(url); } UrlPara....
分类:
Web程序 时间:
2014-09-17 18:20:32
阅读次数:
223
工作需要,要装git,结果找不到源,后来搞定,记录如下1. Linux EL5 x86_64 1.1 我的这个版本上有yum,所以用yum来装git, 但是第一次装找不到源,最后显示 “nothing to do” 1.2 然后上网搜,说是要先装EPEL 1.3 如何安装EPEL? 网上给出很多链接...
分类:
系统相关 时间:
2014-09-17 18:15:52
阅读次数:
219
项目地址:http://git.oschina.net/470597142/jquery-fastsearch。 示例截图:
分类:
Web程序 时间:
2014-09-17 15:43:02
阅读次数:
176
#include #include using namespace std;class Test{private: int status;public: Test():status(0){} Test(const int& s):status(s){} void init(){status = 0;...
分类:
其他好文 时间:
2014-09-17 15:07:42
阅读次数:
161
.创建库/home#mkdir cvsroot/home#cd cvsroot/home/cvsroot#exportCVSROOT=/home/cvsroot/repository/home/cvsroot# init/home/cvsroot#lsrepository·导入代码所有的源码模块在使...
分类:
其他好文 时间:
2014-09-17 14:53:12
阅读次数:
302
统计项目中所有人的代码提交次数并排序:git shortlog -s -n统计某人的代码量git log --author="_Your_Name_Here_" --pretty=tformat: --numstat \| gawk '{ add += $1; subs += $2; loc += ...
分类:
其他好文 时间:
2014-09-17 14:47:42
阅读次数:
180
#yum install
wget
http://fedora.mirror.nexicom.net/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum -y install epel-release-6-8.noarch.rpm
yum -y install docker-io
#wget install
yum install -y ...
分类:
其他好文 时间:
2014-09-17 12:14:22
阅读次数:
287
转载:http://blog.csdn.net/benkaoya/article/details/7932370ignore files的三种方法:# 以'#'开始的行,被视为注释.# 忽略掉所有文件名是 foo.txt的文件.foo.txt# 忽略所有生成的 html文件,*.html# foo....
分类:
其他好文 时间:
2014-09-17 11:51:42
阅读次数:
181
作者 : 万境绝尘 (octopus_truth@163.com)转载请著名出处 : http://blog.csdn.net/shulianghan/article/details/39269163示例代码下载 : -- GitHub : https://github.com/han1202012/Octopus_ActionBarStyle.git -- CSDN : http://downl...
分类:
移动开发 时间:
2014-09-17 10:20:02
阅读次数:
356