var app = angular.module("encodeDecode", []); app.controller("encodeDecodeCtrl", ($scope, str) => { $scope.encode = btoa(str); $scope.dec...
分类:
Web程序 时间:
2015-05-04 11:40:22
阅读次数:
255
nodejs module cannot find 错误
分类:
Web程序 时间:
2015-05-03 23:31:33
阅读次数:
292
2.1 npm是什么 npm(Node Package Manager)是Node.js的包管理器。它允许开发人员在Node.js应用程序中创建、共享并重用模块。2.3 安装模块 npm install [module_name]2.4 使用模块 var module = require{'m...
分类:
Web程序 时间:
2015-05-03 13:20:04
阅读次数:
155
原因:Android Studio升级了,gradle脚本还是用旧版本~ 解决方案一: 在build.gradle文件里添加:useOldManifestMerger true 解决方案二: 新建个module拷贝build.gradle替换旧版本...
分类:
移动开发 时间:
2015-05-03 12:08:22
阅读次数:
140
官网文档,看着有点云里雾里,个人写的文档又五花八门,好吧,我只能自己看遍各种文档,自己总结了。去粗取精的理解。一、概念,模块化的管理 1、以module ID代替URL地址2、相对于baseUrl的地址来加载所有代码3、在//官方(1)、data-main右侧的main文件可以不带有.js后缀,也可...
分类:
其他好文 时间:
2015-05-03 07:03:53
阅读次数:
177
下面我们再来看看urllib模块提供的 urlretrieve() 函数。urlretrieve() 方法直接将远程数据下载到本地。>>> help(urllib.urlretrieve)Help on function urlretrieve in module urllib:urlretriev...
分类:
Web程序 时间:
2015-05-02 16:30:54
阅读次数:
132
1.注释篇Any comment that forces you to look in another module for the meaning of that comment has failed to communicateto you and is not worth the bits i...
分类:
其他好文 时间:
2015-05-02 11:09:37
阅读次数:
145
如果你刚好需要在Rails项目中集成一款编辑器,那么我推荐你使用Simditor。轻量级且易用,花个几分钟看一下吧。 前端需要引用的一些库 //= require jquery //= require module //= require hotkeys //...
分类:
其他好文 时间:
2015-05-02 09:57:43
阅读次数:
278
在maven工程的pom.xml文件中加入如下代码:在里面加入如下代码: org.apache.maven.plugins maven-compiler-plugin 2.3.2 ...
分类:
编程语言 时间:
2015-04-30 23:09:50
阅读次数:
185
ndk{//set module name moduleName "myLib"//set lib stl "gnustl_static"//add -fexceptions to allow throw errorcFlags "-fexceptions" }
分类:
移动开发 时间:
2015-04-30 19:44:02
阅读次数:
136