个人的Emacs配置,环境是archlinux,参考了不少网上资料,因为太多,就不一一列举了,在这里感谢那些作者的辛苦经验劳动。(custom-set-variables
;; custom-set-variables was added by Custom. ;; If you edit it b...
分类:
其他好文 时间:
2014-06-02 19:22:56
阅读次数:
379
By reducing your bookmarks to show only the
icons, you can access more of them from the Bookmarks bar. This works great for
sites with recognizable fa...
分类:
其他好文 时间:
2014-06-02 17:39:03
阅读次数:
276
Scope defines where in a program a variable is accessible. Ruby has four types of variable scope, local, global, instance and class....
分类:
其他好文 时间:
2014-06-02 10:37:39
阅读次数:
241
stopGoogleRedirection:http://userscripts.org:8080/scripts/show/186798//
==UserScript==// @name stopGoogleRedirection// @author NLF//...
分类:
其他好文 时间:
2014-06-02 10:21:23
阅读次数:
281
在整理Java LockSupport.park()的东东,看到了个"Spurious wakeup",重新梳理下。
首先来个《UNIX环境高级编程》里的例子:
#include
struct msg {
struct msg *m_next;
/* ... more stuff here ... */
};
struct msg *workq;
pthread_cond_t qread...
分类:
其他好文 时间:
2014-06-02 04:45:19
阅读次数:
267
案例:rename一个数据文件后做不完全恢复
SQL>startup mount; //启动到mount状态
SQL> show parameter control_files //查看控制文件的位置信息
NAME TYPE VALUE
-----------------------------...
分类:
数据库 时间:
2014-06-01 15:01:23
阅读次数:
321
document list & show close button on each tab in menu settings-preferences...
分类:
其他好文 时间:
2014-06-01 14:49:57
阅读次数:
163
查询数据表的全部内容
mysql> show tables;#查看当前数据库下的所有表
+--------------------+
| Tables_in_ceshi_ku |
+--------------------+
| biao |
| ceshi_biao |
+--------------------+
2 rows in set (0....
分类:
数据库 时间:
2014-06-01 13:02:35
阅读次数:
308
事务就是一个逻辑工作单元的一系列步骤。事务是用来保证数据操作的安全性
事务的特征:
Atomicity(原子性)
Consistency(稳定性,一致性)
Isolation(隔离性)
Durability(可靠性)
【事务只针对对数据数据产生影响的语句有效】
show engines //查看mysql锁支持的数据引擎
MyISAM不支持事物,InnoDB支持事物
默认...
分类:
数据库 时间:
2014-06-01 09:39:13
阅读次数:
320
今天学习到表的增操作,写个博客总结一下,PS:下面所有的注释都是我在电脑上全部操作完成后,再复制到记事本上添加的。至于在执行的时候可不可以那样添加注释,就有待考证了。
选择库
mysql> show databases;#查看目前有哪些数据库存在
+--------------------+
| Database |
+--------------------+
| inf...
分类:
数据库 时间:
2014-06-01 05:34:00
阅读次数:
453