自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 收藏
  • 关注

原创 whisper使用时候报错

添加。

2023-05-18 14:56:04 1510 4

原创 Homebrew国内安装(国内地址)(Mac & Linux)

https://zhuanlan.zhihu.com/p/111014448

2023-05-18 10:47:41 169

原创 c# d365连表查询

d365 c# 连表查询

2022-12-06 16:02:07 249

原创 调用Mapper报错

basemapper基础函数调用出问题

2022-08-09 13:41:16 861

原创 git的坑

git ssh无法连接仓库提示permission denied(publickey)1.本地秘钥没有生成,没有设置2.库的公秘没有设置3.本地有多对秘钥,没有设置config,指定私秘4.git版本高于2.33.1(库不支持RSA-SHA2算法)

2022-03-11 16:01:56 736 2

原创 rgos系统更新

锐捷rgos更新系统版本

2022-01-28 10:41:37 422

原创 rgos密码管理

锐捷rgos disable password cli

2022-01-28 10:27:08 205

原创 SCAN 磁盘调度模拟实现

#include <stdio.h>#include <math.h>#include <iostream>#include <string>#include <iomanip>using namespace::std;struct track{ int tracknum; bool time;//计数器};void Sort(int *a,int n){ for (int i = 0; i < n

2021-01-07 23:31:52 191

原创 改进型 Clock 页面置换算法实现

#include <iostream>#include<string.h>using namespace::std;struct page{ int pagenum; int A; int M;};int run(page *a,int num){ page b[5]; int count=0; for (int i=0; i<5; i++) { b[i].pagenum=0; b[i]

2021-01-07 23:31:00 1480

原创 银行家算法实现

#include <iostream>#include<string.h>using namespace::std;struct pcb1{ int pid; int a_max; int b_max; int c_max; int a_allocation; int b_allocation; int c_allocation; int a_need; int b_need; int c_need

2021-01-07 23:30:08 76

原创 FCFS进程调度模拟实现

main.cpp#include <iostream>#include<stdio.h>#include<string.h>using namespace std;struct pcb{int pid;int arrivetime;int servicetime;int starttime;};void sortpcb(pcb *p,int pidnum){ for(int i=0; i < pidnum-1; i++)

2021-01-07 23:29:07 306

原创 进程撤销模拟实现

进程撤销模拟实现main.cpp#include <iostream>#include"basic.h"pnode *proot;pnode *plink;int createpc(int *para){ pnode *p,*p1,*pp; int pflag; pflag=0; for(p=plink;p;p=p->next){ if(p->node->pid==para[0]){ prin

2021-01-07 23:25:15 1183 2

原创 csv转json

file_path = "XXX.csv" # 指定encodeing='utf-8'中文防止乱码 csvfile = open(file_path, 'r', encoding='utf-8') jsonfile = open('XXX.json', 'w', encoding='utf-8') # 指定列名 fieldnames = ("A", "B", "C", "D", "E", "F") reader = csv.DictReader(csvfil.

2021-01-07 23:21:13 197

原创 echarts传参

在echarts图中点击,需要传一个点击项目的参数到后端。点击一次,后端收到三次。//处理办法:在option后面添加下面三行mychart.clear()mychart.setOption(option)mychart.off('click')//点击事件,并传参数mychart.on('click', function (params) { consostatic/le.log(params.dataIndex); console.log(params.name);

2021-01-07 23:17:20 1783

原创 pandas数据处理出现未知数据

pandas.groupby分类后出现未知项处理可视化数据,对行业分类后出现一个的未知项33333&quot;&gt;参考下面文章发现是一些符号,最后结局办法直接删去该未知项data = data[~data['IndustryField'].str.contains('33333&quot;&gt;')]https://www.cnblogs.com/nifengs/p/5058020.html...

2021-01-03 19:56:24 100

原创 python判断整数、小数

这里写自定义目录标题python判断整数、小数python判断整数、小数g = input(“请输入判断的数:”)a = str(g).split(’.’)b = float(g)c = ‘’.join(a)d = float©if b == d:print(“整数”)else:print(“小数”)

2020-12-03 15:58:19 2695 1

原创 使用Flask遇到的坑

使用Flask遇到的坑更新了json,由于json在static文件夹下,flask给出的办法应该是先把static文件夹下所有的文件先加载到内存,因此更新了json,读出来的数据依然是json(开始)的数据。解决办法:设置缓存的有效时间if __name__ == "__main__": app.config['SEND_FILE_MAX_AGE_DEFAULT'] = timedelta(seconds=1) app.run()...

2020-11-11 19:56:52 245

原创 mysql5.7版本修改密码

1.找到debian-sys-maint用户和密码:vi /etc/mysql/debian.cnf如:user = debian-sys-maintpassword = hTRH5bAZXkyxvF4Y2.登录mysql:#mysql -udebian-sys-maint -phTRH5bAZXkyxvF4Y3.修改密码:mysql> use mysql;mysql&...

2020-02-18 13:26:52 136

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除