function HTMLEncode(html) { var temp = document.createElement("div"); (temp.innerText != null) ? (temp.innerText = html) : (temp.textContent = html); ...
分类:
Web程序 时间:
2016-12-09 18:38:19
阅读次数:
230
目录 一、Less 1.1、概要 1.2、变量 1.3、解析Less 1.3.1、在线处理 1.3.2、预处理 1.4、混入(Mixins) 1.5、嵌套 1.6、运算 1.7、函数 1.8、继承 1.9、作用域 1.10、注释 二、Sass 2.1、变量 2.2、嵌套 2.3、导入 2.4、mix ...
分类:
Web程序 时间:
2016-12-09 16:06:27
阅读次数:
226
前面一篇我们接触了CMake,这一篇写写关于ndk-build的使用过程。刚刚用到,想到哪儿写哪儿。 环境背景 Android开发IDE版本:AndroidStudio 2.2以上版本(目前已经升级到2.2.3) 计算机环境:Window 64位系统 Demo工程的创建与设置 1.新建一个工程,并在... ...
分类:
移动开发 时间:
2016-12-09 11:42:26
阅读次数:
340
上面代码是写了一个user类 利用模型驱动返回result,然后输出在页面上 ...
分类:
其他好文 时间:
2016-12-08 23:19:00
阅读次数:
199
Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index. According ...
分类:
其他好文 时间:
2016-12-08 03:19:28
阅读次数:
147
首先在主目录下建立:Iyibank.Web.json文件 里边的内容如下: { "ConnectionStrings": { "RedisCache": "127.0.0.1:6379" }} 在其他需要调用RedisCache的地方调用如下: var builder = new Configura ...
分类:
Web程序 时间:
2016-12-08 03:11:41
阅读次数:
352
留下备用笔记 之前用的Frame+Page的切换content<类似于一个contentControl 干多个事情>,但是发现页面content内容控件多的时候,每一次切换都有点卡,点击了半天才反应过来(每次切换都要重新加载控件,具体怎么解决不知道..) 所以就产生了用tabcontrol的想法,t ...
分类:
其他好文 时间:
2016-12-08 02:23:46
阅读次数:
263