gulp在前端自动化构建中非常好用,有非常丰富的可以直接拿来使用的plugin,完成我们日常构建工作。 但是万事没有十全十美能够完全满足自己的需求,这时我们就要自己动手写一个小的函数,用于在gulp stream pipeline中执行我们想要的动作,比如我有一个需求在build后将gulp-inj ...
分类:
其他好文 时间:
2017-01-23 17:33:26
阅读次数:
179
关键词:相机位姿估计,单目尺寸测量,环境探知 用途:基于相机的环境测量,SLAM,单目尺寸测量 文章类型:原理说明、Demo展示 @Author:VShawn @Date:2016-11-28 @Lab: CvLab202@CSU 目录 《相机位姿估计0:基本原理之如何解PNP问题》 《相机位姿估计 ...
分类:
其他好文 时间:
2017-01-22 23:45:35
阅读次数:
2708
Just like in the command line, you can pipe a property through a filter to get a desired result. You can even chain them together! ...
分类:
Web程序 时间:
2017-01-20 20:29:28
阅读次数:
491
网址:http://codevs.cn/problem/2776/ 题目大意: n个社团,m个人,每个社团可以有一个人担任代表,每个人可以担任多个代表,问最多有多少人是代表。 思路:可以建一个图,然后最大流(废话)。怎么建图? 先膜下神犇 orz QZZ。 样例的图大概是这样的: 图丑就不要在意啦。 ...
分类:
其他好文 时间:
2017-01-15 09:51:21
阅读次数:
203
The fences that surround Farmer Brown's collection of pastures have gotten out of control. They are made up of straight segments from 1 through 200 fe ...
分类:
其他好文 时间:
2017-01-14 21:57:02
阅读次数:
191
一、前言 前篇博文已经分析了FileTxnLog的源码,现在接着分析持久化中的FileSnap,其主要提供了快照相应的接口。 二、SnapShot源码分析 SnapShot是FileTxnLog的父类,接口类型,其方法如下 说明:可以看到SnapShot只定义了四个方法,反序列化、序列化、查找最新的 ...
分类:
其他好文 时间:
2017-01-14 12:17:27
阅读次数:
212
原文链接sizeToFit()和sizeThatFits(_:)sizeToFit()会调用sizeThatFits(_:)方法,将现在的frame作为参数。然后根据函数返回的结果更新view。sizeToFit will simply call through to sizeThatFits: p... ...
分类:
其他好文 时间:
2017-01-14 09:29:48
阅读次数:
355
wIO瓶颈 http://www.agildata.com/database-sharding/ What Drives the Need for Database Sharding? Database Sharding is a highly scalable approach for impro ...
分类:
数据库 时间:
2017-01-12 17:18:46
阅读次数:
243
1. Cybrary Cybrary takes the open source concept and applies it to IT training. Many of the courses available through the site are related to security ...
分类:
其他好文 时间:
2017-01-12 11:27:59
阅读次数:
288
Run Dr.memory on visual c++ 2013 详细检查项目 Dr. Memory's behavior can be controlled through options passed to drmemory prior to the "--" delimiter. Boolea ...
分类:
其他好文 时间:
2017-01-11 12:51:09
阅读次数:
219