Chinaunix首页 | 论坛 | 博客
  • 博客访问: 55140
  • 博文数量: 12
  • 博客积分: 207
  • 博客等级: 入伍新兵
  • 技术积分: 115
  • 用 户 组: 普通用户
  • 注册时间: 2012-10-25 11:00
文章分类
文章存档

2013年(4)

2012年(8)

发布时间:2013-01-07 10:25:21

http://blog.chinaunix.net/u2/75045/showart_2052986.htmlindent是linux下一个能力极强的代码整理软件,使用他,可以轻松的写出代码风格十分精良的代码。但是indent的参数太多,使用起来不是很容易,怎么办呢?查看 /usr/src/linux-headers-<版本>/scripts/Lindent文件,可以看到一行代码:indent -npro -kr -i8 -ts8 -sob -l280 -ss -ncs -cp1 *.c *.h这一行就是linux内核使用inde......【阅读全文】

阅读(1179) | 评论(0) | 转发(0)

发布时间:2013-01-07 10:25:06

http://blog.csdn.net/xbl1986/article/details/3458740#include<gtk/gtk.h>/*全局变量声明区-----------------------------------------------------------------*/    GtkWidget *window/*定义主窗口*/,          *Send_scrolled_win/*定义发送滚动窗口*/,     ......【阅读全文】

阅读(1999) | 评论(0) | 转发(0)

发布时间:2013-01-07 10:24:27

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) 1、先查看 /etc/rc.d/init.d/mysqld status 看看m y s q l 是否已经启动. 另外看看是不是权限问题. 2、确定你的mysql.sock是不是在那个位置, mysql -u 你的mysql用户名 -p -S /var/lib/mysql/mysql.sock 3、试试:service mysqld start 4、如果是权限问题......【阅读全文】

阅读(1175) | 评论(0) | 转发(0)

发布时间:2013-01-07 10:24:09

一、mysql登录错误 mysqladmin: connect to server at 'localhost' failed       error: 'Access denied for user 'root'@'localhost' (using password: YES)' 解决办法:破解mysql密码 #> service mysqld stop       #>mysqld_safe --skip-grant-tables &......【阅读全文】

阅读(873) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册