本文转载至http://my.oschina.net/AStar/blog/176531生成证书证书生成参考:https://parse.com/tutorials/ios-push-notifications会生成三个文件xxx.cerxxx.certSigningRequestxxx.p12用P...
分类:
移动开发 时间:
2014-12-19 14:15:15
阅读次数:
199
首先安装依赖库node-xlsxnpm installnode-xlsx在操作文件中直接引用var xlsx = require("node-xlsx");读取excelvar list =xlsx.parse("./excel/" + excelName);//读出后是数组,包含每个sheet[ ...
分类:
Web程序 时间:
2014-12-18 13:21:34
阅读次数:
166
1、for循环嵌套----最基础题目:求阶乘的和 int sum = 0; int n = int.Parse(Console.ReadLine()); for (int i = 0; i 1; n--) 9 {10 Cons...
1、int适合简单数据类型之间的转换,C#的默认整型是int32(不支持bool型);2、int.Parse(string sParameter)是个构造函数,参数类型只支持string类型;3、Convert.ToInt32()适合将Object类型转换为int型;4、Convert.ToInt3...
1、字符串转换Query String模块的基本介绍Query String模块用于实现URL参数字符串与参数对象之间的互相转换,提供了“stringify”、“parse”等一些实用函数来针对字符串进行处理,通过序列化和反序列化,来更好的应对实际开发中的条件需求,对于逻辑的处理也提供了很好的帮助,...
分类:
Web程序 时间:
2014-12-14 01:52:33
阅读次数:
173
1、parse函数的基础用法parse函数的作用是解析url,返回一个json格式的数组,请看如下示例:var url = require('url');url.parse('http://www.baidu.com');运行结果:{ protocol: 'http:', slashes: nul....
分类:
Web程序 时间:
2014-12-14 01:52:04
阅读次数:
179
1. 采用Intent调用外部播放器进行视频播放
Intent intent = new Intent(Intent.ACTION_VIEW);
String type = "video/mp4";
Uri uri = Uri.parse("/sdcard/123.mp4");
intent.setDataAndType(uri, type);
startActivity(intent);
...
分类:
移动开发 时间:
2014-12-13 23:25:18
阅读次数:
366
Console.WriteLine("请输入身高"); int hight = int.Parse(Console.ReadLine()); Console.WriteLine("请输入体重"); int we...
分类:
其他好文 时间:
2014-12-13 21:45:47
阅读次数:
230
Console.WriteLine("请输入a"); int a = int.Parse(Console.ReadLine()); Console.WriteLine("请输入b"); int b = int.Parse(Consol...
分类:
其他好文 时间:
2014-12-13 21:45:23
阅读次数:
223
int a = int.Parse(Console.ReadLine()); if(a>=1 && a<=100) { if((a%7==0)||(a%10==7)||(a/10==7)) ...
分类:
其他好文 时间:
2014-12-13 21:45:12
阅读次数:
243