摘要: js在undefined类型判断的时候要加引号,不然在会报错 阅读全文
posted @ 2013-05-17 18:05 瘦纸就是你 阅读(397) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-05-17 15:13 瘦纸就是你 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 后面只要加对应参数就可以了新浪: web: 分享链接:http://service.weibo.com/share/share.php wap: 分享链接:http://weibo.cn/ext/share 文档地址:http://open.weibo.com/wiki/WAP%E7%AB%99%E6%8E%A5%E5%85%A5腾讯: web: 分享链接:http://v.t.qq.com/share/share.php 阅读全文
posted @ 2013-05-17 11:40 瘦纸就是你 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 清除tomcat目录下的work文件下的指定目录的缓存文件。进入tomcat目录下的bin目录,执行./shutdown.sh命令先关闭tomcat,再执行./startup.sh命令开启tomcat。 阅读全文
posted @ 2013-05-17 10:01 瘦纸就是你 阅读(514) 评论(0) 推荐(0) 编辑
摘要: pwd【print working directory】 阅读全文
posted @ 2013-05-17 09:44 瘦纸就是你 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 从文件内容查找匹配指定字符串的行:$ grep【global regular expression and print】 "被查找的字符串" 文件名从文件内容查找与正则表达式匹配的行:$ grep –e “正则表达式” 文件名查找时不区分大小写:$ grep –i "被查找的字符串" 文件名 阅读全文
posted @ 2013-05-17 09:42 瘦纸就是你 阅读(147) 评论(0) 推荐(0) 编辑