码迷,mamicode.com
首页 > 2016年08月07日 > 全部分享
Vue.js双向数据绑定模板渲染
准备知识 1. 前端开发基础 html、css、js2. 前端模块化基础3. 对ES6有初步的了解 vuejs官网:cn.vuejs.org HTML: Js: 实例2: html: js: ...
分类:Web程序   时间:2016-08-07 10:55:01    阅读次数:315
系列博文-LowPoly风格的图像生成器
https://github.com/Ovilia/Polyvia http://www.zhihu.com/question/29856775/answer/57668656 http://zhangwenli.com/blog/2015/06/25/polyvia/ https://read.d ...
分类:其他好文   时间:2016-08-07 10:55:44    阅读次数:136
主席树的另一种写法
代码 int hd[maxn]; struct Tree{ int lson,rson,cnt; }; struct CMTree { int id; Tree tree[maxn*40]; void init(){ id=0; } void pushup(int rt){ e.cnt=tree[e ...
分类:其他好文   时间:2016-08-07 10:54:22    阅读次数:194
invalid receiver type
Because in a case like this: type I int type P *I func (i I) Get() int { return int(i) } func (p P) Get() int { return int(*p) } var v I var x = (&v). ...
分类:其他好文   时间:2016-08-07 10:54:01    阅读次数:259
C++学习1
1.流的提取运算符>>:读操作,称为(从流中)提取 流的插入运算符<<:写操作,称为(向流中)插入 For(int val = 1;val <= 10; ++val) {循环体} 执行流程: 再探编译 编译常出的错误: (1):对来自标准库的名字忘记使用std:: (2):标识符名字拼写错误 类型所 ...
分类:编程语言   时间:2016-08-07 10:56:19    阅读次数:152
/proc/{pid} 内容解析
/proc/{pid} contains information about one process, this blog lists the detailed content. ...
分类:其他好文   时间:2016-08-07 10:55:25    阅读次数:418
例题6-3 Matrix Chain Multiplication ,Uva 442
这个题思路没有任何问题,但还是做了近三个小时,其中2个多小时调试 得到的经验有以下几点: 像这道题主要坑在了第三点上,以后要注意避免 以下是AC代码 ...
分类:其他好文   时间:2016-08-07 10:53:40    阅读次数:179
常用代码块:使用时间生成数据库文件名
Date d = new Date(); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd-hh-mm-ss"); String fileName= "jdbc:h2:~/"+sdf.format(d); cp = JdbcConnect ...
分类:数据库   时间:2016-08-07 10:55:29    阅读次数:175
HDU 5805 NanoApe Loves Sequence
NanoApe Loves Sequence Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/131072 K (Java/Others)Total Submission(s): 421 Accepted Submission( ...
分类:其他好文   时间:2016-08-07 10:53:42    阅读次数:221
iOS 屏幕适配 (转)
1、微信的多屏适配 目前为止,iPhone屏幕尺寸已经有四种: 3.5(inch):1/3G/3GS/4/4S 4.0(inch):5/5S/5C 4.7(inch):6 5.5(inch):6Plus 看一下iPhone4~6(+)的屏幕高宽比: iPhone4(s):分辨率960*640,高宽比 ...
分类:移动开发   时间:2016-08-07 10:52:42    阅读次数:526
Chapter 1 First Sight——11
I didn't relate well to people my age. 我没有向人们叙述清楚我的年龄 Maybe the truth was that I didn't relate well to people, period. 可能事实是我没有让人们了解我的周期 Even my mothe ...
分类:其他好文   时间:2016-08-07 10:54:40    阅读次数:156
Evaluation of Expression Tree
Evaluation of Expression Tree <!-- .entry-header --> Given a simple expression tree, consisting of basic binary operators i.e., + , – ,* and / and som ...
分类:其他好文   时间:2016-08-07 10:54:54    阅读次数:159
EarlGrey iOS自动化UI测试(集成篇)
目前针对iOS开发,很少会有UI方面的自动化测试. 目前Xcode提供了UI Automation,UI Testing Bundle,两者的优势都是可以通过录制真实的模拟器或者真机操作自动生成测试代码.而且不需要额外环境,只是需要xcode即可.但是缺点也很明显,就是自动生成的code可执行性,和 ...
分类:移动开发   时间:2016-08-07 10:54:04    阅读次数:299
httpd 配置用户访问认证
需求:单用户访问网站的某个目录,需要使用帐号密码来登录才能访问。 一、编辑虚拟主机的配置文件,添加目录级访问限制 二、用户认证配置文件1.创建apache的验证用户 回车后提示输入该用户的密码,输入两遍完成设置,第一次创建用户要用到 -c 参数,以后添加用户,就不用 -c 参数。 2.如果想修改某个 ...
分类:Web程序   时间:2016-08-07 10:54:07    阅读次数:363
给栅格数据添加RasterFunction--自定义渲染方法
...
分类:其他好文   时间:2016-08-07 10:53:39    阅读次数:248
RuntimeException
两类:checked exceptions 和 unchecked exception 。 一个是编译期间(compile-time),必须处理,不然编译不通过。 一个是运行期间(run-time) 常见的运行时异常: ClassCastException IndexOutOfBoundsExcep ...
分类:其他好文   时间:2016-08-07 10:51:35    阅读次数:154
读书笔记--模板与泛型编程
了解隐式接口和编译期多态 编译期多态和运行期多态 运行期多态就好比是virtual函数再运行的时候才确定该virtual函数该被绑定为哪个函数,运行的时候才确定函数类型。 编译期多态就好比是泛型编程和模板编程中,在编译的时候才确定哪个函数该被调用,根据函数的类型去确定。 显示接口和隐式接口 显示接口 ...
分类:其他好文   时间:2016-08-07 10:51:36    阅读次数:169
1384条   上一页 1 ... 63 64 65 66 67 68 69 ... 82 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!