在 CentOS 中的修改方法如下: 1. root登陆,免得老是sudo 2. 打开/etc/inittab 文件 #vim /etc/inittab 3. 在默认的 run level 设置中,可以看到第一行书写如: id:5:initdefault:(默认的 run level 等级为 5:即...
分类:
其他好文 时间:
2014-07-20 08:35:50
阅读次数:
247
Mysql 查询执行过程 大致分为4个阶段吧:
语法分析(sql_parse.cc)
>>sql_resolver.cc # JOIN.prepare
生成逻辑查询plan(sql_optimizer.cc)
>># JOIN.optimize
生成物理查询plan(sql_planner.cc)
run the explain plan(sql_executor.cc...
分类:
数据库 时间:
2014-07-19 23:18:37
阅读次数:
335
菜单: System->Preferences->Keyboard Shortcuts在Desktop分类下找到“Run a terminal”点击Run a terminal,按下需要的快捷键,比如Ctrl+Alt+T,即可。补充终端窗口下的快捷:复制:Shift+Ctrl+C粘贴:Shift+C...
分类:
其他好文 时间:
2014-07-19 22:33:24
阅读次数:
224
Description
Instant Complexity
Analyzing the run-time complexity of algorithms is an important tool for designing efficient programs that solve a problem. An algorithm that r...
分类:
其他好文 时间:
2014-07-19 18:26:15
阅读次数:
268
questionI'm playing with a standalone ruby application and can't configure Mongoid 3.0.13 to work.I've run across a couple example apps that have conf...
分类:
其他好文 时间:
2014-07-19 15:29:05
阅读次数:
260
WScript.Shell是WshShell对象的ProgID,创建WshShell对象可以运行程序、操作注册表、创建快捷方式、访问系统文件夹、管理环境变量。该对象有一个run方法。Run 方法创建一个新的进程,该进程以 intWindowStyle 窗口样式执行 strCommand。语法WshS...
分类:
其他好文 时间:
2014-07-19 12:09:29
阅读次数:
1181
在java中可有两种方式实现多线程,一种是继承Thread类,一种是实现Runnable接口;Thread类是在java.lang包中定义的。一个类只要继承了Thread类同时覆写了本类中的run()方法就可以实现多线程操作了,但是一个类只能继承一个父类,这是此方法的局限。AD:WOT2014:用户...
分类:
编程语言 时间:
2014-07-19 11:29:47
阅读次数:
288
前言:实战是最好的学习。本集中营共分 x+mc2 期(x 为已发行的期数,m 为我的空闲时间,c 为我的更新动力),旨在通过对脚本代码的阅读而提高 AHK 语言的熟练程度。脚本的难度与期数成正比,有兴趣的朋友可以以追剧的方式追下去 :)修饰键符号与"Run" 热键就是我们常说的快捷键,按下热键能触....
分类:
其他好文 时间:
2014-07-19 09:36:49
阅读次数:
239
线程
通过调用Thread类的 start()方法来启动一个线程,这时此线程处于就绪(可运行)状态,但此时并没有运行,它需要CPU时间片。一旦得到CPU时间片,就会执行run()方法。run()的方法体称为线程体,它包含了要执行的这个线程的内容,run()方法运行结束,此线程也随即终止。
线程状态转换
一、新建(new):新创建了一个线程对象。
二、可运行(runnable):线程...
分类:
其他好文 时间:
2014-07-18 18:03:26
阅读次数:
180
Fri Jul 18 09:44:12 2014 [InM][I]: Command execution fail: 'if [ -x "/home/oneadmin/tmp/one/im/run_probes" ]; then /home/oneadmin/tmp/one/im/run_probe...
分类:
其他好文 时间:
2014-07-18 11:36:16
阅读次数:
666