在docker hub 注册一个账号 然后在服务器登陆docker账号 doker login 运行命令查看容器 docker ps -a 选择一个你要生成镜像的容器ID docker commit 容器ID 生成的镜像名字 运行命令查看生成的镜像 docker images 修改镜像 reposi ...
分类:
Web程序 时间:
2020-06-27 09:52:59
阅读次数:
68
#通过git Bash Here把文件夹上传到github 前提:安装好git,鼠标右键选择 ##1.指定目录: ##2.第一次上传项目(需先把GitHub仓库克隆到本地): git clone github仓库 ###如下可以快速复制自己GitHub地址: ##3.把项目文件夹内容添加进来: gi ...
分类:
Web程序 时间:
2020-06-27 00:09:00
阅读次数:
117
与上游仓库保持更新 https://github.com/selfteaching/the-craft-of-selfteaching/issues/67 远程代码更新到本地(强覆盖) https://www.shuzhiduo.com/A/E35pG87KJv/ ...
分类:
其他好文 时间:
2020-06-26 14:50:13
阅读次数:
56
Cypress 新建文件夹 执行命令(注意package.json里面的name不能叫做cypress) npm init npm install cypress --save-dev 去项目目录下面的 Cypress> cd .\node_modules\.bin 执行命令 .\cypress o ...
分类:
其他好文 时间:
2020-06-26 14:40:15
阅读次数:
89
前记 upload-labs,是一个关于文件上传的靶场.具体的write-up社区里也都有文章. 不过我在看了pass-16的源码后,发现了一些有意思的东西. 分析问题 关于检测gif的代码 第71行检测$fileext和$filetype是否为gif格式. 然后73行使用move_uploaded ...
分类:
其他好文 时间:
2020-06-25 17:38:14
阅读次数:
78
搜索镜像标签: 1 #!/bin/env bash 2 3 repo_url=https://registry.hub.docker.com/v1/repositories 4 echo -ne "\033[7mInput image name(search for tags):\033[0m" 5 ...
分类:
其他好文 时间:
2020-06-25 17:18:45
阅读次数:
53
原本就用一个github,但毕竟国外的,网速有点。。。疼,所以又准备用上以前的gitee,为了统一管理好ssh 的key,如下: 首先生成针对不同代码平台生成两个不同的秘钥对,注意邮箱要用你在平台上对应的邮箱 码云和github的秘钥生成过程右键git bash here 后执行如下命令:myHos ...
分类:
其他好文 时间:
2020-06-25 13:33:42
阅读次数:
72
从零开始参考 : https://www.cnblogs.com/cxk1995/p/5800196.html 由于我已经建好了私有库,所以通过如下步骤提交本地代码 0. 在github已经创建好的repo页面,点击“Clone”获取 <web URL>. 1. 将remote repo 克隆到本地 ...
分类:
其他好文 时间:
2020-06-25 12:20:01
阅读次数:
70
https://github.com/yuk7/wsldl(推荐) https://github.com/DDoSolitary/LxRunOffline https://github.com/RoliSoft/WSL-Distribution-Switcher ...
分类:
系统相关 时间:
2020-06-25 09:50:36
阅读次数:
135
http.Pusher只支持Go 1.8或更高版本 package main import ( "html/template" "log" "github.com/gin-gonic/gin" ) var html = template.Must(template.New("https").Pars ...
分类:
其他好文 时间:
2020-06-24 23:59:20
阅读次数:
127