Aggavara

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 2 3 4 5 6 ··· 15 下一页

2013年2月28日

摘要: 豆沙绿RGB值为(199,237,204) 阅读全文
posted @ 2013-02-28 15:27 Aggavara 阅读(1904) 评论(0) 推荐(0) 编辑

摘要: man.chinaunix.net/develop/c&c++/linux_c/default.htm 阅读全文
posted @ 2013-02-28 10:21 Aggavara 阅读(155) 评论(0) 推荐(0) 编辑

摘要: learn.akae.cn/media/index.html 阅读全文
posted @ 2013-02-28 10:19 Aggavara 阅读(141) 评论(0) 推荐(0) 编辑

2013年1月10日

摘要: #!/bin/shdate=`date+%Y-%m-%d`#获取当天的日期lastweek=`date+%Y-%m-%d-d"6daysago"`#获取6天前的日期sender="my@domain.com"#发信人emailr1="test1@domain.com"#收信人emailr2="test2@domain.com"#收信人emailreciver="$r1;$r2"subject="主题($date)"email_content_txt="out.txt 阅读全文
posted @ 2013-01-10 14:09 Aggavara 阅读(428) 评论(0) 推荐(0) 编辑

摘要: Shell应用:批量将文件编码由gbk转utf-8,实例代码:[plain]#!/bin/bash//batch_change_GB2312_to_UTF-8cddirectoryfind./-typef-name"*.java"|whilereadline;doecho$lineiconv-fGB2312-tUTF-8$line>${line}.utf8mv$line${line}.gb2312mv${line}.utf8$linedone 阅读全文
posted @ 2013-01-10 14:04 Aggavara 阅读(290) 评论(0) 推荐(0) 编辑

2012年12月14日

摘要: javascript禁用backspace回退,shift+backspace前进,F5等刷新页面功能//禁用回退和刷新功能functionforbidBackSpace(){if(((event.keyCode==8)&&//BackSpace((event.srcElement.type!="text"&&event.srcElement.type!="textarea"&&event.srcElement.type!="password")||event.srcElement.re 阅读全文
posted @ 2012-12-14 18:37 Aggavara 阅读(281) 评论(0) 推荐(0) 编辑

2012年12月7日

摘要: 本博客除了少数自己总结的文章以外全为转载(篇幅非常短的为原创文章) 阅读全文
posted @ 2012-12-07 16:49 Aggavara 阅读(149) 评论(0) 推荐(0) 编辑

摘要: crontab中date的%符号需要被转义* * * * * ! [ `date +\%d` -eq 2 ]&& shell.sh 阅读全文
posted @ 2012-12-07 13:52 Aggavara 阅读(312) 评论(0) 推荐(0) 编辑

2012年12月5日

摘要: crontab实行的时候不会读取任何环境变量所以需要自己设置/etc/sysconfig/i18n为系统语言环境设置文件在shell开头导入系统语言环境设置文件中的语言环境变量export LANG="ja_JP.UTF-8"export LC_ALL="ja_JP.UTF-8" 阅读全文
posted @ 2012-12-05 13:49 Aggavara 阅读(169) 评论(0) 推荐(0) 编辑

2012年12月3日

摘要: 字符串长度shell>echo ${#string}shell>expr length $stringshell>expr "$string" : '.*'匹配字符串开头的子串长度expr match "$string" '$substring' $substring 是一个正则表达式.expr "$string" : '$substring'索引expr index $string $substring提取子串${string:position} 在$string 中 阅读全文
posted @ 2012-12-03 13:25 Aggavara 阅读(217) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 15 下一页