Given a linked list, swap every two adjacent
nodes and return its head. For example, Given 1->2->3->4, you should
return the list as 2->1->4->3. Your ...
分类:
其他好文 时间:
2014-06-29 14:39:10
阅读次数:
268
1.下载google浏览器2.运行 ->chrome.exe
--user-agent="Mozilla/5.0 (Linux; U; Android 2.2; en-us; Nexus One Build/FRF91)
AppleWebKit/533.1 (KHTML, like Gecko) V...
分类:
移动开发 时间:
2014-06-29 13:54:03
阅读次数:
358
1.正则使用 比 LIKE 会牺牲很多的系统资源 尽量不要用 正则的语法和JS PHP 差不多
select * from t1 where email REGEXP "@163[,.]com$"; select * from t1 where email
like "%@163.com" o...
分类:
数据库 时间:
2014-06-07 06:05:12
阅读次数:
280
The following MySQL error might occur if you are
using MySQL replication and binary logs.mysql> show binary logs;ERROR 1381
(HY000): You are not using...
分类:
其他好文 时间:
2014-05-29 01:42:38
阅读次数:
518
此页面为WP8“I LOVE YOU”应用的发布页面。”I LOVE
YOU“是一款可以记录情侣间日常甜蜜时刻的WP8应用,可保存文字、图片、音频、视频等文件。此页面主要记录开发进度、APP发布等情况。-------------------相关进度---------------------目前进度:...
分类:
其他好文 时间:
2014-05-29 01:12:55
阅读次数:
247
if we want to filter with sed pattern and just
print the filtered lines without any further editing , we can do it like thisls
-a1 ~ | sed -ne "/^\./p...
分类:
其他好文 时间:
2014-05-28 22:58:56
阅读次数:
294
题目: Say you have an array for which the ith element
is the price of a given stock on day i. Design an algorithm to find the maximum
profit. You may co...
分类:
其他好文 时间:
2014-05-28 22:37:18
阅读次数:
327
A dispatchsemaphore(信号量) is useful if you need
a concurrency control for a small portion(部分) of the source code that has
smaller granularity(颗粒度) than...
分类:
其他好文 时间:
2014-05-28 21:51:45
阅读次数:
395
LIKE 操作符用于在 WHERE 子句中搜索列中的指定模式。LIKE 是另一个在 WHERE
子句中会用到的指令。基本上,LIKE 能让我们依据一个套式 (pattern) 来找出我们要的资料。相对来说,在运用 IN
的时候,我们完全地知道我们需要的条件;在运用 BETWEEN 的时候,我们则是列...
分类:
数据库 时间:
2014-05-28 20:01:37
阅读次数:
388
转自Joywii的博客,原文:Four Tips for Debugging in XCode
Like a Bro1.Enable NSZombie Objects(开启僵尸对象)Enable NSZombie
Objects可能是整个Xcode开发环境中最有用的调试技巧。这个技巧非常非常容易追踪...
分类:
其他好文 时间:
2014-05-28 12:03:30
阅读次数:
233