DIA,流程图绘制软件
install:
sudo apt-get install dia
关于输入中文:
sudo vim /usr/bin/dia
把dia-normal --integrated "$@"
注释掉,在前面加#
在下面添加:
dia-normal "$@"
E51:网络没连通,线路没接好
安装windows server 2000时,若autorun或setup都失败,有可能是被tencent qq阻止了,在任务管理器里把tencent关了就行了
感谢教我帮我的老总和黎先生
要用到Windows Server的ISO文件
管理服务器,添加角色和功能
选择服务器角色:AD域,DNS,.NET Framework
指定备用源路径
\…ISO…\sources\sxs
done.
SSH KEYS认证方式改动
关于git pull origin source
orgit push origin source
,若出错:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
SSH keys不用动
gedit octopress/.git/config
把url = git@github.com:qiuhaidong/qiuhaidong.github.com.git
改为url = https://github.com/qiuhaidong/qiuhaidong.github.com.git
参见此Blog,9楼
done.
pull
orpush
时或会报错,但不影响功能,多用几次就好了。
attention:有些commend不适合ubuntu,要区分
install mono,(mono-complete and monodevelop):
sudo apt-get install mono-complete monodevelop
edit:
vim helloworld.cs
build:
mcs helloworld.cd
run:
./helloworld.exe
done.
自动登录:
win+r:Control UserPasswords2
Administrator
自启动:
win+r:shell:startup
文件夹已打开,把软件的快捷方式添加进去即可
g++ --version
编译:
g++ -o hello hello.cpp
或:
g++ hello.cpp -o hello
或:
g++ hello.cpp
生成hello或a.out
运行:
./hello
或:
./a.out
linux下用gcc,系统自带有,用gcc --version
查看一下即可,若没有,安装编译环境:
sudo apt-get install build-essential
新建test.c文件:
sudo gedit /…/…/…/test.c
然后开始编程:
#include <stdio.h>
int main()
{
printf("hello,world!\n");
return 0;
}
保存后编译:
gcc -o test test.c
生产可执行文件test,运行:
./test
完成。
2016-06-17 14:47
vimtutor
查看《VIM教程》
光标移动:
h:左
j:下
k:上
l:右
i:左边输入
I:行首输入(In the front)
a:右边输入(after)
A:行尾输入(After)
o:下面输入一新行
O:上面输入一新行
s:删除字符再输入
S:删除行再输入
Esc
:
(shift加分号,英文输入法下)
v:可视模式
V:可视块模式
:w
:q
:wq
:q!