GIT基本命令 拷贝项目:git clone 创建分支:git branch 创建并进入分支:git checkeout -b 查看状态:git status 添加文件:git add 提交:git commit -m “描述” 拉取:git pull 推送:git push 查看分支:git br ...
分类:
其他好文 时间:
2020-07-11 19:17:51
阅读次数:
109
systemctl list-unit-files会列出开启的和未开启的:使用grep过滤一下开启的grep enabledgrep enabled然后使用systemctl status openresty.service1查看这个.service文件的路径,及内容。禁用开机启动:sudo sys... ...
分类:
系统相关 时间:
2020-07-11 17:38:57
阅读次数:
223
需求: 某软件的Log文件,其中的日期格式为'yyyy-mm-dd': ..... 2016-05-23 10:59:26 status upacked python3-pip.all 2016-05-23 10:59:26 status half-configured python3-all 20 ...
分类:
其他好文 时间:
2020-07-11 17:32:07
阅读次数:
45
查看手机电量信息:adb shell dumpsys battery 设置电池为充电状态——adb shell dumpsys battery set status 2 设置电池为非充电状态——adb shell dumpsys battery set status 1 设置电量百分比——adb s ...
分类:
移动开发 时间:
2020-07-11 16:59:32
阅读次数:
93
滑动 说明: 不断改变元素的高度来实现的。 方法: slideDown():带动画的展开。 slideUp():带动画的收缩。 slideToggle():带动画的切换展开/收缩。 示例: <!DOCTYPE html> <html lang="en"> <head> <meta charset=" ...
分类:
Web程序 时间:
2020-07-11 16:54:02
阅读次数:
70
标签管理 标签是针对commit的,相当于给commit id一个名字 查看标签 使用命令git tag $ git tag v0.9 就可以看到当前分支 上的标签了。 创建标签 使用命令git tag <tag-name> $ git tag v1.0 就可以为当前分支最新的commit 打上标签 ...
分类:
其他好文 时间:
2020-07-11 14:26:53
阅读次数:
87
class Promise{ constructor(excutor){ this.value = ''; this.reason = ''; this.status = 'padding' this.onFulfilledCallback = [] this.onRejectedCallback ...
分类:
其他好文 时间:
2020-07-11 12:43:48
阅读次数:
52
使用自定义异常 'exception_handle' => 'app\common\exception\ApiHandleException', <?php /** * User: xmz * Date: 2020-07-11 * Time: 01:26 */ namespace app\commo ...
分类:
移动开发 时间:
2020-07-11 10:00:56
阅读次数:
87
(1) INTRODUCTION We start our study of "World History" with the earliest human migration, almost 2 million years ago! Studies show that Africa is the ...
分类:
其他好文 时间:
2020-07-11 09:45:45
阅读次数:
46
$status代表自定义状态码,有的人喜欢用$code,$message表示错误提示消息,$data代表返回数据,$httpStatus代表请求状态 ...