会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
那人,那事,那代码
走走停停,终该是留点什么
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
21
22
23
24
25
26
27
28
29
···
46
下一页
2020年9月3日
django 重写update,create,delete方法
摘要: 话不多说,直接上代码吧: from django.db import models from datetime import datetime from django.db import models # from DjangoUeditor.models import UEditorField f
阅读全文
posted @ 2020-09-03 15:35 那时一个人
阅读(2273)
评论(0)
推荐(0)
2020年9月1日
git 常用命令
摘要: git创建分支: git checkout -b branchname git 切换分支: git checkout branchname git 删除分支: git branch -d branchname
阅读全文
posted @ 2020-09-01 18:56 那时一个人
阅读(98)
评论(0)
推荐(0)
redis 常用操作
摘要: 切换数据库: select 0 查看所有的键: keys * # 星号为模型 Hgetall 获取哈希值: 返回的结果值键值对,相当于 python 中的字典。
阅读全文
posted @ 2020-09-01 18:50 那时一个人
阅读(151)
评论(0)
推荐(0)
2020年8月28日
odoo 代码编写规范建议
摘要: 修改某条记录的值,建议使用write方法,而不是直接使用[model].attr = values 如果直接使用属性值来修改数据库中的数据,对后期维护简直就是灾难,这样写不方便快速定位修改语句。
阅读全文
posted @ 2020-08-28 17:09 那时一个人
阅读(262)
评论(0)
推荐(0)
2020年8月27日
Ubuntu navicat15 激活
摘要: 教程: https://gitee.com/yangzhuoming/navicat-keygen/tree/linux 激活效果: 另外navicat工具下载: 链接: https://pan.baidu.com/s/1Dh_eAi0wssi6FjTX4g0-CQ 密码: d26i
阅读全文
posted @ 2020-08-27 17:02 那时一个人
阅读(3148)
评论(1)
推荐(0)
Ubuntu 推荐软件
摘要: https://zhuanlan.zhihu.com/p/71833109 上边推荐的都还挺好 额外推荐一款:synapse,超好用的搜索工具 快捷键:Ctrl+space 调出工具
阅读全文
posted @ 2020-08-27 15:04 那时一个人
阅读(159)
评论(0)
推荐(0)
流程图在线编辑工具draw
摘要: 推荐一款在线(免费)的流程图制作工具:draw.io, 和国内的processon(收费)很相似 官方直接使用地址 https://www.draw.io/ 或者自行搭建服务: https://zhuanlan.zhihu.com/p/98635546
阅读全文
posted @ 2020-08-27 14:04 那时一个人
阅读(546)
评论(0)
推荐(0)
Linux Ubuntu添加虚拟内存,死机
摘要: 如果电脑容易死机,鼠标不动,就可以考虑是不是你的虚拟内存设置的不够 设置虚拟内存参考: https://blog.csdn.net/qq_38701476/article/details/83042668 最后在执行命令sudo swapoff swapfile时会提示swapon: /root/s
阅读全文
posted @ 2020-08-27 13:03 那时一个人
阅读(436)
评论(0)
推荐(0)
2020年8月26日
linux ubuntu 推荐终端工具Terminator
摘要: 为什么推荐? 相比于Ubuntu自带的终端命令,支持分屏,使用自带的终端,窗口一旦开多了以后,就很难准确找到想要的历史窗口。 快捷键: https://blog.csdn.net/laviolette/article/details/52703605 安装: apt-get install term
阅读全文
posted @ 2020-08-26 16:33 那时一个人
阅读(4288)
评论(0)
推荐(0)
linux docker 搭建pgadmin4 服务,Ubuntu,pgadmin
摘要: docker文档 https://hub.docker.com/r/dpage/pgadmin4 官方教程: https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html 主要就两步吧: docker pull dpag
阅读全文
posted @ 2020-08-26 15:53 那时一个人
阅读(335)
评论(0)
推荐(0)
上一页
1
···
21
22
23
24
25
26
27
28
29
···
46
下一页
公告