上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 38 下一页
摘要: 这里需要注意 一定是直接用nginx命令启动, 不要用systemctl启动nginx不然会有权限问题 阅读全文
posted @ 2018-03-21 10:37 Erick-LONG 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 1. docker 安装(方法一) 1.确保yum packages 是最新的 2.添加yum repo 3.安装docker 4.启动docker 5.验证docker已经启动 安装(方法二) 1.确保yum packages 是最新的 2.运行docker 安装脚本 3.启动docker服务器 阅读全文
posted @ 2018-03-21 10:34 Erick-LONG 阅读(240) 评论(0) 推荐(0) 编辑
摘要: urls.py api.py 序列化处理文件 models.py 阅读全文
posted @ 2018-03-09 18:14 Erick-LONG 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 1、安装淘宝镜像 2、安装webpack 3、安装vue脚手架 4、创建目录 5、创建vue项目目录 6、安装 vue 路由模块 vue-router 和网络请求模块 vue-resource,输入:cnpm install vue-router vue-resource --save。 阅读全文
posted @ 2018-03-07 12:51 Erick-LONG 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 1、安装Python3兼容版本 https://github.com/twz915/DjangoUeditor3/ 2、model加入字段 3、xadmin/plugins 插入ueditor.py 4、xadmin/plugins/__init__.py加入 5、 阅读全文
posted @ 2018-03-07 07:56 Erick-LONG 阅读(253) 评论(0) 推荐(0) 编辑
摘要: import networkx as nx import pylab import numpy as np #自定义网络 row=np.array([0,0,0,1,2,3,6]) col=np.array([1,2,3,4,5,6,7]) value=np.array([1,2,1,8,1,3,5]) print('生成一个空的有向图') G=nx.DiGraph() print('为这个... 阅读全文
posted @ 2018-02-24 16:39 Erick-LONG 阅读(212) 评论(0) 推荐(0) 编辑
摘要: xxx {{ message }} 鼠标悬停几秒钟查看此处动态绑定的提示信息! 现在你看到我了 {{ todo.text }} {{ message }} 逆转消息 {{ message }} ... 阅读全文
posted @ 2018-02-13 14:41 Erick-LONG 阅读(201) 评论(0) 推荐(0) 编辑
摘要: class Bus: def __init__(self,passengers = None): if passengers is None: self.passengers = [] else: self.passengers = list(passengers)#创建副本,防御可变参数 def ... 阅读全文
posted @ 2018-01-24 19:02 Erick-LONG 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 参数化clock装饰器 传入格式参数 阅读全文
posted @ 2018-01-23 16:49 Erick-LONG 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 为show函数传递不同的类型参数,就表现不同的行为 阅读全文
posted @ 2018-01-22 16:53 Erick-LONG 阅读(656) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 38 下一页