随笔分类 -  Other

other
摘要:1.安装mongodb-win32-x86_64-2012plus-4.2.3-signed.msi 2.修改配置文件 3.设置root 账号 及resbank 数据账号 创建root账号 认证root账号 创建 resbank 并创建对应账号 4.使用linsu 登录mongo robo 登录账号 阅读全文
posted @ 2020-03-29 19:16 sulin 阅读(188) 评论(0) 推荐(0)
摘要:1.下载swig https://sourceforge.net/projects/swig/files/ 2.配置环境变量 path 添加你的swig路径 3.创建项目解决方案和一个win32 dll 和c# 控制台程序 4.修改cpp类 5.在SwigC 下面添加SwigC.i 和 SwigC. 阅读全文
posted @ 2019-07-16 16:46 sulin 阅读(1243) 评论(0) 推荐(0)
摘要:1.下载mongodb-win32-x86_64-2008plus-ssl-v3.6-latest 解压到 D:\mongodb 2.cmd => path是否有环境变量 如果没有请配置 3.创建 D:\mongodb\data\db以及D:\mongodb\logs\mongodb.log 、 D 阅读全文
posted @ 2018-05-17 08:25 sulin 阅读(427) 评论(0) 推荐(0)
摘要:1.现在elasticsearch安装包 https://www.elastic.co/downloads/elasticsearch 2.解压elasticsearch-5.6.4.zip 到需要安装目录,我的在F:\Program Files\elasticsearch cmd 切换到elast 阅读全文
posted @ 2017-11-15 09:43 sulin 阅读(5557) 评论(0) 推荐(1)
摘要:1·.效果图 2.导出触发事件源 1 string fileName = System.Web.HttpUtility.UrlEncode(name + ".xls"); 2 context.Response.ContentType = "application/vnd.ms-excel"; 3 c 阅读全文
posted @ 2017-08-23 14:51 sulin 阅读(213) 评论(0) 推荐(0)
摘要:1 {".3gp", "video/3gpp"}, 2 {".apk", "application/vnd.android.package-archive"}, 3 {".asf", "video/x-ms-asf"}, 4 {".avi", "video/x-msvideo"}, 5 {".bin", "application/octet-stream"}, 6 {".b... 阅读全文
posted @ 2017-06-16 09:34 sulin 阅读(592) 评论(0) 推荐(0)
摘要:1.需要在app.js 中注册了 在config 处理如下: $httpProvider.interceptors.push('tokenInterceptor') tokenInterceptor:定义 一般登录成功获取token 保存在 Storage.set(ENV.UserKey, json 阅读全文
posted @ 2016-12-03 15:59 sulin 阅读(2738) 评论(0) 推荐(0)
摘要:1.如果是4.0 需要自己实现这个功能 Global.asax 文件进行注册 GlobalConfiguration.Configuration.MessageHandlers.Add(new MobileAPI.Controllers.CorsHandler()); 2.如果是4.5那就可以用 C 阅读全文
posted @ 2016-11-03 15:06 sulin 阅读(572) 评论(0) 推荐(0)
摘要:1.采用 Web API Help Page 显示效果 2.swaggerui 创建文档接口 效果图 3.swagger ui 安装配置 nuget 安装 2.设置xml文件 3.配置根路径 预览swagger ui http://localhost:32033/swaggerui/index.ht 阅读全文
posted @ 2016-08-08 14:56 sulin 阅读(2722) 评论(0) 推荐(0)
摘要:1.添加引用dllusing Lucene.Net.Search;using Lucene.Net.Analysis.PanGu;using PanGu;using PanGu.HighLight;using Lucene.Net.Documents;using Lucene.Net.Store;u... 阅读全文
posted @ 2015-11-05 15:03 sulin 阅读(207) 评论(0) 推荐(0)
摘要:《三字经》人之初 性本善 性相近 习相远 苟不教 性乃迁 《三字经》 《三字经》教之道 贵以专 昔孟母 择邻处 子不学 断机杼 《三字经》 《三字经》窦燕山 有义方 教五子 名俱扬 养不教 父之过 《三字经》 《三字经》教不严 师之惰 子... 阅读全文
posted @ 2015-09-08 09:15 sulin 阅读(402) 评论(0) 推荐(0)
摘要:1.修改代码 阅读全文
posted @ 2015-08-07 15:12 sulin 阅读(149) 评论(0) 推荐(0)
摘要:1.下载最新版本的Microsoft Web Platform Installer 5.0。2.在组件列表中选择最新版本的 WebMatrix 3.0,安装重启后即可正常使用 IIS Express 调试项目了。 阅读全文
posted @ 2015-04-04 20:22 sulin 阅读(310) 评论(0) 推荐(0)
摘要:/// /// 中缀表达式到逆波兰表达式的转换及求值 /// public class RpnExpression { #region 定义属性 int Top = -1; ... 阅读全文
posted @ 2014-12-22 22:04 sulin 阅读(3854) 评论(1) 推荐(0)
摘要:1 IIS错误需要重新运行配置 重新注册.netframework。解决方式:cmd C:\Windows\Microsoft.NET\Framework\v4.0.30319aspnet_regiis.exe -i2. CS0016: 未能写入输出文件“c:\Windows\Microsoft.N... 阅读全文
posted @ 2014-04-26 15:28 sulin 阅读(152) 评论(0) 推荐(0)
摘要:1 使用 netsh.exe 工具C:\Windows\system32>netsh http add urlacl url=http://+:8733/WcfServiceLibrary1 user=lin.su已成功添加 URL 保留项备注:为了使没有管理员权限的用户能够开发 WCF 服务,在安装 Visual Studio 的过程中为命名空间“http://+:8731/Design_Time_Addresses”创建了一个 ACL(访 问控制列表)具体使用方法 netsh.exe 阅读全文
posted @ 2014-01-23 11:46 sulin 阅读(652) 评论(1) 推荐(0)