个人认为这是一个挺不错的从C语言到Linux系统开发的教程,这本是两个网上的文档。其中 一本是《How To Think Like A Computer Scientist: Learning with C++》作者Allen B. Downey。原书由Green Tea Press发行,可以从ht...
分类:
系统相关 时间:
2015-06-04 20:49:22
阅读次数:
148
mysql> SHOW GLOBAL STATUS LIKE 'innodb%read%';+---------------------------------------+---------+| Variable_name | Value |+-...
分类:
数据库 时间:
2015-06-04 15:27:10
阅读次数:
193
ZigZag
Conversion
一、题目如下:
The string "PAYPALISHIRING" is
written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for b...
分类:
编程语言 时间:
2015-06-04 01:05:10
阅读次数:
207
-- 找出在(任何年份)2月受聘的所有员工
select * from emp where to_number(to_char(hiredate, 'mm'))= 2;
-- 对每个员工,显示其加入公司的天数
select ename, round(sysdate - hiredate) Days from emp;
-- 显示姓名中任意位置包含“A”的所有员工姓名
select * from emp where upper(ename) like '%A%';
-- 以年月日方式显示所有员工的服务年...
分类:
数据库 时间:
2015-06-04 01:04:31
阅读次数:
207
1.列出MYSQL支持的所有字符集:SHOW CHARACTER SET;2.当前MYSQL服务器字符集设置SHOW VARIABLES LIKE 'character_set_%';3.当前MYSQL服务器字符集校验设置SHOW VARIABLES LIKE 'collation_%';4.显示某...
分类:
数据库 时间:
2015-06-03 19:21:48
阅读次数:
163
【in】string sql = "exec('select * from bid where id in ('+@IDS+')')"; System.Data.SqlClient.SqlParameter[] sp = new System.Data.SqlClien...
分类:
数据库 时间:
2015-06-03 17:24:04
阅读次数:
168
SQLServer2008找出所有包含172.17.224.40的存储过程select distinct name from syscomments a,sysobjects b where a.id=b.id and b.xtype='v' and text like '%172.17.224.4...
分类:
数据库 时间:
2015-06-03 15:13:28
阅读次数:
165
微信内置浏览器的 User Agent如何判断微信内置浏览器,首先需要获取微信内置浏览器的User Agent,经过在 iPhone 上微信的浏览器的检测,它的 User Agent 是:Mozilla/5.0 (iPhone; CPU iPhone OS 6_1_3 like Mac OS X) ...
分类:
微信 时间:
2015-06-03 15:10:13
阅读次数:
277
Letter Combinations of a Phone Number
题目:
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telepho...
分类:
其他好文 时间:
2015-06-03 11:56:06
阅读次数:
91