编程笔记

  • k8s 1.20.x版本NFS动态存储配置

    一、nfs服务器安装nfs与配置 yum -y install nfs-utils rpcbind systemctl start rpcbind.service systemctl start nfs #配置 mkdir /data/nfs -p chow nfsnobody.nfsnobody /data/nfs cat>>/etc/exports<…

    编程笔记 2022年6月19日
  • 关于python:用pyqt5逐步绘制的正确方法

    Correct way to paint progressively with pyqt5 我有一个基本上是圆形的小部件。我想逐步绘制它,所以我需要逐步绘制它(imo)。 通过以下代码,我已经实现了我想要的。但是,有一个问题。我正在将一个新事件传递给 …

    编程笔记 2022年6月19日
  • 操作系统 分页式存储管理 实验(C语言)

    分页式存储管理 实验内容   在进程控制实验的基础上实现分页式存储管理内存分配和地址转换过程。进一步实现请求分页式存储管理过程,包括内存和置换空间管理、地址转换以及缺页处理,能够体现FIFO和LRU算法思想。…

    编程笔记 2022年6月19日
  • 关于python:seaborn的swarmplot可以调整点的marker形状吗?

    Can the swarmplot of seaborn adjust the marker shape of points? 我使用 seaborn 中的 swarmplot 函数来绘制类别散点图。但我在每个类别中有两种类型的点。所以我希望可以将不同类型的点设置为不同的标记。seabo…

    编程笔记 2022年6月19日
  • 关于python:TkInter:如何显示正常光标?

    TkInter: how to display the normal cursor? 我有一个简单的 TkInter 界面,单击按钮后,鼠标光标变为 fleur。现在,在使用此光标的任务完成后,我想使用普通光标。正常情况下,我指的是您现在在自己的计算机上看…

    编程笔记 2022年6月19日
  • `

    #include <stdio.h> enum { the_size = 100010 }; class FIBO_TREE { private : struct TREE { int lid, rid, pid; int key; int cnt; } tree[the_size]; int ROOT, tot; int stk[the_size], top; #define li…

    编程笔记 2022年6月19日
  • table多行表头

    效果类型下图:   多行thead即可。 <table class="list"> <thead> <tr> <th colspan="2">客户信息</th> <th colspan="2">基本信息</th> <th colspan="3">资料信息…

    编程笔记 2022年6月19日
  • 关于python:如何将函数连接到主线程外的PyQt信号

    How to connect functions to PyQt signals outside of main thread 我正在创建一个 PyQt 应用程序,我希望有一个后台线程来连接一些事件处理程序,然后永远循环直到主窗口关闭。我遇到的问题是,我连接的事件处理…

    编程笔记 2022年6月19日
  • Pylint for code review

    Pylint for code review 20220512 https://www.jianshu.com/p/6a313c843f0d 用法:pylint evaluation_and_generate_result.py --rcfile='pylint.conf' --disable=E1101 pylint可以集成到pycharm中

    编程笔记 2022年6月19日
  • 关于 r:Reticulate – 在不分配给变量的情况下获取 Python 结果

    Reticulate - Get Python result without assigning to variable 如果可能的话,我想在 R 中打印 python 代码的结果(不分配给变量)。 这行得通: 123 library(reticualte) py_run_string("print(2…

    编程笔记 2022年6月19日