上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 78 下一页

2024年5月19日

摘要: 因网络中断或其他原因,有时候服务器上留下较多无用的vscode-server进程,占用内存资源 可以采用如下命令kill进程 ps uxa | grep .vscode-server | awk '{print $2}' | xargs kill -9 阅读全文
posted @ 2024-05-19 22:28 张博的博客 阅读(598) 评论(0) 推荐(0)
摘要: import pandas as pd s = pd.Series(['dsafasdf','3333333333333', '23423', 'sdafasdfasdf']) def yasuo(x): return ['...' for i in x] aaaa=pd.DataFrame([[' 阅读全文
posted @ 2024-05-19 20:16 张博的博客 阅读(14) 评论(0) 推荐(0)
摘要: 也就是算出绝对路径传进去. import os wenjian='/'.join(os.path.abspath(__file__).split('/')[:-2])+'/' with open(wenjian+"meddata.json", "r") as f: med_data=json.loa 阅读全文
posted @ 2024-05-19 07:53 张博的博客 阅读(10) 评论(0) 推荐(0)

2024年5月15日

摘要: ps aux --sort=-%mem 阅读全文
posted @ 2024-05-15 19:02 张博的博客 阅读(13) 评论(0) 推荐(0)

2024年5月14日

摘要: 样式的究极解决方案: https://www.gradio.app/guides/theming-guide 如果里面text等设置的还不满意, 可以直接改源码, 或者复写即可.都不难, 只需要python看源码的一点功力即可自定义化样式.66666666666666666 比如我可以把字体强制干这 阅读全文
posted @ 2024-05-14 21:48 张博的博客 阅读(405) 评论(0) 推荐(1)
摘要: 注意输入一定是www开头,然后是域名,然后是com. 阅读全文
posted @ 2024-05-14 19:50 张博的博客 阅读(160) 评论(0) 推荐(0)
摘要: return Response(json.dumps(ret), mimetype='application/json') return jsonify(med_data[int(req_data['from']):int(req_data['to']+1)]) 上面一行写法对,下面一行写法错. 阅读全文
posted @ 2024-05-14 14:18 张博的博客 阅读(34) 评论(0) 推荐(0)

2024年5月13日

摘要: http://www.mobiletrain.org/about/BBS/150708.html host和hostname也写一样的. 因为有时候会识别不准那个才是ip 阅读全文
posted @ 2024-05-13 18:42 张博的博客 阅读(11) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/whatzhang007/article/details/110089447 总结就是一个字: 启用json类的保存方式.改成logntext即可. 例如我的方穹项目的表设计: 不吐槽不行, 真是个大坑狗mysql, 设计一个json字段, 贼不好用. 查 阅读全文
posted @ 2024-05-13 12:53 张博的博客 阅读(250) 评论(0) 推荐(0)

2024年5月12日

摘要: apifox, 完全免费软件, 比postman好用, 性能高, 推荐给每一个童鞋. 阅读全文
posted @ 2024-05-12 08:15 张博的博客 阅读(28) 评论(0) 推荐(0)
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 78 下一页

导航