
杂
来一块提拉米苏
加油
展开
-
基于jacoco和CI做代码覆盖率检测
念念不忘,必有回响原创 2022-07-01 21:04:51 · 959 阅读 · 1 评论 -
python的webpy
随便写写import weburls = ( '/test', 'test', '/test1/(.+)', 'test1', '/test2.(.*)+', 'test2', '/test3/?', 'test3', '/test4/?', 'test4')app = web.application(urls, globals())class test: def GET(self): return 'Hello'class原创 2021-12-30 14:12:16 · 665 阅读 · 0 评论 -
nginx做文件下载
安装:https://blog.youkuaiyun.com/jklcl/article/details/119360729?spm=1001.2014.3001.5501conf/nginx.conf中配置 server { listen 80; charset utf-8; server_name 服务器IP; root /data/Downloads/; autoindex on; aut原创 2021-08-24 20:30:34 · 195 阅读 · 0 评论 -
wrk压测TF-serving
serving服务# 启动镜像docker run -t --rm -p 8501:8501 \-v "${PATH}/serving/tensorflow_serving/servables/tensorflow/testdata/saved_model_half_plus_two_cpu:/models/half_plus_two" \-e MODEL_NAME=half_plus_two \tensorflow/serving &# 验证curl -d '{"instances原创 2021-07-21 10:20:36 · 295 阅读 · 1 评论 -
C语言函数的取地址符和星号
最近对函数的星号和取地址符有些困惑于是写了这一点简单的代码来回忆一下;1、#include void f(int x,int y){ int t; t=x; x=y; y=t; printf("x=%d; y=%d\n",x,y);}int main(){ int a=1,b=2; f(a,b); printf("原创 2016-08-08 16:23:21 · 7803 阅读 · 2 评论 -
Messagebox的简单用法
实训后,让我对消息弹窗这一部分内容特别感兴趣,现在对弹窗消息做一点小小的总结:1、头文件#include ,只能在windows环境下进行;2、MessageBox(NULL,"弹窗的消息内容",“弹窗的标题”,对话框的类型常量);原创 2016-07-15 13:21:28 · 1891 阅读 · 0 评论