位于/etc/vim/的vimrc" All system-wide defaults are set in $VIMRUNTIME/debian.vim and sourced by" the call to :runtime you can find below. If you wish to....
分类:
其他好文 时间:
2014-06-18 17:21:42
阅读次数:
271
Herex=document.getElementById("demo") //找到元素x.style.color="#ff0000"; //改变样式HTML 中的脚本必须位于 标签之间。脚本可被放置在 HTML 页面的 和 部分中。多行注释以 /* 开始,以 */ 结尾...
分类:
Web程序 时间:
2014-06-18 16:32:06
阅读次数:
192
Go语言开发 可以使用的IDE很多 (Goclipse,sublime,notepad++,vim等)目前使用的最顺手的就是LiteIDE了但是尽管这样,一开始使用LiteIDE也有很多不习惯的地方,下面主要总结了一些自己喜欢的用法首先下载LiteIDE并安装(可用免安装的) 下载地址https:/...
分类:
其他好文 时间:
2014-06-18 16:21:26
阅读次数:
483
1- 多行注释 ''' ''' 或 """ """'''this is the standard way to include a multiple-line comment in you code'''"""this is the standard way to include a multipl...
分类:
编程语言 时间:
2014-06-18 15:46:56
阅读次数:
264
vim在centos中的版本为7.0,导致很多插件都无法使用,所以想到升级一下。wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2tar jvzf vim-7.4.tar.bz2cd vim74#安装依赖yum install ncurses-de...
分类:
其他好文 时间:
2014-06-17 19:50:44
阅读次数:
251
Samba服务的配置配置匿名访问:[root@localhost~]#yum-yinstallsambasamba-client//安装samba所需的软件包[root@localhost~]#vim/etc/samba/smb.conf//修改配置文件[global]workgroup=WORKGROUP//工作组更改为workgroupsecurity=share//更改为share[tools]//自定义的共享文件Pa..
分类:
其他好文 时间:
2014-06-17 18:28:26
阅读次数:
242
DHCP实验步骤1、设置ip[root@localhost~]#vim/etc/sysconfig/network-scripts/ifcfg-eth0#IntelCorporation82545EMGigabitEthernetController(Copper)DEVICE=eth0BOOTPROTO=noneONBOOT=yesHWADDR=00:0c:29:5d:ed:a4IPADDR=192.168.10.253PREFIX=24[root@localhost~]#vim/etc/sy..
分类:
系统相关 时间:
2014-06-17 16:59:55
阅读次数:
352
NFS实验一:将/root共享给192.168.10.20,可写、同步,允许客户机以root权限访问服务端[root@localhostServer]#vim/etc/exports/root192.168.10.250(rw,sync,no_root_squash)[root@localhostServer]#vim/etc/exports[root@localhostServer]#serviceportmaprestart停止portmap:..
分类:
其他好文 时间:
2014-06-17 16:58:39
阅读次数:
258
vimgdb安装vim-7.3.tar.bz2http://www.vim.org/sources.phpvimgdb-for-vim7.3 (this patch)https://github.com/larrupingpig/vimgdb-for-vim7.3Untar all files, a...
分类:
数据库 时间:
2014-06-17 15:05:44
阅读次数:
351
当前系统的postfix的版本为 postfix-2.6.6-2.2.el6_1.x86_64获取新的postfix的包 postfix-2.11.0.tar.gz解压 cd postfix-2.11.0要是有.spec的文件可以打包成包,就很方便了 find -name '*.spec'vim I...
分类:
数据库 时间:
2014-06-17 13:57:51
阅读次数:
288