会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
奇迹之耀
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
17
下一页
2023年11月16日
DCMTK3.6.5编译说明(ChatGPT翻译)
摘要: DICOM工具包(DCMTK)安装 先决条件 DICOM工具包(DCMTK)需要使用C++编译器进行编译。我们建议使用GNU C++编译器的版本高于4.2.1(在此版本的开发中,大部分工作是在Debian Linux上使用GNU C++ 6.3.0完成的)。该软件也已知可以使用SUNPro C++编
阅读全文
posted @ 2023-11-16 15:10 奇迹之耀
阅读(984)
评论(0)
推荐(0)
2023年10月19日
VS2019项目整体迁移到另外磁盘如何修改最近使用的内容路径
摘要: 进入C:\Users\用户\AppData\Local\Microsoft\VisualStudio\16.0_eeb1e2a3(这个目录可能不同) 找到ApplicationPrivateSettings.xml,即可修改项目路径
阅读全文
posted @ 2023-10-19 15:10 奇迹之耀
阅读(379)
评论(0)
推荐(0)
2023年9月20日
在开启contenteditable可编辑div光标处插入图片
摘要: $("#Content").focus(); // 创建 img 元素var img = document.createElement('img');img.src = 'xxxx';img.style.display = 'block'; // 插入 img 元素 if (window.getSe
阅读全文
posted @ 2023-09-20 19:17 奇迹之耀
阅读(260)
评论(0)
推荐(0)
2023年9月19日
.NET MVC,浏览器端访问图片链接直接下载而不是查看
摘要: 如果将ContentType设置为application/octet-stream,那么在浏览器中会自动下载,需要将ContentType设置为对应类型 还有一种是设置了错误的参数,去掉文件名即可 public ActionResult Image() { string filePath = "D:
阅读全文
posted @ 2023-09-19 15:12 奇迹之耀
阅读(103)
评论(0)
推荐(0)
.NET MVC返回图片并通知浏览器进行缓存
摘要: public ActionResult Image() { string filePath = "D:\\123.png"; Response.Cache.SetExpires(DateTime.Now.AddDays(365)); // 缓存有效期为365天 Response.Cache.SetC
阅读全文
posted @ 2023-09-19 15:03 奇迹之耀
阅读(68)
评论(0)
推荐(0)
2023年7月26日
C#引用c++ DLL找不到入口点
摘要: c++中的函数名称在编译后改变了,需要利用dumpbin.exe找到编译后的名字 dumpbin.exe在VS安装目录 参考路径:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.299
阅读全文
posted @ 2023-07-26 16:09 奇迹之耀
阅读(390)
评论(0)
推荐(0)
2023年7月6日
flex垂直居中当界面空间不足时显示不全
摘要: 代码示例如下 <div id="a" style="display: flex; justify-content: center; align-items: center;width:200px;height:100%;background:skyblue" > <div id="b" style=
阅读全文
posted @ 2023-07-06 09:28 奇迹之耀
阅读(278)
评论(0)
推荐(0)
2023年6月28日
html css设置文本不可选中
摘要: 禁止选中 user-select: none; -webkit-user-select: none; -moz-user-select: none; 禁止元素拖拽 ondragstart="return false;"
阅读全文
posted @ 2023-06-28 18:29 奇迹之耀
阅读(82)
评论(0)
推荐(0)
2023年6月15日
html canvas写字并右对齐
摘要: function PaintText(x, y, color, size, text, toLeft) { if (toLeft == undefined) { toLeft = true; } y += size;ctx.font = "normal " + size+"px arial";ctx
阅读全文
posted @ 2023-06-15 16:29 奇迹之耀
阅读(252)
评论(0)
推荐(0)
C# httpclient中携带cookie
摘要: CookieContainer cookieContainer = new CookieContainer();//创建CookieContainer Cookie cookie1 = new Cookie("pac_uid","0_8535fa0a41922","/","qq.com"); coo
阅读全文
posted @ 2023-06-15 14:40 奇迹之耀
阅读(1379)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
17
下一页
公告