摘要: 1, 卸载MySQL2, 删除目录 C:\Documents and Settings\All Users\ApplicationData\MySQL3, 重新安装MySQL 就 OK 啦 阅读全文
posted @ 2013-05-24 18:44 瘦纸就是你 阅读(230) 评论(0) 推荐(0) 编辑
摘要: bat执行代码:java -jar weinre.jar --httpPort 8081 --boundHost -all-js引入地址:http://(ip号):8081/target/target-script-min.js#anonymous访问地址:http://(ip号):8081/client/#anonymous 阅读全文
posted @ 2013-05-23 17:07 瘦纸就是你 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 本地windows机器。修改SecureCRT的设置。找到“选项”->“会话选项”->“外观”:字符编码设置为utf-8。 阅读全文
posted @ 2013-05-20 10:32 瘦纸就是你 阅读(130) 评论(0) 推荐(0) 编辑
摘要: js在undefined类型判断的时候要加引号,不然在会报错 阅读全文
posted @ 2013-05-17 18:05 瘦纸就是你 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-05-17 15:13 瘦纸就是你 阅读(111) 评论(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 瘦纸就是你 阅读(294) 评论(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 瘦纸就是你 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 从文件内容查找匹配指定字符串的行:$ grep【global regular expression and print】 "被查找的字符串" 文件名从文件内容查找与正则表达式匹配的行:$ grep –e “正则表达式” 文件名查找时不区分大小写:$ grep –i "被查找的字符串" 文件名 阅读全文
posted @ 2013-05-17 09:42 瘦纸就是你 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 压缩 zip压缩:zip -r myfile.zip ./*【r表示recursion递归】解压 zip解压:unzip -o -d /home/sunny myfile.zip【o表示overwrite覆盖,d表示directory目录】下载 sz myfile.zip上传 rz 阅读全文
posted @ 2013-05-16 13:54 瘦纸就是你 阅读(654) 评论(0) 推荐(0) 编辑