上一页 1 ··· 6 7 8 9 10 11 下一页
  2017年5月5日
摘要: <!DOCTYPE html><html><head> <meta content="测试demo" name="Keywords"> <meta content="测试demo" name="Description"> <meta http-equiv="Content-Type" content 阅读全文
posted @ 2017-05-05 15:35 程序小院 阅读(161) 评论(0) 推荐(0) 编辑
  2017年4月28日
摘要: 1.在app中创建templatetags目录,目录名必须为templatetags 2.在目录templatetags中创建一个.py文件,例如 strFilter.py strFilter.py #强制转换成str from django import template register = t 阅读全文
posted @ 2017-04-28 14:38 程序小院 阅读(1224) 评论(0) 推荐(0) 编辑
  2017年4月1日
摘要: //文件 sudo chmod 777 文件名 //文件夹内的文件 sudo chmod 777 文件夹/ * //遍历文件夹下的所有文件 sudo chmod -R 777 文件夹/ * 关于权限问题: drwxrwxrwx d:表示directory 目录文件 第一个rwx:user表示用户 即 阅读全文
posted @ 2017-04-01 16:37 程序小院 阅读(144) 评论(0) 推荐(0) 编辑
  2017年3月23日
摘要: <select onChange="aa(this)" name="a"> <option value="a">1</option> <option value="b">2</option> <option value="c">3</option></select><script> function 阅读全文
posted @ 2017-03-23 17:17 程序小院 阅读(2680) 评论(0) 推荐(0) 编辑
  2017年3月16日
摘要: multiselect 下载使用: 链接:https://pan.baidu.com/s/18_yo3OGqR-FTUQ7ML3K97g 密码:auut <link rel="stylesheet" type="text/css" href="bootstrap-multiselect.css"> 阅读全文
posted @ 2017-03-16 09:21 程序小院 阅读(3567) 评论(0) 推荐(0) 编辑
  2017年3月3日
摘要: linux中tail命令 用于查看文件内容 最基本的是cat、more和less。 1. 如果你只想看文件的前5行,可以使用head命令,如: head -5 /etc/passwd 2. 如果你想查看文件的后10行,可以使用tail命令,如: tail -10 /etc/passwd 或 tail 阅读全文
posted @ 2017-03-03 09:51 程序小院 阅读(751) 评论(0) 推荐(0) 编辑
  2017年2月24日
摘要: 密码已检测过多遍还是登录失败 经检查 vim /etc/ssh/sshd_config PermitRootLogin no 改成 PermitRootLogin yes 修改之后重启就可以了 阅读全文
posted @ 2017-02-24 19:35 程序小院 阅读(2075) 评论(0) 推荐(0) 编辑
  2017年2月21日
摘要: ln -s /usr/local/nginx/sbin/nginx /usr/local/bin/ /usr/local/bin/就是环境变量目录 阅读全文
posted @ 2017-02-21 12:49 程序小院 阅读(5606) 评论(0) 推荐(0) 编辑
摘要: 1、首先git --version 查看 Git https://mirrors.edge.kernel.org/pub/software/scm/git/ 2、下载 wget https://Github.com/Git/Git/archive/v2.11.0.tar.gz 3、解压 tar -z 阅读全文
posted @ 2017-02-21 10:02 程序小院 阅读(288) 评论(0) 推荐(0) 编辑
  2017年2月16日
摘要: git clean -d -fx "" 其中 x 删除忽略文件已经对git来说不识别的文件 d 删除未被添加到git的路径中的文件 f 强制运行 阅读全文
posted @ 2017-02-16 10:47 程序小院 阅读(186) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 下一页