11 2021 档案

摘要:git stash用法 场景:修改的文件在本地,还已经add,还没有commit的文件 没有add的文件,stash时默认不会缓存起来了,如果想要一起缓存,需要先add,然后再执行git stash save 如切换分支,又不想commit提交,可以先用stash把修改的文件缓存起来,处理完别的分支 阅读全文
posted @ 2021-11-30 10:40 HaimaBlog 阅读(352) 评论(0) 推荐(0) 编辑
摘要:面试题连接 https://studygolang.com/articles/17796 go变量哪些是引用类型,哪些是值类型 指针:slice,map,chan,指针,interface 值类型:int,float,bool,string,array,struct golang中new和make的 阅读全文
posted @ 2021-11-23 07:20 HaimaBlog 阅读(277) 评论(0) 推荐(0) 编辑
摘要:Gemfile里添加 gem 'byebug' bundle install 在要打断点的地方写 byebug byebug -h #帮助 c 放行,入下走 n 单行调适 q 退出进行 启动异步任务推送work: rails c # 默认为development模式 rails c -e produ 阅读全文
posted @ 2021-11-22 21:50 HaimaBlog 阅读(105) 评论(0) 推荐(0) 编辑
摘要:操作xlsx axlsx插件 操作xls spreadsheet插件 阅读全文
posted @ 2021-11-19 17:42 HaimaBlog 阅读(101) 评论(0) 推荐(0) 编辑
摘要:switchHost使用指南 https://blog.csdn.net/weixin_45022563/article/details/123922815 下载软件: https://github.com/oldj/SwitchHosts/releases 安装后配置软件 https://raw. 阅读全文
posted @ 2021-11-13 10:26 HaimaBlog 阅读(417) 评论(0) 推荐(0) 编辑
摘要:学习地址: https://www.bilibili.com/video/BV1v7411M7us?from=search&seid=13948293183709374198&spm_id_from=333.337.0.0 flash官网手册地址: https://dormousehole.read 阅读全文
posted @ 2021-11-13 07:55 HaimaBlog 阅读(664) 评论(0) 推荐(0) 编辑
摘要:[TOC] ## 一、pip安装 参考下面文档安装 ### - [Windows安装pip方法](https://blog.csdn.net/sinat_32873711/article/details/78740146) ### - [windows下python安装pip方法详解](http:/ 阅读全文
posted @ 2021-11-11 00:19 HaimaBlog 阅读(1566) 评论(0) 推荐(0) 编辑
摘要:[TOC] ## 写入文件 ### demo01 ```python # 读取:xlrd # 写入:xlwt # 修改(追加写入):xlutils import xlrd import xlwt from xlutils.copy import copy def write_excel_xls(pa 阅读全文
posted @ 2021-11-10 18:59 HaimaBlog 阅读(175) 评论(0) 推荐(0) 编辑
摘要:[TOC] ## csv文件 CSV是一种以逗号分隔数值的文件类型,在数据库或电子表格中,常见的导入导出文件格式就是CSV格式,CSV格式存储数据通常以纯文本的方式存数数据表。 csv 库中有4个常用的对象: csv.reader:以列表的形式返回读取的数据。 csv.writer:以列表的形式写入 阅读全文
posted @ 2021-11-10 18:08 HaimaBlog 阅读(439) 评论(0) 推荐(0) 编辑
摘要:所以最终的 解决办法:pip install keras -i http://pypi.douban.com/simple --trusted-host pypi.douban.com(其中的keras是你需要下载的,根据自己需求自行更改) 永久的设置方法 设置pip/pyenv国内加速源 http 阅读全文
posted @ 2021-11-10 17:37 HaimaBlog 阅读(654) 评论(0) 推荐(0) 编辑
摘要:使用systemctl命令,systemctl命令是系统服务管理器指令,它实际上将 service 和 chkconfig 这两个命令组合到一起。 据说在CentOS7.0后,不再使用service,而是systemctl 。centos7.0是向下兼容的,也是可以用service 据说许多linu 阅读全文
posted @ 2021-11-04 10:48 HaimaBlog 阅读(56) 评论(0) 推荐(0) 编辑
摘要:参考文章: https://blog.csdn.net/a60919820/article/details/101847890 安装mysql 参考:https://www.cnblogs.com/haima/p/15504670.html 再安装libmysqlclient-dev 和 mysql 阅读全文
posted @ 2021-11-03 17:40 HaimaBlog 阅读(149) 评论(0) 推荐(0) 编辑
摘要:在Deepin 20.2系统中换源并全新图解安装MySQL数据库 https://www.ywnz.com/linuxysjk/9249.html ubuntu下apt-get彻底卸载mysql 删除mysql 按顺序执行以下命令 sudo apt-get autoremove --purge my 阅读全文
posted @ 2021-11-03 17:34 HaimaBlog 阅读(223) 评论(0) 推荐(0) 编辑
摘要:https://github.com/rbenv/rbenv https://www.cnblogs.com/yiluhuakai/p/9414730.html https://ruby-china.org/wiki/rbenv-guide 官网: https://rvm.io/rvm/instal 阅读全文
posted @ 2021-11-02 20:10 HaimaBlog 阅读(55) 评论(0) 推荐(0) 编辑
摘要:[TOC] ## 1. 介绍 > 对了解一些爬虫的基本理念,掌握爬虫爬取的流程有所帮助。入门之后,我们就需要学习一些更加高级的内容和工具来方便我们的爬取。那么这一节来简单介绍一下 requests 库的基本用法 参考文档: https://github.com/kennethreitz/reques 阅读全文
posted @ 2021-11-01 13:19 HaimaBlog 阅读(97) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示