摘要:
选择 element = document.querySelector(selectors); element = document.querySelector(#id); element = document.getElementById(id);
阅读全文
posted @ 2020-09-15 20:19
Go_Forward
阅读(118)
推荐(0)
摘要:
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet. 解决方法: 用django的TestCase from django.test import TestCase or import django django.se
阅读全文
posted @ 2020-09-14 17:18
Go_Forward
阅读(565)
推荐(0)
摘要:
mysql 8免密码登录 UPDATE mysql.user SET authentication_string=null WHERE User='root'; FLUSH PRIVILEGES; exit; https://stackoverflow.com/a/52579886/8025086
阅读全文
posted @ 2020-09-03 17:38
Go_Forward
阅读(178)
推荐(0)
摘要:
https://support.google.com/websearch/answer/2539428?co=GENIE.Platform%3DDesktop&hl=zh-Hans&oco=0 https://www.google.com/preferences
阅读全文
posted @ 2020-08-24 20:19
Go_Forward
阅读(233)
推荐(0)
摘要:
用于构建实例的方法是__new__, 必须返回一个实例,返回的实例会作为__init__的第一个参数(self) __init__方法其实是初始化方法,真正的构造方法是__new__ 从__new__方法到__init__是最常见的方法,但是__new__方法也可以返回其他类的实例,此时,解释器不会
阅读全文
posted @ 2020-07-08 14:17
Go_Forward
阅读(168)
推荐(0)
摘要:
如果pod包含多个container, 这些container不会跨机器分布 每个container只运行一个进程,而不是在一个container运行多个进程,这样更容易处理进程异常重启,进程日志等问题 pod可以和现实中的物理机类比,pod中的进程可以和运行在物理机中的进程类比,只是其封装在容器中
阅读全文
posted @ 2020-06-18 09:44
Go_Forward
阅读(156)
推荐(0)
摘要:
http://brunorocha.org/python/flask/using-flask-cache.html 如何在大项目中使用cache 新建全局cache.py cache = Cache(config={"CACHE_TYPE": "filesystem", "CACHE_DIR": "
阅读全文
posted @ 2020-05-19 20:01
Go_Forward
阅读(250)
推荐(0)
摘要:
http://archive.cloudera.com/cdh5/cdh/5/ https://www.cnblogs.com/one--way/p/7543464.html
阅读全文
posted @ 2020-04-03 11:54
Go_Forward
阅读(191)
推荐(0)
摘要:
https://unix.stackexchange.com/a/315070/378949
阅读全文
posted @ 2020-04-03 10:15
Go_Forward
阅读(172)
推荐(0)
摘要:
https://docs.hevodata.com/destinations/miscellaneous/how-to-install-a-beeline-client-to-connect-to-hive-metastore/
阅读全文
posted @ 2020-04-03 10:02
Go_Forward
阅读(129)
推荐(0)