会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
知_行
博学之,审问之,慎思之,明辨之,笃行之
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
下一页
2016年4月27日
Spring定时器--时间设置规则(转载)
摘要: 1.秒(0–59)2.分钟(0–59)3.小时(0–23)4.月份中的日期(1–31)5.月份(1–12或JAN–DEC)6.星期中的日期(1–7或SUN–SAT)7.年份(1970–2099)0 0 10,14,16 * * ?每天上午10点,下午2点和下午4点0 0,15,30,45 * 1-1
阅读全文
posted @ 2016-04-27 10:12 知_行
阅读(209)
评论(0)
推荐(0)
2016年4月17日
ipython和pip安装
摘要: 1,安装pip 3.5以后的版本自带PIP和setuptools,编译安装即可,但是,编译时候 时候若是未能安装pip3系列,那就要注意看编译报错事项 我安装了几次均失败,看报错内容,原来PIP包的链接地址是用https的 因此想要安装成功 yum install openssl-devel 即可!
阅读全文
posted @ 2016-04-17 19:32 知_行
阅读(464)
评论(0)
推荐(0)
python之函数
摘要: #!/usr/bin/env python import subprocess def uname_func(): uname = "uname" uname_arg = "-a" print "Gathering system information with %s command:\n" % uname subprocess.c...
阅读全文
posted @ 2016-04-17 19:12 知_行
阅读(150)
评论(0)
推荐(0)
python显示系统信息脚本
摘要: #!/usr/bin/env python import subprocess uname = "uname" uname_arg = "-a" print "Gathering system information with %s command:\n" % uname subprocess.call([uname,uname_arg]) diskspace = "df" diskspac...
阅读全文
posted @ 2016-04-17 17:03 知_行
阅读(362)
评论(0)
推荐(0)
2016年4月13日
shell脚本,在不同目录下新建同名文件,并添加内容
摘要: #!/bin/bashdir=(/server/BlackCustomer /server/product /server/Renewal /server/shortmessage /server/TrafficPool)for i in ${dir[*]};do touch $i/start.sh
阅读全文
posted @ 2016-04-13 15:38 知_行
阅读(854)
评论(0)
推荐(0)
2016年3月30日
ASP.net网站访问异常
摘要: 解决方案 出现这个bug的原因是由于,net.framwork版本问题,以前PC上装的4.0版本,故会报错,安装net.framwork 4.5异常消失。 END!
阅读全文
posted @ 2016-03-30 11:17 知_行
阅读(182)
评论(0)
推荐(0)
2016年3月22日
Tesseract-ocr的安装
摘要: 1,安装依赖包 2,安装图像处理和分析leptonica 若没指定安装路径,则应该在/usr/local/share/tessdata下 chi_sim.traineddata configs eng.traineddata tessconfigs 4,测试 tesseract out.jpg re
阅读全文
posted @ 2016-03-22 12:09 知_行
阅读(213)
评论(0)
推荐(0)
2016年3月21日
使用complex对象
摘要: #include<iostream>#include<string>#include<complex>using namespace std;void main(){ complex <int> num1(3, 4); complex <float> num2(3.3, 4.5); string s
阅读全文
posted @ 2016-03-21 22:34 知_行
阅读(714)
评论(0)
推荐(0)
2016年3月20日
演示使用string对象(续)
摘要: 运行结果如图所示
阅读全文
posted @ 2016-03-20 21:53 知_行
阅读(235)
评论(0)
推荐(0)
2016年3月12日
演示使用string对象
摘要: #include<iostream> #include<string> using namespace std; void main() { string str1("i am here!"); string str2="where are you?"; cout << str1[0] << str
阅读全文
posted @ 2016-03-12 01:06 知_行
阅读(161)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
下一页
公告