摘要: ```mysqldump -u root -p dbname > db.sql``` 阅读全文
posted @ 2015-05-12 00:51 aaroncnhk 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 错误信息:error: The requested URL returned error: 401 Unauthorized while accessing https://git.oschina.net/xxx/xxx.git/info/refs出现的情况是我想把我本地的项目搬到oschina的g... 阅读全文
posted @ 2015-04-18 01:01 aaroncnhk 阅读(797) 评论(0) 推荐(0) 编辑
摘要: 1 sudo nautilus xxx指定目录去打开 这个命令就是以root权限打开一个窗口,来管理文件 阅读全文
posted @ 2015-04-15 13:33 aaroncnhk 阅读(168) 评论(0) 推荐(2) 编辑
摘要: // 1.配置用户名邮箱:用于记录你个人的用户名称和电子邮件地址,用户名可随意修改,git 用于记录是谁提交了更新,以及更新人的联系方式; $ git config --global user.name "aaroncnhk" $ git config --global user.... 阅读全文
posted @ 2015-04-14 16:43 aaroncnhk 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 1 function plural($num) { 2 if ($num != 1) 3 return "s"; 4 } 5 function getRelativeTime($date) { 6 $diff = time() - strtotime($date); 7 if ($dif... 阅读全文
posted @ 2015-04-14 13:43 aaroncnhk 阅读(271) 评论(0) 推荐(0) 编辑