会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
TK-D小跆风
管理
上一页
1
···
3
4
5
6
7
2017年1月8日
Python中re(正则表达式)模块使用方法
摘要: Python中常用的正则表达式处理函数: re.match re.match 尝试从字符串的开始匹配一个模式,如:下面的例子匹配第一个单词。 import re text = "JGood is a handsome boy, he is cool, clever, and so on..." m
阅读全文
posted @ 2017-01-08 14:17 TK-D小跆风
阅读(421)
评论(0)
推荐(0)
2017年1月5日
linux单网卡多IP配置
摘要: 一、仅一个网卡的情况下,可以让该机器可以通过多个IP被访问,或隐藏常用IP,让他人访问其临时IP。 1.如果临时性的增加一个IP(重启机器或network服务后,丢失),可以使用ifconfig命令 1)先查看目前的网卡信息 [root@test network scripts] ifconfig
阅读全文
posted @ 2017-01-05 22:09 TK-D小跆风
阅读(1065)
评论(0)
推荐(0)
mysql 错误 ERROR 1372 (HY000): Password hash should be a 41-digit hexadecimal number 解决办法
摘要: MySQL创建用户(包括密码)时,会提示ERROR 1372 (HY000): Password hash should be a 41 digit hexadecimal number; 问题原因:你输入的密码是明文。不允许这么输入。 解决办法:用select password('你想输入的密码'
阅读全文
posted @ 2017-01-05 21:01 TK-D小跆风
阅读(5164)
评论(0)
推荐(1)
CentOS 7 配置虚拟主机站点
摘要: 1.进入/etc/httpd/conf 下 将httpd.conf 打开。 2.将DocumentRoot注释掉。(将ServerName 打开要不会有错误警告)。 3.将虚拟主机站点配置包含进来:Include conf.d/vhosts.conf。然后保存关闭httpd.conf。 4.进入/e
阅读全文
posted @ 2017-01-05 14:47 TK-D小跆风
阅读(414)
评论(0)
推荐(0)
2017年1月4日
CentOS 7 安装 配置 MySQL
摘要: 第一部分:CentOS 7安装MySQL 5.7 1.下载YUM库 shell wget http://dev.mysql.com/get/mysql57 community release el7 7.noarch.rpm 2.安装YUM库 shell yum localinstall y mys
阅读全文
posted @ 2017-01-04 13:03 TK-D小跆风
阅读(237)
评论(0)
推荐(0)
2017年1月1日
django 关于html、css、js 目录位置
摘要: 项目目录: project/ init.py views.py settings.py urls.py static/ css/ css.css js/ js.js img/ root/ templates/ index.html settings.py : 1.INSTALLED_APPS加入三个
阅读全文
posted @ 2017-01-01 13:00 TK-D小跆风
阅读(886)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7