会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
那人,那事,那代码
走走停停,终该是留点什么
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
22
23
24
25
26
27
28
29
30
···
46
下一页
2020年8月25日
git 分支修改文件不完全提交合并到其他分支
摘要: 场景: 现有主分支master,分支AA,在分支AA上修改了很多文件,但是某些配置文件setting.py修改了只能在本地运行,不希望合并到master,只提交部分项目文件stock.py 解决方案 切换到AA 分支: git checkout AA 提交stock.py 文件: git add s
阅读全文
posted @ 2020-08-25 09:26 那时一个人
阅读(875)
评论(0)
推荐(0)
2020年8月22日
linux tab开启自动提示功能
摘要: https://www.jianshu.com/p/f5635f967f2a vi /etc/bash.bashrc 反注释掉该部分内容即可 1. #enable bash completion in interactive shells 2. #if ! shopt -oq posix; then
阅读全文
posted @ 2020-08-22 17:59 那时一个人
阅读(663)
评论(0)
推荐(0)
linux apt 镜像配置,pip 镜像配置,加速
摘要: https://blog.csdn.net/qq_21095573/article/details/99736630?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.add_p
阅读全文
posted @ 2020-08-22 14:34 那时一个人
阅读(381)
评论(0)
推荐(0)
2020年8月21日
docker 如何制作django的docker镜像
摘要: 参考: https://hub.docker.com/_/django?tab=description&page=1&ordering=last_updated 我做了一定的调整: FROM python:3.5 #RUN wget -O /etc/apt/sources.list http://u
阅读全文
posted @ 2020-08-21 18:13 那时一个人
阅读(277)
评论(0)
推荐(0)
2020年8月20日
ubuntu 创建桌面快捷方式
摘要: https://blog.csdn.net/qq_15192373/article/details/81091278
阅读全文
posted @ 2020-08-20 13:34 那时一个人
阅读(153)
评论(0)
推荐(0)
2020年8月19日
git 删除未提交的文件
摘要: https://blog.csdn.net/leedaning/article/details/51304690?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.add_param_
阅读全文
posted @ 2020-08-19 09:46 那时一个人
阅读(1649)
评论(0)
推荐(0)
2020年8月15日
django shell 使用ipython
摘要: https://stackoverflow.com/questions/14616805/why-wont-django-use-ipython 配置方法: https://blog.csdn.net/Li_G_yuan/article/details/88073231 注意:如果使用了虚拟环境,那
阅读全文
posted @ 2020-08-15 11:33 那时一个人
阅读(476)
评论(0)
推荐(0)
2020年8月14日
django 思维导图
摘要: https://www.cnblogs.com/derek1184405959/p/8533625.html
阅读全文
posted @ 2020-08-14 09:47 那时一个人
阅读(137)
评论(0)
推荐(0)
2020年7月31日
mssql 动态语句实现
摘要: mssql 不能像postgres 中使用占位符进行替换如%s,只能多写几个replace吧 为什么不用字符拼接的方式? 拼接的语句太难看了 只能使用跛脚的方法: declare @sql varchar(353) declare @table varchar(33) declare @sql2 v
阅读全文
posted @ 2020-07-31 17:44 那时一个人
阅读(182)
评论(0)
推荐(0)
2020年7月30日
scrapy/nginx 服务带有http 验证,怎样使用curl 请求
摘要: 参考: https://www.jianshu.com/p/c98892a2c561 爬虫服务免不了需要定时启动,就需要crontab+curl 来触发,但是curl 怎样发送带验证的请求. 有些网域需要 HTTP 认证,这时 curl 需要用到 --user 或者 -u 参数。 $ curl --
阅读全文
posted @ 2020-07-30 15:04 那时一个人
阅读(472)
评论(0)
推荐(0)
上一页
1
···
22
23
24
25
26
27
28
29
30
···
46
下一页
公告