During the Warring States Period of ancient China(476 BC to 221 BC), there were seven kingdoms in China ---- they were Qi, Chu, Yan, Han, Zhao, Wei and Qin. Ying Zheng was the king of the kingdom Qin. Through 9 years of wars, he finally conquered all six o...
分类:
编程语言 时间:
2015-02-23 09:42:05
阅读次数:
254
LAMPP安装完成之后,mysql -u root -p连不上,报这个错误:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'在mysql的配置文件里...
分类:
数据库 时间:
2015-02-13 16:05:35
阅读次数:
190
According to news reports, freighter cargo may not be offloaded at U.S. West Coast ports from February 13 through February 16. This may result in a de...
分类:
其他好文 时间:
2015-02-13 14:45:40
阅读次数:
125
ViewPager概述:Layout manager that allows the user to flip left and right through pages of data. You supply an implementation of a PagerAdapter to genera...
分类:
移动开发 时间:
2015-02-12 18:09:14
阅读次数:
287
sudo apt-get install mysql-client-core-5.5然后会出现:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (...
分类:
数据库 时间:
2015-02-12 09:14:58
阅读次数:
201
折腾了几天搞这个鬼东西,总结下经验mysql 编译安装问题:问题一. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/usr/local/mysql/mysql.sock' (2)1、先查看 /etc/...
分类:
其他好文 时间:
2015-02-10 16:43:15
阅读次数:
151
1、cat
不仅可以读取文件并拼接数据,他还能够从标准输入中进行读取。
用cat将输入文件的内容与标准输入拼接在一起:$ echo 'Text through stdin' | cat - file.txt
压缩空白行: 将文本中多个空白行压缩成单个: cat -s file。
移除空白行:cat file | tr -s '\n' 。 将连续多个'\n' 字符压缩成单个...
分类:
系统相关 时间:
2015-02-10 11:19:01
阅读次数:
224
有些情况下想为文字设置为下划线样式,这样可以在视觉上强调文字,可以使用下面代码来实现:p a{text-decoration:underline;}三年级时,我还是一个胆小如鼠的小女孩。删除线:text-decoration:line-through;
分类:
其他好文 时间:
2015-02-09 18:06:42
阅读次数:
115
AFSoundManageriOS audio playing (both local and streaming) and recording made easy through a complete and block-driven Objective-C class. AFSoundManag...
分类:
其他好文 时间:
2015-02-06 23:08:40
阅读次数:
294
【Go Concurrency】1、Agoroutineis a lightweight thread managed by the Go runtime. 2、Channels are a typed conduit through which you can send and receive ....
分类:
其他好文 时间:
2015-02-06 20:29:40
阅读次数:
177