一个表中如果有 则更新 status字段 和 filename 字段,没有则 新增 INSERT INTO ec_file (updatetime, createtime, filesize, bucketname, filename, filetype , filepath ) VALUES (' ...
分类:
其他好文 时间:
2016-12-12 01:35:49
阅读次数:
148
出现场景:当点击“分类”再返回“首页”时,发生error退出 BUG描述:Caused by: java.lang.IllegalArgumentException: Binary XML file line #23: Duplicate id 0x7f0d0054, tag null, or pa ...
分类:
其他好文 时间:
2016-12-11 15:35:01
阅读次数:
249
在使用ansible做自动化运维的时候,免不了的要重复执行某些操作,如:添加几个用户,创建几个MySQL用户并为之赋予权限,操作某个目录下所有文件等等。好在playbook支持循环语句,可以使得某些需求很容易而且很规范的实现。 1、with_items with_items是playbooks中最基 ...
分类:
其他好文 时间:
2016-12-11 13:06:20
阅读次数:
177
In some case, we found that when we execute the sql commands like truncate table, drop table, delete all records in table, join 2 tables, it will take ...
分类:
其他好文 时间:
2016-12-10 06:43:25
阅读次数:
174
MongoDB stores BSON documents, i.e. data records, in collections; the collections in databases. Databases In MongoDB, databases hold collections of do ...
分类:
数据库 时间:
2016-12-08 18:37:58
阅读次数:
234
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of ... ...
分类:
其他好文 时间:
2016-12-07 16:28:49
阅读次数:
206
转载:http://www.jianshu.com/p/c439605a4364 概述 现如今开发越来越追求效率和节奏,节省出时间做更多的事情,除了开发技术上的封装等,开发工具的使用技巧也是很重要的,今天就根据自己的经验来给大家介绍一下Android Studio快速开发之道。 Postfix co ...
分类:
移动开发 时间:
2016-12-07 02:10:07
阅读次数:
624
Remove Duplicates from Sorted List II Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the ...
分类:
其他好文 时间:
2016-12-07 02:07:29
阅读次数:
165
Given an array of integers, find out whether there are two distinct indices i and j in the array such that the difference between nums[i] and nums[j] ...
分类:
其他好文 时间:
2016-12-05 07:51:59
阅读次数:
220
Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure your ...
分类:
其他好文 时间:
2016-12-05 07:46:31
阅读次数:
192