##underscore模板插件定制 加入特性: 1、嵌套模板 2、支持渲染过滤器模式{{A | filterA:arg1..}} 3、缓存(考虑加入localstorage?) 4、调试 todo 性能优化 异步渲染 ---- ###代码如下 (function (_) { _.temp...
分类:
Web程序 时间:
2015-03-04 19:35:26
阅读次数:
210
SQL Server分割字符串 ? 下面是创建了以“,”分割字符串的函数:
?create???function???f_splitstr(@SourceSql???varchar(8000),@StrSeprate???varchar(100))???
??returns???@temp???...
分类:
数据库 时间:
2015-03-04 17:11:32
阅读次数:
147
2.设计模型层从上一篇中获得的天气预报情况类似这样: { "temp_low": "7", //最低温度 "cityno": "chengdu", "wind": "北风", //风向 ...
分类:
其他好文 时间:
2015-03-04 08:31:26
阅读次数:
209
方法一:直接开个100010的数组水过。方法二:编程之美上O(1)的额外空间开销void reserve(int nums[],int n,int k){ int temp; for(int i = k ; i < (n+k)/2 ; i++) { temp = nums[...
分类:
其他好文 时间:
2015-03-03 21:52:41
阅读次数:
125
ORA-14450 attempt to access a transactional temp table already in useCause: An attempt was made to access a transactional temporary table that has bee...
分类:
其他好文 时间:
2015-03-03 11:18:53
阅读次数:
171
1、原生JavaScript实现字符串长度截取01function cutstr(str, len) {02var temp;03var icount = 0;04var patrn = /[^\x00-\xff]/;05var strre = "";06for (var i = 0; i /g, ...
分类:
编程语言 时间:
2015-03-03 09:49:25
阅读次数:
209
private static void nineNineMulitTable(){ /** * 9*9乘法表 */ for (int i = 1,j = 1; j array[j+1]){ temp = array[j]; array[j] =array[j+...
分类:
编程语言 时间:
2015-03-02 18:44:55
阅读次数:
170
char DNS_Return[] = "cp-kzk.zpz34.4ymga.sdfds.info."; char temp[100]= {0}; int z=0,y=0; memcpy(temp,DNS_Return,strlen(DNS_Return)); for ( z=strlen(tem...
分类:
其他好文 时间:
2015-03-02 18:38:18
阅读次数:
115
2.随机数的获取;//获取三十个随机数://arc4random();//获取随机数;// int i = 0;// while (i temp ? max : temp;// i++;// }// printf("其中最大的数是:%d\n", max);//// int i = 0;// pri....
分类:
移动开发 时间:
2015-03-02 16:32:35
阅读次数:
400
1、设置权限:C:\Windows\temp IIS用户完全权限2、集成身份验证