摘要: ## 常用交互命令 - `docker ps `显示运行中的容器 - `docker ps -a`显示所有的容器,包括未运行的 - `docker ps -a --no-trunc` 不缩略字段值 - `docker exec -it docker-name`在运行的容器中执行命令 - `docke 阅读全文
posted @ 2021-01-15 13:55 reamd 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 系统命令 # 查看系统版本 cat /etc/issue lsb_release -a cat /etc/os-release cat /etc/redhat-release # 这种方法只适合Redhat系的Linux # 查看Linux内核版本: 1、cat /proc/version 2、un 阅读全文
posted @ 2021-01-15 13:19 reamd 阅读(163) 评论(0) 推荐(0) 编辑
 
摘要: git命令参数 git archive --output dist.zip commitID <目录或文件> 打包 git branch 查看所有分支 git branch -d [分支名] -D 强制删除 git blame file 查看某个代码文件每行都是谁写的 git checkout fi 阅读全文
posted @ 2016-02-20 10:21 reamd 阅读(491) 评论(0) 推荐(0) 编辑
  2022年11月9日
摘要: js基础篇 const options = {}; (options.methods || (options.methods = {}))['name'] = 'test'; 阅读全文
posted @ 2022-11-09 21:56 reamd 阅读(12) 评论(0) 推荐(0) 编辑
  2022年11月4日
摘要: 说明 "~" 跟 "^" 区别 ^ caret ~ tilda git checkout HEAD^^^和git checkout HEAD~3等价,都代表当前版本的前3个版本 区别在于^3和~3代表不同概念,^3代表回退一个版本,以第三条graph线为准。 操作符 ^ 与 ~ 符一样,后面也可以跟 阅读全文
posted @ 2022-11-04 00:38 reamd 阅读(25) 评论(0) 推荐(0) 编辑
  2022年10月29日
摘要: shell和bash的区别 sh 跟bash的区别,实际上是bash有没开启POSIX模式的区别 sh是bash的一种特殊的模式,sh就是开启了POSIX标准的bash, /bin/sh 相当于 /bin/bash --posix Linux系统上/bin/sh往往是指向/bin/bash的符号链接 阅读全文
posted @ 2022-10-29 23:53 reamd 阅读(145) 评论(0) 推荐(0) 编辑
  2022年4月29日
摘要: ## 系统环境变量 - 更改当前用户下,文件夹权限 ```bash sudo chown -R ${USER}:所在组 /usr/local/xxxx ``` - Mac系统的环境变量,加载顺序为: ```bash /etc/profile /etc/paths ~/.bash_profile ~/ 阅读全文
posted @ 2022-04-29 15:10 reamd 阅读(75) 评论(0) 推荐(0) 编辑
  2022年3月30日
摘要: flex布局语法 1. 容器属性 display: flex; ⚠️第一个属性为默认属性 | | | 主轴 | | 交叉轴 flex-direction: row➡ | row-reverse⬅ | column⬇ | column-reverse⬆ flow-wrap: nowrap | wrap 阅读全文
posted @ 2022-03-30 16:25 reamd 阅读(28) 评论(0) 推荐(0) 编辑
  2021年12月30日
摘要: webpack代理时自动更新失效 // vue.config.js module.exports = { devServer: { port: 8080, hotOnly: false, disableHostCheck: true, headers: { 'Access-Control-Allow 阅读全文
posted @ 2021-12-30 19:29 reamd 阅读(202) 评论(0) 推荐(0) 编辑
  2021年8月5日
摘要: 1.关于数据库的操作 1.1创建数据库(注:sql语句区分大小写) create database Hero 1.2使用某个数据库 use Hero go--执行 1.3删除数据库 drop database Hero 2.关于表的操作 2.1创建表并指定主键 create table hero ( 阅读全文
posted @ 2021-08-05 14:42 reamd 阅读(242) 评论(0) 推荐(0) 编辑
  2021年8月4日
摘要: nginx ngx_http_core_module模块变量 示例 http://127.0.0.1/test/abc?name=zhangsan&age=18 常用 $arg_name zhangsan $args name=zhangsan&age=18 $query_string 请求 URI 阅读全文
posted @ 2021-08-04 11:07 reamd 阅读(178) 评论(0) 推荐(0) 编辑
  2020年3月13日
摘要: 背景 近期有个web需求,要求如下 解决思路 阅读全文
posted @ 2020-03-13 11:11 reamd 阅读(694) 评论(0) 推荐(0) 编辑
  2018年11月25日
摘要: # 一、settings sync的设置 1. 首先安装settings sync 2. 参考settings sync说明在github上设置personal access tokens,设置完后输入`sync upload`上传vscode的设置,需要github token 3. 在另一台电脑 阅读全文
posted @ 2018-11-25 14:51 reamd 阅读(284) 评论(0) 推荐(0) 编辑