在网上搜索了很多方法,终于找到一种有用的,分享下新建一个txt,里面存放代码Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ChromeHTML\shell\open\command]@="\"C:\\...
Type the following command to install ntp:# yum install -y ntpTurn on service:#chkconfig ntpd onSynchronize the system clock with 0.pool.ntp.org serve...
分类:
其他好文 时间:
2014-06-28 14:45:54
阅读次数:
185
Install apache2To execute the install command in terminal:sudo apt-get install apache2Then, we can find that the apache2 has been installed in "/etc/"...
分类:
Web程序 时间:
2014-06-24 09:39:53
阅读次数:
363
Linux的登陆方式Linux默认的登陆方式主要分为两种:1.文本界面的登陆环境,也称为命令行界面(Command Line Interface,CLI)或终端界面(Terminal或Console)。2.图形用户界面(Graphical User Interface,GUI)的登陆环境,X Win...
在Linux上使用vi命令修改一个文件内容的时候,发现无法保存,每次写完使用“:q!”命令可以正常退出但是使用":wq!"命令保存文件并退出时出现一下信息提示:E212: Can't open file for writing Press ENTER or type command to conti...
分类:
系统相关 时间:
2014-06-23 06:06:13
阅读次数:
303
功能:
实现多线程:2个线程同时工作,一个用时间计数器,一个用来打印信息
STEP1
XCODE -》New Application -》Cocoa中的Command Line
自动增加:
#include
STEP2
//
// main.c
// test_runloop1
//
// Created by DMD on 20/6/14.
// Copyri...
分类:
编程语言 时间:
2014-06-22 17:39:26
阅读次数:
283
因为从10.5版本开始适用Mac OS,SVN一直都是默认安装的软件。后来发现一个简单的办法。如果你有安装XCode,只需要在code > Preferences > download > Command Line Tools > Install即可,速度很快,基本1分钟搞定。 这个Command ...
分类:
其他好文 时间:
2014-06-21 12:45:48
阅读次数:
215
#!/usr/bin/python## get subprocess module import subprocess## call date command ##p = subprocess.Popen("date", stdout=subprocess.PIPE, shell=True)## T...
分类:
编程语言 时间:
2014-06-20 21:40:04
阅读次数:
324
1.JAVA虚拟机性能优化,修改bin下的 catalina.sh/batrem ----- Execute The Requested Command ----------------------------set JAVA_OPTS= -Xms1024M -Xmx1024M -XX:PermSi...
分类:
其他好文 时间:
2014-06-20 17:16:37
阅读次数:
152