2017年11月29日

npm install安装失败的问题

摘要: 今天在新建项目后用npm install安装发现如下错误。xuwendeMacBook-Pro:my-app-framework xuwen$ npm installnpm ERR! 148 == 0 npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! npm ERR! Darwin 17.2.0 ... 阅读全文

posted @ 2017-11-29 15:55 BH4LM 阅读(1169) 评论(0) 推荐(0) 编辑

2017年10月25日

efcore遇到的一个坑

摘要: 最近转到EFCore做项目,发现了一个坑,在项目上线后发现随着数据增加查询速度越来越慢,发现原来是进行了全表查询原来的查询var orderCollect = (from a in ctx.ECQD_ORDER_HEAD where a.ID == newGuid(id) orderby a.ORDER_ID select a);修改后var orderId = new Guid(id);var... 阅读全文

posted @ 2017-10-25 16:10 BH4LM 阅读(332) 评论(0) 推荐(0) 编辑

2017年10月10日

使用angular-cli快速开发

摘要: xuwendeMacBook-Pro:angular2 xuwen$ ng new helloangularinstalling ng create .editorconfig create README.md create src/app/app.component.css create src/app/app.component.html create src/app/app.co... 阅读全文

posted @ 2017-10-10 15:27 BH4LM 阅读(513) 评论(0) 推荐(0) 编辑

2017年6月8日

DevExpress 11.1.8源码编译

摘要: 首先需要准备11.1.8源代码包和编译脚本源代码包DX2011.1.8_src.7zhttp://download.csdn.net/detail/godman/9864150编译脚本v2011.1.ziphttps://www.devexpress.com/Support/Center/Question/Details/A609/how-to-rebuild-assemblies-from-th... 阅读全文

posted @ 2017-06-08 16:21 BH4LM 阅读(880) 评论(0) 推荐(0) 编辑

2017年5月10日

看图说话之已有的代码文件夹加入到git仓库

摘要: 最近几个同事的硬盘连续损坏,丢失了不少数据,想想自己硬盘上那么多代码如果突然哪一天找不到了,那岂不是哭了。仅仅简单的备份引发了一系列的折腾,就想在自己家的nas上建一个git服务器,既可以备份又可以实现版本控制。我使用的是Git for windows + TortoiseGit首先,在要加入git仓库的代码根目录上点右键,创建本地git库(如果代码很多的话需要等待一段时间,git需要创建索引)创... 阅读全文

posted @ 2017-05-10 11:21 BH4LM 阅读(1544) 评论(0) 推荐(0) 编辑

2017年4月21日

osx下查看二进制文件及MD5工具

摘要: 很简单,做个记录,osx下有两个命令hexdump和md5可以直接使用。123456vaio-807c175797:flashrom-0.9.9 xuwen$ hexdump -helphexdump: illegal option -- husage: hexdump [-bcCdovx] [-e fmt] [-f fmt_file] [-n length] [-s ... 阅读全文

posted @ 2017-04-21 11:12 BH4LM 阅读(586) 评论(0) 推荐(0) 编辑

2017年4月19日

J-Link Commander 使用方法

摘要: J-Link CommanderJ-Link Commander (JLink.exe) is a free command line based utility that can be used for verifying proper functionality of J-Link as well as for simple analysis of the target system wi... 阅读全文

posted @ 2017-04-19 14:11 BH4LM 阅读(18377) 评论(0) 推荐(1) 编辑

2017年4月10日

MySql中测试GUID 与Int自增主键 性能对比 总结适用场景【转】

摘要: 一. 创建以下三个数据表: int 主键自增表, guid主键表, 关联以上两个表的关系表tbl_test_relationCREATE TABLE `tbl_test_int` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `name` VARCHAR(50) NULL DEFAULT NULL, `comment` VARCHAR(100) ... 阅读全文

posted @ 2017-04-10 09:15 BH4LM 阅读(4527) 评论(0) 推荐(0) 编辑

2017年4月5日

VSCode与Github同步

摘要: 先申请了Github账号并且创建一个repository打开本机的项目,初始状态下是无法同步到github的因为初始化状态下并没有配置远端的仓库[remote "origin"] url=https://github.com/xwensoft/e-commerce-frontend.git fetch = +refs/heads/*:refs/remotes/origin/*如果只是将... 阅读全文

posted @ 2017-04-05 08:54 BH4LM 阅读(21685) 评论(0) 推荐(0) 编辑

2017年3月31日

PrimeNG安装使用

摘要: PrimeNG是Angular2的一个富客户端组件,可以独立于Bootstrap单独使用,也可以结合Bootstrap共同使用。官方上只有例子的介绍,并没找到个类似入门教程一类的资料,这里自己结合网上搜到的资料整理一份入门资料。官网网址:https://www.primefaces.org/primeng/我使用angular-cli生成项目需要安装的包有primeng、font-awesome@... 阅读全文

posted @ 2017-03-31 09:53 BH4LM 阅读(9291) 评论(5) 推荐(0) 编辑

导航