//lamda //first lamda [] {}; // second lamda []() //or no need () when paramater is null { std::cout bool { return (bool)i; }(5); //5, lamda captu...
分类:
编程语言 时间:
2014-08-23 21:39:11
阅读次数:
195
1、举例,比方说我想取出横坐标0-900 纵坐标0-400的坐标范围: do_all_pos()-> do_all_pos([],0,0). do_all_pos(Result,Length,Height)when Length<900 andalso Height=<400-> NewResult=[{Length,Height}|Result...
分类:
其他好文 时间:
2014-08-23 02:31:50
阅读次数:
222
一、CASE的两种用法1.1等值判断->相当于switch case (1)具体用法模板: CASE expression WHEN value1 THEN returnvalue1 WHEN value2 THEN returnvalue2 WHEN valu...
分类:
数据库 时间:
2014-08-23 02:19:29
阅读次数:
368
(我自己使用的"笨办法", 就是 class point + 手动去除 (set/get这类抽象层次很低的函数 + onWin常见消息) + when hit 这样, 通过debug output, dynamic 输出了 call sequence. 但归根到底, 找到准确无误的 call sta...
分类:
其他好文 时间:
2014-08-22 21:08:19
阅读次数:
374
[转载]英文原文:The 10 Things You Should Do When You Have Your Next Web Idea 当你正和家人享受一个悠闲的午后,一个不错的想法突然出现在你的脑海里。不管它是一个 App 还是服务,或是一个新的概念。只要你把这个想法付诸实践,它就可能会...
分类:
其他好文 时间:
2014-08-22 19:25:09
阅读次数:
185
SELECT year(payment_date),sum(CASE month(payment_date) WHEN 01 THEN amount END) '一月份销售额',sum(CASE month(payment_date) WHEN 02 THEN amount END) '二月份销售额...
分类:
其他好文 时间:
2014-08-22 19:19:29
阅读次数:
242
select a.id,a.oacode,a.custid,a.custname,a.xsz,a.salename,a.communicationtheme,a.communicationproperty,a.communicationtime,a.productmanager,'' creator,a.creator oaCreator,a.createdate,case when a.oast...
分类:
数据库 时间:
2014-08-22 17:54:09
阅读次数:
202
Custom fonts can make all the difference in the world when you’re trying to convey a specific user experience. Luckily, it’s pretty easy to add your own fonts in your iOS app but there are some ...
分类:
移动开发 时间:
2014-08-22 16:33:29
阅读次数:
395
Docker Security
Adapted from Containers
& Docker: How Secure are They?
There are three major areas to consider when reviewing Docker security:
评估docker的安全性时,主要考虑3个方面
the intrinsic secu...
分类:
其他好文 时间:
2014-08-22 16:18:59
阅读次数:
324
QL2008中Merge的用法在SQL2008中,新增了一个关键字:Merge,这个和Oracle的Merge的用法差不多,只是新增了一个delete方法而已。下面就是具体的使用说明:首先是对merge的使用说明:merge [into] [目标表]using on 条件when matched 操...
分类:
数据库 时间:
2014-08-22 16:14:59
阅读次数:
222