MOSS

导航

2015年10月6日 #

cordova Process finished with exit code -1

摘要: 安装完cordova之后,创建一个测试项目后,运行报Process finished with exit code -1,经过查找原因,是因为gradle没有安装,在http://www.androiddevtools.cn/#gradle 这里下载gradle,下载解压完成后,查看gettin... 阅读全文

posted @ 2015-10-06 18:42 liuyuhua 阅读(936) 评论(0) 推荐(0)

2015年9月30日 #

cordova 环境搭建

摘要: 安装环境前题是nodejs已安装,android环境搭建完成,android环境没有通过http://www.androiddevtools.cn/安装,安装使用淘宝 NPM 镜像 方式1.运行cmd以管理员身份运行,输入命令 npm install -g cnpm --registry=https... 阅读全文

posted @ 2015-09-30 10:49 liuyuhua 阅读(529) 评论(0) 推荐(0)

2015年9月29日 #

Error: Could not access the Package Manager. Is the system running?

摘要: 最近在搭建cordova,android 开发环境,安装android studio之后创建一个demo之后,运行想看一下效果,在运行过程中创建一个虚拟机(arm)的,等了有1分钟左右,再次运行程序,报Error: Could not access the Package Manager. Is... 阅读全文

posted @ 2015-09-29 15:10 liuyuhua 阅读(4952) 评论(0) 推荐(0)

2015年6月30日 #

MongoDB 安装

摘要: 1.首先到官网(mongodb)下载合适的安装包,目前最新版本为3.0.4 我电脑是win7系统64位,下载Windows 64-bit 2008 R2+版本,下载完成后安装到D:\MongoDB目录下2.安装完成之后还不能使用,需要下载KB2731284 这个补丁,不知道其它系统是否需要安装,安装... 阅读全文

posted @ 2015-06-30 18:03 liuyuhua 阅读(190) 评论(0) 推荐(0)

2015年6月29日 #

nodejs 导出excel

摘要: nodejs 对查询数据生成excel并下载,采用方式先生成本excel文件,然后再下载;通过比较采用excel-export插件代码如下:excel.js代码:var extend = require("extend");var fs = require("fs");var excelExpo... 阅读全文

posted @ 2015-06-29 17:53 liuyuhua 阅读(4846) 评论(0) 推荐(1)

2015年3月7日 #

hyper-v无线网络上外网

摘要: 这个通过无线网络上外网也是找了很多文章,大部分写的都不详细,没有办法成功,原理就是创建一个虚拟网卡,然后把创建的虚拟网卡和无线网卡桥接,虚拟机中使用创建的虚拟网卡,这里创建的虚拟网卡指的是用hyperv创建的类型为内部的网卡;我把具体步骤写下。1.打开hyper-v,虚拟交换机管理器2.创建 ... 阅读全文

posted @ 2015-03-07 12:24 liuyuhua 阅读(2692) 评论(0) 推荐(0)

hyperv 创建第二代虚拟机

摘要: 环境:宿主机windows 8.1,虚拟机:windows 8.1硬件:笔记本电脑,无线网络,没有有线网络网络配置先不设置1.安装hyperv,控制面版--》程序和功能--》启用或关闭windows功能--》Hyper-v下的内容全选,安装就可以了。2.创建虚拟机,如下图第二代只支持windows ... 阅读全文

posted @ 2015-03-07 11:51 liuyuhua 阅读(11684) 评论(0) 推荐(0)

2013年3月11日 #

Sharepoint 2010 Powershell 修改网站认证方式

摘要: $App = get-spwebapplication “URL”$app.useclaimsauthentication = “True”$app.Update()例子$App = get-spwebapplication “http://sp1”$app.useclaimsauthentication = “True”$app.Update() 阅读全文

posted @ 2013-03-11 17:23 liuyuhua 阅读(168) 评论(0) 推荐(0)

2012年12月10日 #

Google has disabled use of the Maps API for this application

摘要: 用google地图时提示如下错误:Google has disabled use of the Maps API for this application. The provided key is not a valid Google API Key, or it is not authorized for the Google Maps Javascript API v2 on this site. If you are the owner of this application, you can learn about obtaining a valid key here: http:// 阅读全文

posted @ 2012-12-10 13:31 liuyuhua 阅读(667) 评论(0) 推荐(0)

2012年7月5日 #

用WebPartPagesWebService 的方法ValidateWorkflowMarkupAndCreateSupportObjects 时提示CompilerError

摘要: 我创建了test.xoml ,test.rules,test.config.xml 文件,设置rules时,提示CompilerError,这个错误是xoml文件中 x:Class="Microsoft.SharePoint.Workflow.ROOT" x:Name="ROOT" 这两个值必须是root,我之前是x:Class="Microsoft.SharePoint.Workflow.Workflow" x:Name="Workflow" 这样就会出错 阅读全文

posted @ 2012-07-05 16:31 liuyuhua 阅读(262) 评论(0) 推荐(0)