码迷,mamicode.com
首页 >  
搜索关键字:print    ( 43532个结果
列求key出现的频率
1catmc.log |grepLOGIN_GET |awk'{print $9}'|sort|uniq-c
分类:其他好文   时间:2015-05-16 20:33:05    阅读次数:120
fenby C语言 P32
a[0] a[0][0] a[0][1] a[0][2]a[1] a[1][0] a[1][1] a[1][2]//一维数组int a[2][3]//二维数组int (*p)[3]=a;#include int main(void){ int a[2][3],(*p)[3]=a,i,j; print...
分类:编程语言   时间:2015-05-16 16:14:55    阅读次数:105
php常用的数组排序算法
排序前";print_r($b_a);echo "";?>冒泡排序法$i; $j--){ //依次比较,$j为2,且比较数为:0,1,两次,即最后一位数与前两位比较。 if ($array[$j] ";print_r(bubble_sort($b_a));ec...
分类:编程语言   时间:2015-05-16 14:48:03    阅读次数:193
sh 脚本重启tomcat
添加war 包 并重启tomcat的脚本 echo "stop tomcat..." ps -ef|grep root|grep "tomcat"|grep java|grep -v grep|awk '{print $2}'|xargs -i kill -9 {} sleep 6 echo "stop tomcat done!" #判断根目录下是否有XXXX.war,如...
分类:其他好文   时间:2015-05-16 12:01:12    阅读次数:223
IDL中路径相关函数总结
【转】系统变量系统变量描述!DIRIDL安装主目录!PATHIDL搜索库文件及路径,包含IDL自带库文件路径和用户工作空间路径。!DLM_PATHIDL搜索DLM路径!HELP_PATHIDL帮助文件路径获取临时路径IDL>print,GETENV('IDL_TMPDIR')C:\Users\Adm...
分类:其他好文   时间:2015-05-16 00:03:51    阅读次数:329
Lua程序设计入门
在Lua中,一切都是变量,除了关键字。TTMD强大了。1.注释-- 表示注释一行--[[]]表示注释一段代码,相当于C语言的/*....*/注意:[[ ... ]]表示一段字符串2.lua编程先从最简单的来了解lua吧print("Hello Lua") --打印结果:Hello Lua在Lua中,...
分类:其他好文   时间:2015-05-15 21:09:23    阅读次数:207
firefox和chrome实现页面打印自动分页
在Firefox和chrome中直接调用打印功能的js方法是 window.print();但是如果页面很长,那么就需要分页,这时只需要在页面中添加css属性即可,如果想自动分页,则如下所示这里的三个属性可以根据需要添加。需要注意的是,在Firefox和chrome中,如果想实现打印可以自...
分类:其他好文   时间:2015-05-15 19:30:43    阅读次数:1710
Tp3.2 RESTFul 根据地区查询生成xml、html、json的Api接口的天气信息
1、在控制器页面:<?php //本类由系统自动生成,仅供测试用途 namespaceHome\Controller; useThink\Controller\RestController; classIndexControllerextendsRestController{ //显示页面 publicfunctionindex(){ //print_r($this->_method);die; $Name=$_GET[‘data‘]; if..
分类:Windows程序   时间:2015-05-15 15:49:02    阅读次数:253
Head_First_Python学习笔记(四)
使用字典 >>> import print_detail >>> james2 = print_detail.print_detail('james2') >>> james2 ['James Lee', '2002:3:14', '2:34', '3:21', '2:34', '2:45', '3:01', '2:01', '2:01',...
分类:编程语言   时间:2015-05-15 12:09:50    阅读次数:180
LeetCode "Course Schedule II"
This one lets you print out one topological sorted sequence. Either BFS or DFS works. But there are tricky details.This is my reference:https://leetco...
分类:其他好文   时间:2015-05-15 08:57:26    阅读次数:144
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!