This blog post introduces the problem with
Globals, Side Effect when Forgetting var, Access the Global Object, Single var
Pattern and Hoisting: A prob...
分类:
编程语言 时间:
2014-05-20 01:30:31
阅读次数:
404
Normally, when the Directory Server conducts a
search, the server looks through the entire entry for a match, throughout the
entire directory. For lar...
分类:
其他好文 时间:
2014-05-20 01:23:35
阅读次数:
277
题目描述Halloween is coming! So xiaoY has to prepare M
candies to treat the neighbor kids.When this horrible night come, There are N
little children ask x...
分类:
其他好文 时间:
2014-05-19 22:40:32
阅读次数:
412
写了个简单的规则引擎,普通情况够用了:比如2家公司有各自的利率计算规则,如下:在C#方面,没有写在C#的业务逻辑代码中,而是移到了外部规则文件中,如(ACompanyRatePolicy.r):rule
"Level 1" when alreadyCostPrice >= 0 ...
分类:
其他好文 时间:
2014-05-19 22:32:33
阅读次数:
350
浅析C/C++中的switch/case陷阱 先看下面一段代码:
文件main.cpp#includeusing namespace std;int main(int argc, char *argv[]){ int a
=0; switch(a) { case ...
分类:
编程语言 时间:
2014-05-19 07:08:14
阅读次数:
429
oracle使用LEFT JOIN关联产生的问题在查询结果中使用CASE WHEN
无法判断查询方式一: 1 SELECT 2 CASE WHEN (SELECT CAST(SUM(CASE 3 WHEN
(ALLOCABLE_PRIME_CURRENCY_VALUE IS NULL AND ST....
分类:
数据库 时间:
2014-05-18 20:08:35
阅读次数:
1129
We use the pt-pmp (a variety for pmp
!http://poormansprofiler.org/! by Percona) tool a lot to analyze our online
MySQL problem.But when we execute the...
分类:
其他好文 时间:
2014-05-18 20:04:54
阅读次数:
425
Why J-Link?In case you wonder why GNU ARM
Eclipse decided to provide support to SEGGER J-Link, the short answer is:because
ofJ-Link EDUand of SWO.The ...
分类:
其他好文 时间:
2014-05-17 14:43:56
阅读次数:
907
案例1:查询表A数据,如果某个列(PARAM_VALUE)值太长,前台不好显示,就只取前20个字符;鼠标悬浮时再用层显示全部值;
sql写法:
select
m.PARAM_VALUE as PARAM_VALUE,
decode(sign(length(m.PARAM_VALUE)-20),1,CONCAT(SUBSTR(m.PARAM_VALUE,0,20),'...'),m.PARAM...
分类:
数据库 时间:
2014-05-15 23:53:08
阅读次数:
625
例如在用AlarmManager的时候 1 AlarmManager alarmMgr =
(AlarmManager) mContext 2 .getSystemService(Context.ALARM_SERVICE); 3 Intent
int...
分类:
移动开发 时间:
2014-05-15 17:40:14
阅读次数:
414