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