stringstring2binstring(stringstrSrc){if(strSrc.empty()){return"";}stringstrTemp="0x";stringstrDest;//去掉最开始的0x字符intiNumber=strSrc.find(strTemp);if(iNumber!=NO_FOUND){strSrc=strSrc.substr(2,strSrc.size(
分类:
其他好文 时间:
2020-09-17 23:19:09
阅读次数:
30
1.只查询A表中a、b两字段 db.A.find( {"stage":2,"workStatus":1},//第一个大括号表示查询条件 {"a":1,"b":1}//第二个大括号中字段值为1的表示要显示这些字段 ) 2.不显示a字段,其他字段全显示 db.A.find( {"stage":2,"wo ...
分类:
数据库 时间:
2020-09-17 23:02:49
阅读次数:
39
# coding=utf-8 import time from selenium.common.exceptions import NoSuchElementException from selenium.webdriver import ActionChains from selenium.web ...
分类:
编程语言 时间:
2020-09-17 22:22:43
阅读次数:
27
一、Reading The dog is man's best friend. He can do many things for us. He can protect our homes. He can guide the blind. He is loyal to his master and ...
分类:
其他好文 时间:
2020-09-17 21:40:24
阅读次数:
37
Loaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile * base: mirrors.aliyun.com * c6-media: * extras: ...
分类:
其他好文 时间:
2020-09-17 20:48:20
阅读次数:
33
Problem LeetCode Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where t ...
分类:
编程语言 时间:
2020-09-17 20:29:16
阅读次数:
30
import time from selenium import webdriver driver = webdriver.Chrome() driver.get("https://email.163.com") time.sleep(2) iframe = driver.find_elements ...
分类:
编程语言 时间:
2020-09-17 18:46:29
阅读次数:
27
Couldnotgettheserverfilelock.Ensurethatanotherserverisnotrunninginthesamedirectory.Retryingforanother60seconds解决办法1①在对应域的路径servers/AdminServer/下删除tmp文件夹②在对应域的路径servers/AdminServer/data/ldap/ldapfiles下
分类:
Web程序 时间:
2020-09-17 18:22:54
阅读次数:
47
/etc目录下一些简单的操作,find查找,sed 命令使用,xars 使用
分类:
系统相关 时间:
2020-09-17 17:47:53
阅读次数:
33