首页
  1. 首页
  2. 文章
  • 2020年7月30日 11:24

    /dev/vda1磁盘满了,提示bash: cannot create temp file for here-document: No space left on device

    背景:使用cd 命名模糊查找文件名时提示警告信息:bash: cannot create temp file for here-document: No space left on device查看硬盘dh -h>>> df -h Filesystem      Size  Used Avail Use% Mounted on udev        &nbs

    Linux 2907 人阅读 0 条评论
    阅读全文
  • 2020年7月29日 11:30

    openwrt 修改ip地址

    查看openwrt的ip地址ifconfig>>> ifconfig eth1      Link encap:Ethernet  HWaddr 00:1E:CD:1F:0B:15             inet addr:192.168.0.249  Bcast:192.168.0.255  Ma

    Linux 4733 人阅读 0 条评论
    阅读全文
  • 2020年7月24日 18:55

    openwrt 挂载硬盘步骤详解

    openwrt 挂载硬盘步骤详解

    Linux 18671 人阅读 0 条评论
    阅读全文
  • 2020年7月24日 18:52

    openwrt 查看cpu核数和频率

    openwrt 查看cpu核数和频率

    Linux 5922 人阅读 0 条评论
    阅读全文
  • 2020年7月24日 15:20

    openwrt 查看硬盘信息

    openwrt 查看启动信息

    Linux 4885 人阅读 0 条评论
    阅读全文
  • 2020年7月9日 19:37

    django3 Refused to display 'url' in a frame because it set 'X-Frame-Options' to 'deny'

    背景使用django3进行开发时,由于项目前端页面使用iframe框架,浏览器错误提示信息如下:Refused to display 'url' in a frame because it set 'X-Frame-Options' to 'deny'根据提示信息发现是因为X-Frame-Options=deny导致的。X-Frame-OptionsX-Frame-Options是什么The X-Frame-Options HT

    Django 3286 人阅读 1 条评论
    阅读全文
  • 2020年7月9日 18:01

    python 整数int 四舍五入

    因为工作需要,需要将浮点数进行四舍五入。num=1.0 for i in range(20):     num= round(num+0.05,2)     print(f"数字:{num} 四舍五入取整:{int(num+0.5)}")      >>> 数字:1.05 四舍五入取整:1 数字:1.1 四舍五入取整:1 数字:1.15 四舍五入取整:1 数字

    python 5031 人阅读 0 条评论
    阅读全文
  • 2020年7月8日 23:19

    django 全局上下文处理器(Context Processors)详解及如何自定义

    本文总结了什么是Django的全局上下文处理器(Context Processors),它的应用场景及如何自定义使用自己的全局上下文处理器

    Django 3049 人阅读 0 条评论
    阅读全文
  • 2020年7月6日 15:48

    pycharm使用技巧:Pycharm中显示代码结构和Structure中的图标含义

    背景如何使用pycharm,能够高效的学习代码步骤:View→Tool Window→Structue移动structure位置右键点击structure→move to→选择需要放的位置structure展示中字符含义p:parameter 参数  m:method 方法  c:class 类  v:variable 变量  f:function 函数  另外,字母左上角有锁的图样子的,表示权限为私有。一般不应改动。函数和方法的区别与类和实例无绑定关系的function都属于函数(functi

    开发工具 2552 人阅读 0 条评论
    阅读全文
  • 2020年7月5日 23:07

    django ForeignKey(外键) 设置允许为空

    django ForeignKey(外键) 设置允许为空如:class Writer(models.Model):     name=models.CharField(max_length=60,verbose_name="名字")      class Books(models.Model):     writer=models.ForeignKey('Writer',blank = True)需求

    Django 4020 人阅读 0 条评论
    阅读全文
  • «
  • 1 (current)
  • 2
  • »
网站分类
  • redis
  • python
  • Django
  • JavaScript
  • mysql
  • 爬虫
  • Flask
  • Linux
  • 计算机原理
  • leetcode
  • 开发工具
  • mongodb
  • seo
  • django教程
  • mac
  • golang
点击排行
  • nginx 启动时报错Starting nginx (via systemctl): nginx.serviceJob for nginx.service failed 解决方法
  • python os模块获取指定文件夹下所有文件名
  • mac 安装Homebrew提示brew command not found错误的解决方法
  • ubuntu 查看当前系统登录用户名单
  • python 定时任务APScheduler 使用介绍
  • python2 安装pandas提示错误:Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  • VMware 安装VMware Tools显示灰色正确解决办法
  • 10进制颜色代码,十进制颜色查询对照表
  • gitlab 打开页面出现502错误解决办法
  • 苹果 Mac OS 系统 v2rayU 使用教程
搜索
文章归档
  • 2022年5月 (4)
  • 2022年4月 (12)
  • 2022年3月 (17)
  • 2022年2月 (5)
  • 2022年1月 (1)
  • 2021年12月 (12)
  • 2021年11月 (2)
  • 2021年10月 (6)
  • 2021年9月 (16)
  • 2021年8月 (9)
  • 2021年7月 (6)
  • 2021年6月 (8)
  • 2021年5月 (6)
  • 2021年4月 (19)
  • 2021年3月 (21)
  • 2021年2月 (23)
  • 2021年1月 (8)
  • 2020年12月 (3)
  • 2020年11月 (12)
  • 2020年10月 (6)
  • 2020年9月 (25)
  • 2020年8月 (27)
  • 2020年7月 (11)
  • 2020年6月 (16)
  • 2020年5月 (19)
  • 2020年4月 (18)
  • 2020年3月 (9)
  • 2020年2月 (24)
  • 2020年1月 (17)
  • 2019年12月 (14)
  • 2019年11月 (20)
  • 2019年10月 (19)
  • 2019年9月 (16)
  • 2019年8月 (25)
  • 2019年7月 (20)
  • 2019年6月 (11)
  • 2019年5月 (3)
  • 2019年4月 (13)
  • 2019年3月 (14)
  • 2019年2月 (30)
  • 2019年1月 (13)
  • 2018年12月 (85)
  • 2018年11月 (662)
标签列表
  • sqlalchemy (9)
  • git (1)
  • zookeeper (1)
  • ubuntu (1)
  • selenium (20)
  • nginx (2)
  • layui (1)
  • jieba (1)
  • xlrd (1)
  • xlwd (1)
  • 百度云 (2)
  • pycharm (4)
  • 排序算法 (1)
  • pandas (5)
  • PostgreSQL (1)
  • zennoposter (2)
  • gunicorn (6)
  • OpenWRT (9)
  • frp (2)
  • django orm (2)
  • gitlab (1)
  • 友情链接
  • Github
  • 诗词网
  • 诗词网
Copyright © www.chenxm.cc 个人博客模板 All Rights Reserved. 备案号: 粤ICP备12087819号-1