自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 资源 (1)
  • 收藏
  • 关注

原创 使用git工具,提交代码到gitlab

1. 什么是git?git是一个版本管理工具,类似于tortoiseSVN,需要安装客户端才能使用。2. GitHub和Gitlab的区别GitHub和Gitlab都是基于web的git仓库,GitHub和Gitlab就像两兄弟,但GitHub有个小缺陷,就是你的repository都需要public,如果你想创建private的repository就得付费,而Gitlab正好解决了这个问...

2019-02-27 16:46:17 3519

转载 Python subprocess模块功能与常见用法实例

本文实例讲述了Python subprocess模块功能与常见用法。简介subprocess可在python3.0中使用,用来生成子进程,并可以通过管道连接他们的输入/输出/错误,以及获得他们的返回值。subprocess用来替换多个旧模块和函数:os.systemos.spawn*os.popen*popen2.*commands.*运行python时,我们都是创建并运行一个...

2019-02-27 15:56:30 5562

原创 使用git push origin master向github推送代码,出现git@github.com: Permission denied (publickey).

今天的任务是把项目通过git上传到github仓库内,于是出现了git@github.com: Permission denied (publickey)这个问题,现在我把解决方案分享给大家。问题初始化项目仓库,推送代码到实现创建好的代码库上。# cd /Users/jackyue/python/2# git init# git add aimarket.pptx# git co...

2019-02-22 17:14:32 3569

转载 HTTP中GET,POST和PUT的区别

https://blog.csdn.net/qq_36183935/article/details/80570062

2019-02-21 20:28:37 524

转载 flask应用程序加载配置的方式

https://blog.csdn.net/qq_42684307/article/details/81048652

2019-02-21 17:13:07 193

原创 go语言第三方包依赖管理工具govendor,报错cannot find package "gopkg.in/go-playground/validator.v8"

问题# go run main.go vendor/github.com/gin-gonic/gin/binding/default_validator.go:11:2: cannot find package "gopkg.in/go-playground/validator.v8" in any of:...

2019-02-19 14:59:07 13832

原创 rz上传文件及出错解决方案

在Windows上把文件上传至Linux端时,我们需要用到SecureCRT,一般小文件都没有问题,文件太大时则出现了上传后的文件只有几K大小(当然单个文件大于2个G是不可能传的上去了),对于几百M到1G多的大文件要如下处理。问题单独用rz命令会有两个问题:上传中断、上传文件变化(md5不同)解决解决办法是上传使用rz -be,并且去掉弹出的对话框中“Upload files as ASC...

2019-02-12 13:30:10 10085 1

转载 如何在Github中删除已有仓库或文件

https://blog.csdn.net/weixin_42152081/article/details/80635777

2019-02-11 21:49:46 543

转载 使用git在本地创建一个项目,并推送代码到github

使用git在本地创建一个项目,并推送代码到github// 创建一个项目hello-world$ makdir ~/hello-world // 打开这个项目$ cd ~/hello-world // 初始化当前文件夹为git目录$ git init // 将本地文件添加到缓存$ git add . ...

2019-02-11 17:21:22 645

转载 git push origin master提示error:failed to push som refs to .......

问题输入$ git push origin master,提示出错信息:error:failed to push som refs to …解决解决办法如下:先输入// 先把远程服务器github上面的文件拉下来$ git pull origin master 再输入$ git push origin master如果出现报错 fatal: Couldn’t fin...

2019-02-11 16:48:05 627

转载 git remote add origin 错误提示:fatal: remote origin already exists.

问题如果输入$ git remote add origin git@github.com:djqiang(github帐号名)/gitdemo(项目名).git提示出错信息:fatal: remote origin already exists.解决解决办法如下:先输入$ git remote rm origin再输入$ git remote add origin g...

2019-02-11 16:43:48 2279

转载 Go语言学习笔记——web框架

虽然时间已经到了2018年,距离Go语言发布已经过去了十几年,但不得不说Go的框架选择还是很有限的,作为一个Go的初学者,对框架选择主要在以下几点:高性能、上手快提供完整的MVC功能较为完善的文档环境和良好的issue环境持续的维护更新或者大神团队的开发加成参考了一些文档后,我选择了国内大神开发的beego框架以及国外大神团队开发的Iris框架:Beego:ht...

2019-02-09 19:27:56 341

转载 Beego安装问题:./proc_darwin.h:1:10: fatal error: 'sys/types.h' file not found

问题在我按照官网的说明安装beego工具时,发生了以下错误$ go get github.com/beego/bee# github.com/beego/bee/vendor/github.com/derekparker/delve/procIn file included from go/src/github.com/beego/bee/vendor/github.com/derekp...

2019-02-09 17:59:33 3101

原创 golang bug Unknown load command 0x32 (50)

问题编译文件时报错:/usr/local/go/pkg/tool/darwin_amd64/link: /usr/local/go/pkg/tool/darwin_amd64/link: combining dwarf failed: Unknown load command 0x32 (50)原因和解决办法golang 编译器bug,1.10.4版本修复了这个问题,因此需要升级go版...

2019-02-09 17:31:37 768

安装centos7恢复windows引导

安装centos7恢复windows引导

2015-04-10

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除