码迷,mamicode.com
首页 >  
搜索关键字:search inside folder    ( 14440个结果
flask中的上下文 RuntimeError: No application found . Either work inside a view function or push an application context
问题是什么? 在flask中,使用多线程操作数据库,报错:RuntimeError: No application found . Either work inside a view function or push an application context 报错原因:线程是独立的,相对于fla ...
分类:移动开发   时间:2020-07-15 15:04:39    阅读次数:143
web.xml分析
一:web.xml加载过程: 1.启动WEB项目的时候,容器首先会去读取web.xml配置文件中的两个节点:<listener> </listener>和<context-param> </context-param>; 2.容器创建一个ServletContext(application),容器以 ...
分类:Web程序   时间:2020-07-15 13:04:47    阅读次数:65
python 正则表达式第三方库 re的基本使用
re模块简介: 正则表达式是一个特殊的字符序列,它能帮助你方便的检查一个字符串是否与某种模式匹配,而re模块就是python中实现正则的模块 正则表达式简介: 非打印字符: 非打印字符也可以是正则表达式的组成部分。下表列出了表示非打印字符的转义序列: 字符描述 \cx 匹配由x指明的控制字符。 \f ...
分类:编程语言   时间:2020-07-15 01:19:22    阅读次数:107
35. Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or ...
分类:其他好文   时间:2020-07-14 21:56:23    阅读次数:98
leetcode-----79. 单词搜索
链接:https://leetcode-cn.com/problems/word-search/ 代码 class Solution { public: bool exist(vector<vector<char>>& board, string word) { for (int i = 0; i ...
分类:其他好文   时间:2020-07-14 21:55:49    阅读次数:84
python操作es如何处理timeout超时的问题
第一种方法,添加超时参数 第二种方法: 在es语句中添加超时参数 res = es.search(index=name, body=body, scroll='5m', size=100000, timeout=60) 第三种方法: 在连接处配置: ...
分类:编程语言   时间:2020-07-14 13:28:00    阅读次数:151
[PAT] A1043 Is It a Binary Search Tree
(熟练!重要!)二叉搜索树 BST ##题目大意 判断给定序列是否是一个BST或镜像BST树的先序遍历序列,如果是则输出该树的后序遍历序列。 ##思路 根据给定序列创建BST树,求出它的先序遍历和镜像树的先序遍历(即原树遍历时按照根->右->左),与原序列比较。 ##AC代码 #define _CR ...
分类:其他好文   时间:2020-07-14 11:52:38    阅读次数:62
基本类型包装类,,,System类,,,Math类,,,Arrays类,,,大数据运算
基本数据类型对象包装类:java将基本数据类型值封装成了对象。 8种基本类型对应的包装类: 基本数据类型对象包装类特点:用于在基本数据和字符串之间进行转换。 l 将字符串转成基本类型: System.out.println(Integer.parseInt("123") + 2); //打印结果为 ...
分类:其他好文   时间:2020-07-13 21:51:21    阅读次数:69
bucket_selector 中script执行结果
elasticsearch: 先随便贴一个查询数据: GET /test/_search { "size": 0, "aggs": { "find_missing_ids": { "histogram": { "field": "numeric_id", "interval": 1, "min_do ...
分类:其他好文   时间:2020-07-13 11:24:39    阅读次数:70
Centos-7.06-Docker安装-Mysql
本文主要探讨并记录Docker下面的Mysql安装和配置 查看可用版本 docker search mysql 拉取Mysql镜像 docker pull mysql 查看Mysql镜像 docker images 运行mysql docker run -itd --name mysql -p 33 ...
分类:数据库   时间:2020-07-13 09:36:59    阅读次数:80
14440条   上一页 1 ... 37 38 39 40 41 ... 1444 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!