上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 68 下一页
摘要: How to Automate IIS 7 Configuration with .NET How to Automate IIS 7 Configuration with .NET Are you tired of manually configuring IIS sites (adding We 阅读全文
posted @ 2019-11-04 15:08 特洛伊-Micro 阅读(391) 评论(0) 推荐(0)
摘要: 代码控制跨域: 如何使用:在 Global.asax 对应的控制类中: protected void Application_BeginRequest() { if (CorsFilter.IsOptionstRequest()) { CorsFilter.AllowCors(); return; 阅读全文
posted @ 2019-10-21 10:17 特洛伊-Micro 阅读(780) 评论(0) 推荐(0)
摘要: https://www.elastic.co/downloads/elasticsearchElasticSearch是一个高可扩展的开源的全文搜索分析引擎。它允许你快速的存储、搜索和分析大量数据。ElasticSearch通常作为后端程序,为需要复杂查询的应用提供服务。 检查 JDK版本java 阅读全文
posted @ 2019-10-14 15:31 特洛伊-Micro 阅读(916) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-13 00:55 特洛伊-Micro 阅读(8) 评论(0) 推荐(0)
摘要: Linux中root用户找不到JAVA_HOME Linux中root用户找不到JAVA_HOME Linux中root用户找不到JAVA_HOME Linux中root用户找不到JAVA_HOME 在Ubuntu环境中安装好Java环境后设置环境变量:在/etc/profile中设置好了JAVA_ 阅读全文
posted @ 2019-10-04 13:29 特洛伊-Micro 阅读(4620) 评论(1) 推荐(1)
摘要: 判断信用卡卡号是否正确 判断信用卡卡号是否正确 判断信用卡卡号是否正确 判断信用卡卡号是否正确 【信用卡号的验证】当你输入信用卡号码的时候,有没有担心输错了而造成损失呢?其实可以不必这么担心,因为并不是一个随便的信用卡号码都是合法的,它必须通过Luhn算法来验证通过。该校验的过程:1、从卡号最后一位 阅读全文
posted @ 2019-09-20 16:19 特洛伊-Micro 阅读(750) 评论(0) 推荐(0)
摘要: 需要判断Char是否为数字,查看了下MSDN,发现有三种方法: Char.IsDigit (aChar) 指示指定字符串中位于指定位置处的字符是否属于十进制数字类别 Char.IsNumber(aChar) 指示指定字符串中位于指定位置的字符是否属于数字类别 aChar>='0'&&aChar<=' 阅读全文
posted @ 2019-09-20 16:18 特洛伊-Micro 阅读(1294) 评论(0) 推荐(0)
摘要: 不用System.Web 对 Content进行编码,De编码 string content = "<br/>"; string s1 = WebUtility.HtmlEncode(content); string s3 = WebUtility.HtmlDecode(s1); string s4 阅读全文
posted @ 2019-09-20 16:08 特洛伊-Micro 阅读(2514) 评论(0) 推荐(0)
摘要: Ubuntu 16.04.4 LTS下安装JDK 阅读目录 写在前面 方法 测试 结束 写在前面 为什么我又装jdk?今天顺手升级了我的双系统中的Ubuntu,开始的时候用的图形化界面升级,后来你懂的,升级软件死锁了。。 用命令行也没有效果了,提示锁被占用,手残重启试试,图形界面彻底崩了...我拿t 阅读全文
posted @ 2019-09-19 14:28 特洛伊-Micro 阅读(315) 评论(0) 推荐(0)
摘要: 方案一:使用微乳封装的Shell包 添加nuget包:Microsoft.WindowsAPICodePack.Shell 2 直接使用Shell32交互 添加Com组件引用: 参考资料: https://stackoverflow.com/questions/37869388/how-to-rea 阅读全文
posted @ 2019-07-17 17:27 特洛伊-Micro 阅读(928) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 68 下一页