To exit Vim type :q! trash all changes :wq save the changesTo delete from the cursor up to the next word type: dwTo delete from the cursor to the ...
分类:
系统相关 时间:
2015-01-26 22:20:20
阅读次数:
182
一、设置——>首选项 添加pas二、运行,在输入框中填入命令:cmd /k cd /d "$(CURRENT_DIRECTORY)" &fpc -g $(FILE_NAME) &pause &exit 设置快捷键F9 ,名字 Compile。三、运行,在输入框中填入命令:cmd /k cd /d ....
分类:
其他好文 时间:
2015-01-26 22:18:27
阅读次数:
424
centos6.4中文输入法安装和切换(转载)1、用root登录,或者切换到root账户(su root);2、yum install "@Chinese Support";3、exit;4、System→preferences→input method;(如果没有,注销用户重新登录系统重试)5、在...
分类:
其他好文 时间:
2015-01-26 19:12:52
阅读次数:
121
最近学习做android的游戏开发时候,发现一个关于android退出时不能彻底关闭的问题,比如:一个程序里new 出了N多个Thread,这样在退出程序的可能不能完全关闭,最后发现,只用finish()方法,有时候不能彻底退出,个人感觉还是要在适当的地方加上:System.exit(0);-===...
分类:
移动开发 时间:
2015-01-26 18:39:39
阅读次数:
186
Python中执行系统命令常见方法有两种:两者均需 import os(1) os.system# 仅仅在一个子终端运行系统命令,而不能获取命令执行后的返回信息system(command) -> exit_statusExecute the command (a string) in a subs...
分类:
编程语言 时间:
2015-01-26 01:16:13
阅读次数:
285
1. 在git server端如何创建一个工程
(1) su git
(2) mkdir linux-git.git
(3) cd linux-git.git
(4) git init --bare
(5) exit
2. 在clinet端如何clone、提交代码
(1) git clone git@192.168.0.106:/home/prj_git/linux-git....
分类:
其他好文 时间:
2015-01-26 00:08:42
阅读次数:
216
[root@kaibin~]#ipython
In[1]:importplatform
In[2]:printplatform.uname()
(‘Linux‘,‘kaibin.test1‘,‘2.6.32-431.el6.x86_64‘,‘#1SMPFriNov2203:15:09UTC2013‘,‘x86_64‘,‘x86_64‘)
In[3]:dir(platform)#查看platform支持的功能:dir(platform)
In[4]:exit()简单方法:1.编译安..
分类:
编程语言 时间:
2015-01-25 22:42:35
阅读次数:
291
(1) os.system仅仅在一个子终端运行系统命令,而不能获取命令执行后的返回信息代码如下:system(command) -> exit_statusExecute the command (a string) in a subshell.如果在命令行下执行,结果直接打印出来代码如下:>>> ...
分类:
编程语言 时间:
2015-01-25 22:21:57
阅读次数:
281
在windows下,可能会出现995的错误,msdn对该错误的解释为:The I/O operation has been aborted because of either a thread exit or an application request995这个错误是指由于套接字的关闭,造成一次重...
分类:
其他好文 时间:
2015-01-25 21:01:02
阅读次数:
405
还是觉得代码放这靠谱,会定期的看看和优化代码#include #include int main(){ int n; int count=0; scanf("%d",&n); if(n1000)exit(0); else { while(n!=1) ...
分类:
其他好文 时间:
2015-01-25 11:08:15
阅读次数:
134