大漠孤烟

导航

2024年9月2日 #

获取导出题号范围

摘要: /// <summary> /// 获取导出题号范围 /// </summary> /// <param name="strRangeText">导出题号范围表达式,如:0,3,5-9,20</param> /// <returns>List<int>导出题号范围</returns> private 阅读全文

posted @ 2024-09-02 17:53 jnmcok 阅读(2) 评论(0) 推荐(0) 编辑

2024年3月15日 #

启用关闭防火墙规则

摘要: netsh advfirewall firewall set rule name="FTP主动端口" new enable=yes netsh advfirewall firewall set rule name="FTP被动端口" new enable=yes netsh advfirewall 阅读全文

posted @ 2024-03-15 22:13 jnmcok 阅读(8) 评论(0) 推荐(0) 编辑

2024年2月20日 #

读写文本文件

摘要: <% Const fileName = "counter.txt" Const ForReading = 1 Const ForWriting = 2 Const ForAppending = 8 Dim oFSO, oFile, sFileContent filePath=Server.MapPa 阅读全文

posted @ 2024-02-20 15:51 jnmcok 阅读(3) 评论(0) 推荐(0) 编辑

2023年10月24日 #

读写文本文件

摘要: #region 读取文件(内容不多时,一次将文本内容全部读完) string str1 = System.IO.File.ReadAllText(@"c:\temp\ascii.txt");//返回一个包含全部文本内容的字符串 string str2 = System.IO.File.ReadAll 阅读全文

posted @ 2023-10-24 13:08 jnmcok 阅读(5) 评论(0) 推荐(0) 编辑

2023年10月23日 #

图片与Base64互转

摘要: /// <summary> /// Base64转图片 /// </summary> /// <param name="data"></param> public Image Base64ToImage(string data) { data = data.Replace("data:image/p 阅读全文

posted @ 2023-10-23 11:17 jnmcok 阅读(20) 评论(0) 推荐(0) 编辑

选择文件对话框

摘要: /// <summary> /// 选择文件对话框 /// </summary> /// <param name="filter">"图像(*.jpg;*.png;*.gif;*.bmp)|*.jpg;*.png;*.gif;*.bmp"</param> /// <param name="useLa 阅读全文

posted @ 2023-10-23 11:15 jnmcok 阅读(9) 评论(0) 推荐(0) 编辑

2023年8月29日 #

设置浏览器默认播放声音

摘要: http://zs.jnmc.edu.cn/tool/xmV58_x64.exehttp://zs.jnmc.edu.cn/tool/xmV58_x32.exe小马浏览器不能自动播放音频时,请进行如下操作:chrome://flags/#autoplay-policy设置成No user gestu 阅读全文

posted @ 2023-08-29 22:19 jnmcok 阅读(72) 评论(0) 推荐(0) 编辑

2023年8月25日 #

IIS-反向代理:webman已测试通过

摘要: A:确保IIS已经安装Application Request Routing和URL Rewrite,下载网址如下 https://www.iis.net/downloads/microsoft/application-request-routing https://www.iis.net/down 阅读全文

posted @ 2023-08-25 01:36 jnmcok 阅读(32) 评论(0) 推荐(0) 编辑

2023年8月24日 #

js获取当前时间

摘要: $("#current").html(currentDate(true, true)) /* type:true(格式:2018年01月01日) false(格式:2018-01-01) isno: true(包含时分秒:2018-01-01 01:01:01) false(不包含时分秒:2018- 阅读全文

posted @ 2023-08-24 11:02 jnmcok 阅读(106) 评论(0) 推荐(0) 编辑

2015年10月1日 #

浏览器判断

摘要: 1 2 21 阅读全文

posted @ 2015-10-01 01:09 jnmcok 阅读(106) 评论(0) 推荐(0) 编辑