码迷,mamicode.com
首页 >  
搜索关键字:find a temporary directory    ( 30906个结果
162. Find Peak Element
package LeetCode_162 /** * 162. Find Peak Element * https://leetcode.com/problems/find-peak-element/description/ * * A peak element is an element that ...
分类:其他好文   时间:2020-07-07 23:20:32    阅读次数:54
find/sed/tar命令练习
1、查找/etc目录下大于1M且类型为普通文件的所有文件[root@centos7~]#find/etc-typef-size+1M2、打包/etc/目录下面所有conf结尾的文件,压缩包名称为当天的时间,并拷贝到/usr/local/src目录备份[root@centos7~]#tar-cvf/usr/local/src/`date"+%T"`.tar/etc/*.conf3、利用sed取出if
分类:其他好文   时间:2020-07-07 14:57:32    阅读次数:48
Cannot find current proxy: Set 'exposeProxy' property on Advised to 'true' to make it available.
出现这个报错通常是因为使用了AopContext.currentProxy()函数却没有添加相应的配置造成的。 通过注解添加配置(加在类上): @EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true) 或通过xml配置文 ...
分类:其他好文   时间:2020-07-07 10:21:40    阅读次数:203
find/sed/tar命令练习
1、查找/etc目录下大于1M且类型为普通文件的所有文件[root@centos7~]#find/etc-typef-size+1M2、打包/etc/目录下面所有conf结尾的文件,压缩包名称为当天的时间,并拷贝到/usr/local/src目录备份[root@centos7~]#tar-cvf/usr/local/src/`date"+%T"`.tar/etc/*.conf3、利用sed取出if
分类:其他好文   时间:2020-07-07 10:01:45    阅读次数:58
使用selenium 和图片验证码识别 对12306的模拟登录+12306查询车次
首先总结坑: 1、关于浏览器分辨率有关的截图 2、关于浏览器位置点击(分辨率) 3、注意当前时间的 请求 URL 的cookie 值!! 思路: 1、首先分析12306 登录界面 2、将页面截取为图片 3、取得图片的位置 通过 先打开图片Image.open(), crop(左,上,右,下)-->用 ...
分类:其他好文   时间:2020-07-07 00:34:32    阅读次数:102
mac配置pyg和dgl
1.发现conda不能用 参考的博客:https://www.jianshu.com/p/13f5d20e61f8 https://www.jianshu.com/p/92b11e25bc14 zsh:command not find:conda 的详细解决办 open ~/.zshrc expor ...
分类:系统相关   时间:2020-07-07 00:29:41    阅读次数:86
File的判断
package demo01.File; import java.io.File; /* File类判断功能的方法 - public boolean exists() :此File表示的文件或目录是否实际存在。 - public boolean isDirectory() :此File表示的是否为目 ...
分类:其他好文   时间:2020-07-06 21:35:06    阅读次数:63
str list tuple dict
### str - list - tuple - dict ### 1.str ```python python 自带的dir函数可以查看序列的放法 使用方法: print(dir('dsad')) 1.index(find):查找某一个字符的起始位置,若找不到,index报错,find返回假 rf ...
分类:其他好文   时间:2020-07-06 20:02:51    阅读次数:58
1、scrapy安装与使用
scrapy是python的一个爬虫框架,从网上随意搜索便能得到千篇一律的使用demo(本文也是哟),并且非常容易理解。即便你没看过相关的demo,也一样可以食用本文。我的应用场景大多是列表页,文章页等。如果你的业务需要登录验证,图片验证等,请另寻他法,不要在本篇文章浪费你宝贵的时间。由于我的代码编 ...
分类:其他好文   时间:2020-07-06 18:16:18    阅读次数:70
百度热搜
# -*- coding:utf-8 -*- import requests from bs4 import BeautifulSoup url = "http://top.baidu.com/buzz?b=1&fr=topindex" header = { "user-agent": "Mozil ...
分类:其他好文   时间:2020-07-06 16:29:50    阅读次数:414
30906条   上一页 1 ... 69 70 71 72 73 ... 3091 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!