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
错误: ERROR: [1] bootstrap checks failed [1]: system call filters failed to install; check the logs and fix your configuration or disable system call fi ...
分类:
其他好文 时间:
2020-09-17 21:25:40
阅读次数:
37
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
/etc目录下一些简单的操作,find查找,sed 命令使用,xars 使用
分类:
系统相关 时间:
2020-09-17 17:47:53
阅读次数:
33
html: <a href="#" onclick="addrow(this);">[+]</a> JS:function addrow(o){ var div=$(o).parent().parent(); if($(o).html() == '[+]'){ var newdiv=div.clon ...
分类:
Web程序 时间:
2020-09-17 14:10:54
阅读次数:
34
一、Shell编程四剑客之Find Find工具主要用于操作系统文件、目录的查找,其语法参数格式为: find path -option [ -print ] [ -exec -ok command ] { } \; 其option常用参数详解如下: -name filename #查找名为file ...
分类:
系统相关 时间:
2020-09-17 13:14:45
阅读次数:
44
基本流程 从本地读取YUV数据编码为h264格式的数据,然后再存?到本地,编码后的数据有带startcode。 与FFmpeg 示例?频编码的流程基本?致。 函数说明:avcodec_find_encoder_by_name:根据指定的编码器名称查找注册的编码器。 avcodec_alloc_con ...
分类:
其他好文 时间:
2020-09-16 12:35:13
阅读次数:
28