- 博客(19)
- 收藏
- 关注
转载 apache 301重定向
因为博客是使用了www.php100.com作为博客域名,所以想实现php100.com全部重定向(跳转)到www.php100.com。同时按照google的建议,使用服务器端 301 重定向,为了确保用户及搜索引擎定向至正确网页的最佳方法。301 状态代码表示某网页已被永久迁移至新位置。下面将了解一下apache下实现301永久性重定向2个方法,需要具有访问服务器的 .htaccess 文件的
2014-11-11 18:00:26 295
原创 centos pip 安装
先装zlib:cd /usr/Python-2.7.2/Modules/zlib./configure make && make install
2014-11-06 18:33:59 355
转载 mysql 远程链接
1.设置防火墙1.安装 sudo apt-get install ufw 2.启用 sudo ufw enable sudo ufw default deny 运行以上两条命令后,开启了防火墙,并在系统启动时自动开启。 关闭所有外部对本机的访问,但本机访问外部正常。 3.开启/禁用 sudo ufw allow|deny [service]
2014-10-30 12:24:20 313
原创 svn hook
SVN=/usr/bin/svnTODIR=/var/www/phpcms$SVN update --username zpp --password zpp $TODIR
2014-10-30 12:19:56 308
原创 ubuntu install svn with apache dav_svn
sudo apt-get updatesudo apt-get install subversion subversion-tools libapache2-svnsudo mkdir /home/svnsudo mkdir ~/testsudo svnadmin create /home/svn/test -m 'initial project structure'
2014-10-30 12:06:50 1065
原创 Lesson 4 Abstraction in computer science
维基中抽象的定义:Computer scientists use abstraction to make models that can be used and re-used without having to re-write all the program code for each new application on every different type of compu
2014-08-28 00:06:40 376
原创 Lesson 3 Search algorithms
Search algorithms是最平常的算法:在某个数据结构中 查询 某个数据, 或者 search 某个值。search 是探寻的意思,不仅可以是在已经的数据中查询某个结果,也可以是在黑暗中寻找某个答案。search是探寻,是无数次的尝试,所以肯定是 Iterative algorithms.1.在已知中查询某个数据。eg:在一个字符串中查找某个字符。def sear
2014-08-27 11:03:30 394
原创 Lesson 2
Goal: – Need a way to describe algorithmic steps such that computer can use them to execute process
2014-08-26 17:20:08 283
原创 Lesson 1
第一课主要讲述计算机一些的基本原理。首先就提出来,目标是让学生有 computational thinking.Computational Thinking is a problem-solving process that includes the following characteristics:Analyzing and logically organizing dataD
2014-08-26 17:17:10 221
原创 github ssh 设置
Step 1: Check for SSH keys$ git config --global user.name "abcd"$ git config --global user.email abcd@efgh.comFirst, we need to check for existing SSH keys on your computer. Open up your
2014-08-19 18:11:49 298
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人