码迷,mamicode.com
首页 >  
搜索关键字:strings grep bin    ( 55817个结果
性能测试相关脚本
1,restime统计响应时间#!/bin/bash#统计日志响应时间用if [ $# -lt 1 ]; then echo "at least have one param; " echo "ex: restime a.log b.log *.log" exit 1fi. lgq...
分类:其他好文   时间:2014-06-04 20:23:43    阅读次数:291
Multiply Strings
Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-nega...
分类:其他好文   时间:2014-06-04 20:19:04    阅读次数:313
Anagrams
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.classSolution{public:vectoranagrams(v...
分类:其他好文   时间:2014-06-04 19:29:39    阅读次数:247
Add Binary
Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".classSolution{public:stringaddBinary(stringa,st...
分类:其他好文   时间:2014-06-04 19:23:09    阅读次数:235
java linux 项目常常无故被关闭 进程无故消息
布了几个项目。竟然天天会自己主动的挂掉。急了。花时间攻克了一下。总结方案例如以下:1.磁盘满了。这大家都懂,清一下2.tomcat在关闭的或是重新启动的时候,经常后台进程没有被关闭。须要用ps aux|grep java 这个命令查一下,把多余的进程关掉,再启动startup.sh3.这样的情况比較...
分类:编程语言   时间:2014-06-03 14:09:07    阅读次数:404
【webservice】使用命令wsimport构建WebService客户端
wsimport命令介绍 在JDK的bin文件夹中,有一个wsimport.exe,这个工具依据wsdl文件生成相应的类文件,然后用这些类文件,就可以像调用本地的类一样调用WebService提供的方。该工具可以用于非Java的服务器,如:用C#编写的WebService,通过wsimport则生....
分类:Web程序   时间:2014-05-30 22:09:57    阅读次数:316
Shell编程积累 zhuan
ls -lr反向排序结果==============================ls ${PATH//:/\ } | grep ==============================echo $RANDOM==============================[[ $# -ne 3 ...
分类:其他好文   时间:2014-05-30 21:35:51    阅读次数:335
Palindrome Partitioning
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, giv...
分类:其他好文   时间:2014-05-30 16:04:06    阅读次数:237
shell读取文件的每一行
写法一:----------------------------------------------------------------------------#!/bin/bashwhile read linedo echo $linedone < filename(待读取的文件)--------...
分类:其他好文   时间:2014-05-29 18:01:41    阅读次数:230
max环境下cocos2d-x 3.0的环境搭建
一开始始终找不到网上说得create_project.py,所以网上通过这个的方法行不通。所以就找了点关于3.0的资料,貌似在3.0正式版里是通过**/cocos2d-x-3.0/tools/cocos2d-console/bin/cocos.py来创建工程的。不过3.0正式版要先搞定环境变量。。1...
分类:其他好文   时间:2014-05-29 15:35:18    阅读次数:338
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!