码迷,mamicode.com
首页 >  
搜索关键字:shell time expr wait    ( 86807个结果)
shell--日期格式化显示和日期的加减
1. 显示当前日期时间.$ dateMon Jun 2 13:55:47 HKT 20142. 按照指定格式显示当前时间(date +format).(1). 显示年月日.$ date "+%Y-%m-%d"2014-06-02$ date "+%F"2014-06-02$ date "+%Y/%....
分类:其他好文   时间:2014-06-02 19:47:05    阅读次数:258
Iterative Algorithm
An iterative algorithm takes one step at a time, ensuring that each step makes progress while maitining the loop invariant.A paradigm shift:View an al...
分类:其他好文   时间:2014-06-02 19:20:20    阅读次数:286
vim命令
一、插入模式i 从当前光标处进入插入模式o 在当前行之下新加一行,并进入插入模式Esc 退出插入模式!cmd 执行shell命令r fileName 导入fileName文件的内容二、移动光标h,j,k,l 上,下,左,右ctrl-f 上翻一页ctrl-b ...
分类:其他好文   时间:2014-06-02 16:27:28    阅读次数:217
【LeetCode】Best Time to Buy and Sell Stock II
Best Time to Buy and Sell Stock IISay you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the ...
分类:其他好文   时间:2014-06-02 15:01:53    阅读次数:305
LNMP一键安装包 V1.1 发布
LNMP一键安装包 是一个用Linux Shell编写的可以为CentOS/RadHat、Debian/Ubuntu VPS(VDS)或独立主机安装LNMP(Nginx、MySQL/MariaDB、PHP、phpMyAdmin)生产环境的Shell程序。同时提供一些实用的辅助脚本如:可以帮助完成Nginx、MySQL/MariaDB、PHP的升级、常用缓存组件的安装、重置MySQL root密码、502自动重启、日志切割等许多实用脚本。...
分类:其他好文   时间:2014-06-02 12:25:45    阅读次数:216
超前引用
所谓超前引用是指一个类型在定义之前就被用来定义变量和声明函数。一般情况下,C/C++要求所有的类型必须在使用前被定义,但是在一些特殊情况下,这种要求无法满足,例如,在类time_outDialog中保留了对象指针,该对象用于显示/修改一些信息。为了实现对话框"应用"按钮,把对话框做的修改立刻更新到t...
分类:其他好文   时间:2014-06-02 11:59:36    阅读次数:294
HDU1306 String Matching 【暴力】
String Matching Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 847    Accepted Submission(s): 434 Problem Description It's easy to...
分类:其他好文   时间:2014-06-02 05:30:32    阅读次数:237
HDOJ1172 猜数字 【暴力枚举】
猜数字 Time Limit: 20000/10000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2483    Accepted Submission(s): 1443 Problem Description 猜数字游戏是gameboy最喜欢的游戏之...
分类:其他好文   时间:2014-06-02 04:37:15    阅读次数:237
oracle 重新编译用户无效对象
oraclesys用户无效对象 selectowner,object_name ,replace(object_type,‘‘,‘‘)object_type ,to_char(created,‘yyyy-mm-dd‘)ascreated ,to_char(last_ddl_time,‘yyyy-mm-dd‘)aslast_ddl_time, status fromdba_objectswherestatus=‘INVALID‘andowner=‘SYS‘; OWNEROBJECT_NAMEO..
分类:数据库   时间:2014-06-02 03:14:26    阅读次数:405
AIX脚本创建裸设备
1.批量建立redolog裸设备脚本(非条带) #!/usr/bin/ksh i=1 while(($i<=9)); do mklv-ylv_redo"00$i"_1g-traw-wn-rn-u1oltpvg1 i=$(expr$i+1); done 2.建立stripesize为1M,stripewidth为14,lv大小为8G的裸设备, hdiskpower1=92160M #!/usr/bin/ksh i=1 while[$i-lt..
分类:其他好文   时间:2014-06-02 03:05:19    阅读次数:281
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!