[root@wx-a~]#crontab--helpcrontab:invalidoption--‘-‘crontab:usageerror:unrecognizedoptionusage:crontab[-uuser]filecrontab[-uuser][-e|-l|-r](defaultoperationisreplace,per1003.2)-e(edituser‘scrontab)编辑crontab工作内容-l(listuser‘scrontab)查看crontab工作内容-..
分类:
系统相关 时间:
2015-10-12 01:58:23
阅读次数:
255
假设A列自A2起是身份证号(15位或18位)。 1、身份证号全部改为18位,输入数组公式: =IF(LEN(A2)=15,REPLACE(A2,7,,19)&MID("10X98765432",MOD(SUM(MID(REPLACE(A2,7,,19),ROW(INDIRECT("1:17")),1...
分类:
其他好文 时间:
2015-10-10 15:30:02
阅读次数:
124
Summary: The new initramfs infrastructure in the 2.6 kernel is designed to replace not only initrd, but the kernel's built-in "root=" mechanism for fi...
分类:
其他好文 时间:
2015-10-10 10:19:46
阅读次数:
220
最近发现一个很奇怪的问题:创建了一个DB_LINK连接另一个Oracle数据库。select * from tablename@dblinkname;单句执行没问题,但是把这句SQL写到存储过程内:create or replace procedure prc_testisbegininsert i...
分类:
数据库 时间:
2015-10-09 21:10:00
阅读次数:
258
1)没有key的时候,replace与insert .. on deplicate udpate相同。 2)有key的时候,都保留主键值,并且auto_increment自动+1 不同之处:有key的时候,replace是delete老记录,而录入新的记录,所以原有的所有记录...
分类:
数据库 时间:
2015-10-09 15:43:46
阅读次数:
207
select cbid, row_number() over(order by zxid) as xh ,xmid,zxid,bwid,bwcb,jbrid, replace(CONVERT(varchar(10),jbrq,111 ),'/','-')as jbrq, case cbzt whe....
分类:
数据库 时间:
2015-10-09 13:33:12
阅读次数:
249
1. Git命令行? ~ git
usage: git [--version] [--help] [-C ] [-c name=value]
[--exec-path[=]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|--no-pager] [--no-replace-object...
分类:
其他好文 时间:
2015-10-09 07:05:35
阅读次数:
205
datetime数据库中保存的形式为2008/9/29 星期一 上午 12:00:00,希望界面显示2008-09-29,则可以用到以下sql语句。select zxmc,xmid,htj,bzj,jsjk,replace(CONVERT(varchar(10),kgrq,111 ),'/','-'...
分类:
数据库 时间:
2015-10-08 17:49:53
阅读次数:
147
SimpleTemplate模板引擎开发模板引擎相信大家是经常使用的,但是实现原理估计没多少人知道(你要是说不就是replace嘛,那我也无话说了...)。先来看看这个SimpleTemplate想实现的是什么功能吧:是个C#端的模板引擎模板中能放普通变量(i, j, index, username...
分类:
其他好文 时间:
2015-10-08 09:04:52
阅读次数:
190
如上编码ZERO WIDTH SPACE 在各个语言的表达。JS中使用 var b = a.replace(/\u200B/g,''); 来替换,去掉ZERO WIDTH SPACE 。http://www.fileformat.info/info/unicode/char/200b/index.h...
分类:
Web程序 时间:
2015-10-07 18:51:28
阅读次数:
598