-
一个通用的Makefile模板
摘要:使用前需要在当前目录下建立一个obj文件夹,用来存放中间文件。*.d文件中包含了对应*.c的依赖文件,*.o文件为对应*.c文件的目标文件。 详细的Makfile资料可以看看GNU make中文手册和跟我一起写Makefile Makefile通用模板CC=gcc CFLAGS=-Wall OBJPATH=obj # .d文件和.o文件保存路径 TARGET=...
阅读全文
-
smb.conf配置文件(Centos)
摘要:红色部分为关键的修改,安装以下配置,可以创建一个无需用户名和口令的SAMBA共享目录。此目录所有者属性应设置为nobody用户和其对应的组。 # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options ...
阅读全文
-
bashrc
摘要:export LS_OPTIONS='--color=auto' alias ls='ls $LS_OPTIONS' alias ll='ls $LS_OPTIONS -l' alias la='ls $LS_OPTIONS -lA' alias lt='ls $LS_OPTIONS -lt' alias grep='grep $LS_OPTIONS' alias vi='vim'
阅读全文
-
Vim配置
摘要:"============================================================================= " Description: MY vimrc with dozens of scripts, for Linux/Windows, GUI/Console " Originally from MetaCosm's ...
阅读全文
|