码迷,mamicode.com
首页 >  
搜索关键字:not find    ( 24186个结果
Docker packaging guide for Python
以下是一些关于python 集成docker 的文章,很不错 The basics Broken by default: why you should avoid most Dockerfile examplesMost Dockerfile examples you’ll find on the ...
分类:编程语言   时间:2020-01-30 12:46:48    阅读次数:79
[LC] 285. Inorder Successor in BST
Given a binary search tree and a node in it, find the in-order successor of that node in the BST. The successor of a node p is the node with the small ...
分类:其他好文   时间:2020-01-30 12:39:54    阅读次数:54
[LC] 270. Closest Binary Search Tree Value
Given a non-empty binary search tree and a target value, find the value in the BST that is closest to the target. Note: Given target value is a floati ...
分类:其他好文   时间:2020-01-30 12:32:09    阅读次数:67
docker日志处理
``` 检查docker日志情况 容器日志一般存放在/var/lib/docker/containers/container_id/下面,以json.log结尾的文件(业务日志)很大,查看各个日志文件大小的脚本docker_log_size.sh,内容如下: ``` ``` #!/bin/sh ec... ...
分类:其他好文   时间:2020-01-30 11:22:00    阅读次数:67
JavaScript实现常见的数据结构
使用JavaScript实现栈、队列、链表、集合等常见数据结构。可能会有点用? ...
分类:编程语言   时间:2020-01-30 10:11:08    阅读次数:79
find命令
命令描述: 按层次查找目录中的文件 语法: find [-H] [-L] [-P] [-D debugopts] [-Olevel] [path...] [expression] 一般形式:find pathname -options [-print -exec -ok ...] 参数: pathn ...
分类:其他好文   时间:2020-01-30 09:38:13    阅读次数:75
MongoDB 2.2索引
在mysql中已经学习了索引,并知道索引对于查询速度的提升 mongodb也支持索引,以提升查询速度 步骤一:创建大量数据 执行如下代码,向集合中插入10万条文档 for(i=0;i<100000;i++) { db.t1.insert({name:'test'+i, age:i}) } 步骤二:数 ...
分类:数据库   时间:2020-01-30 09:29:55    阅读次数:76
Python3中正则的贪婪匹配模式
什么是贪婪模式 正则在进行匹配时,从开始位置查找最远的结束位置,这种模式称之为贪婪模式。 在进行HTML标签类似内容获取时,贪婪模式会导致整个内容的返回,需要使用非贪婪模式。 固定的书写规则 : 这种方式就是非贪婪模式,或者说是惰性模式 Python中默认使用贪婪模式 例子 ...
分类:编程语言   时间:2020-01-29 22:04:55    阅读次数:74
python re 正则表达式-基础版
import re #正则表达式是用来干什么的?匹配字符串 #首先回顾一下字符串的使用方法。 # s = "hello world" # print(s.find("e")) #查找 # ret = s.replace("ll","xx") # print(ret) # print(s.split( ...
分类:编程语言   时间:2020-01-29 21:25:00    阅读次数:111
Linux 文件和目录操作命令(一)
1、cd (change directory)切换到指定目录 2、cp (copy)复制文件或目录 3、find 查找目录及目录下的文件 示例: 4、mkdir (make directory)创建文件夹 5、mv (move)移动或重命名文件(重命名时会删除源文件,cp 不会) 6、pwd (pr ...
分类:系统相关   时间:2020-01-29 19:58:16    阅读次数:95
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!