Apache增加Basic Auth

摘要: 在.htaccess文件中增加 AuthUserFile /var/www/htpasswd/test.htpasswd AuthName EnterPassword AuthType Basic require valid-user #htpasswd密码文件生成。Create a passwor 阅读全文
posted @ 2016-04-10 06:27 dream_bccb 阅读(419) 评论(0) 推荐(0)

Windows下wnmp相关配置

摘要: #wnmp mysqld -install net start mysql memcached -d uninstall memcached -d install net start memcached net stop memcached sc delete mysql #对install进行清除 阅读全文
posted @ 2016-04-10 06:19 dream_bccb 阅读(250) 评论(0) 推荐(0)

linux下安装svn server

摘要: 1. yum install subversion 2. mkdir -p /home/svn/svnfile 3. svnadmin create /home/svn/svnfile 4. 进入conf目录,配置passwd,配置authz 5. 修改svnserver.conf [general 阅读全文
posted @ 2016-04-10 05:48 dream_bccb 阅读(151) 评论(0) 推荐(0)

php5.6 一键编译

摘要: 1. 替换成aliyun的源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors. 阅读全文
posted @ 2016-04-10 05:27 dream_bccb 阅读(234) 评论(0) 推荐(0)

简单的jquery tab

摘要: 1 2 3 4 5 tab 6 7 8 35 36 37 38 45 46 47 tab148 tab249 tab350 51 52 153 254 355 ... 阅读全文
posted @ 2015-09-07 22:46 dream_bccb 阅读(201) 评论(0) 推荐(0)

C使用相关笔记

摘要: #将c文件编译成动态库 //hello.c int hello_add(int a, int b) { return a + b; } gcc -O -c -fPIC -o hello.o hello.c // -fPIC:是指生成的动态库与位置无关。 将hello.c编译成hello.o gcc 阅读全文
posted @ 2015-08-14 15:10 dream_bccb 阅读(198) 评论(0) 推荐(0)

Erlang使用相关笔记

摘要: #从源码编译安装Erlang1. wget http://www.erlang.org/download/otp_src_r16b.tar.gz -p /usr/local/src2. tar zxvf otp_src_r16b.tar.gz -c /usr/local/src3. cd otp_s... 阅读全文
posted @ 2015-06-16 23:24 dream_bccb 阅读(339) 评论(0) 推荐(0)

PHPExcel导出数据

摘要: require_once './class/Excel/PHPExcel.php';//将(1,1)转换成"A1"形式function getCoordinate($row, $col){ return PHPExcel_Cell::stringFromColumnIndex($col) . $ro... 阅读全文
posted @ 2015-06-16 15:32 dream_bccb 阅读(575) 评论(0) 推荐(0)

RabbitMQ使用相关笔记

摘要: #运行各示例脚本 [1]1. 下载各语言的示例代码 https://github.com/rabbitmq/rabbitmq-tutorials2. 安装pip,命令"yum -y install python-pip"。3. 安装pika(版本0.9.5),命令"pip install pika=... 阅读全文
posted @ 2015-06-15 10:47 dream_bccb 阅读(123) 评论(0) 推荐(0)

css笔记

摘要: #"bootstrap iframe height 100%" The iframe, and any of it's containers must be 100% height.. body,html,.main-display-area,.col-md-7 { height:100%; } h 阅读全文
posted @ 2014-12-06 20:44 dream_bccb 阅读(114) 评论(0) 推荐(0)