ICode9

精准搜索请尝试: 精确搜索
  • 使用 matlab 处理 hextoimg, imgtohex 功能2022-09-13 19:33:09

    注意:File Exchange 其实算是 matlab 的 “开源社区” 还可以在 mathworks help center 查看各种API的用法:https://www.mathworks.com/help/matlab/ref/imread.html 代码来源:https://www.mathworks.com/matlabcentral/fileexchange/34713-imagetohex-hextoimage-cconversion

  • python渗透测试之argparse的使用2022-09-08 14:30:30

    一、前言   最近研究了python渗透测试,在做渗透测试时不可少的一个模块就是argparse(python3)/optparse(python2);发现大家所提供的一些关于渗透测试的代码以及资料里面大多都用的是   optparse(python2),但是optparse在python2.7以后就被放弃且不再维护更新了,所以对于python3的用户来

  • docker实战教程(四):帮助启动类命令2022-09-05 23:34:16

    启动docker systemctl start docker 停止docker systemctl stop docker 重启docker systemctl restart docker 查看docker状态 systemctl status docker 开机启动 systemctl enable docker 查看docker概要信息 docker info 查看docker总体帮助文档 docker --help 查看docke

  • optparse模块使用2022-09-02 17:01:00

    #!/usr/bin/env python3 # -*- coding: utf-8 -*- # python中有两个内建模块用来处理命令行参数:getpot、optparse。 # optparse模块主要用来为脚本传递命令参数,采用预定义好的选项来解析命令行参数。 # add_option()参数说明: # action 存储方式,分为三种store、store_false、st

  • LeetCode/阶乘后的零2022-08-28 01:03:14

    1. 返回尾零数量 可以转换为求质因子为2和5数量的较小值,实际上就是求质因子为5的数量 class Solution { public: int trailingZeroes(int n) { int ans = 0; for (int i = 5; i <= n; i += 5) //遍历所有含质因子5的数 for (int x = i; x % 5 ==

  • python argsparse2022-08-23 18:34:36

    python 运行时参数设置 import argparse # Press the green button in the gutter to run the script. if __name__ == '__main__': parser = argparse.ArgumentParser(description='Process some integers.') parser.add_argument("-c",&

  • Common English speaking 1000 sentences(1-100)-012022-08-21 17:32:23

    common spoken english one thousand phrases. ==> Common English speaking 1000 sentences I see. I quit! Let go! Me too. My god! No way! Come on. Hold on. I agree. Not bad. Not yet. See you. Shut up. So long. Why not? Allow me. Be quiet. Cheer up! good jo

  • PowerShell教程 - 入门命令(Basic Comlet)2022-08-20 08:31:06

    更新记录 转载请注明出处。 2022年8月20日 发布。 2022年8月15日 从笔记迁移到博客。 入门命令(Basic Comlet) 帮助信息 命令的帮助说明信息的组成结构 name, synopsis, syntax, description, related links, and remarks 名称,概要,语法,描述,相关链接,注释 获得帮助 Get-Help 获得在

  • Windows PowerShell 使用2022-08-18 19:01:55

    启动PowerShell 开始菜单 搜索 win+r 运行 get-help 查看帮助 get-command 查看有哪些命令 get-command      缩小范围 get-command get-* get-command "*process*" / get-command *process* get-hel

  • DPI-1047: Cannot locate a 64-bit Oracle Client library: "The specified module could not be foun2022-08-12 18:34:10

    DPI-1047: Cannot locate a 64-bit Oracle Client library: "The specified module could not be found". See https://cx-oracle.readthedocs.io/en/latest/user_guide/installation.html for help 下载instant-client 解压 将 oci.dll oraociei.dll 放入python解释器 的Lib\

  • python查看内置变量和函数的方法2022-08-11 01:32:57

    利用python中的语句输出python中的所有内置函数及内置常量名: >>> dir(__builtins__) ['ArithmeticError', 'AssertionError', 'AttributeError', 'BaseException', 'BufferError', 'BytesWarning', 'DeprecationWarnin

  • yolov5 原码讲解笔记 —— detect.py2022-08-10 17:36:58

    yolov5 在目标检测中占有非常重要的地位,在工业界,也是最受欢迎的目标检测架构之一。 yolov5 原码地址:https://github.com/ultralytics/yolov5 本机环境:windows10,CPU 跑模型 其中 detect.py 代码是检测代码,你可以直接跑这个代码看 yolov5 模型的效果,其中yolov5准备了2张图片 bus.jpg

  • [Typescript] Definite assignment operator2022-08-03 20:36:28

    The definite assignment !: operator is used to suppress TypeScript’s objections about a class field being used, when it can’t be proven1 that it was initialized. Definite assignment operator can help with this case, if you are sure that the code will h

  • 列表、元组、字典2022-07-29 18:31:20

    内置函数 dir() dir(list)可以告诉list的所有属性和方法。 help() help(list.xxx)可以告诉list的属性和方法的具体用法

  • Charles证书过期问题解决方法2022-07-29 17:37:14

    第一步:在charles中找到help,重置证书 第二步:在手机端安装, 注意有3步 1,首先手机配置好ip和端口, 2,手机端输入网址chls.pro/ssl,下载并安装证书, 3,在手机上对证书进行信任,

  • mysql 修改密码,版本不一样 多多次尝试2022-07-29 09:04:30

    Your MySQL connection id is 1 Server version: 5.6.50-log Source distribution Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be tr

  • 阿里云SLS-日志分析2022-07-28 19:04:28

    https://help.aliyun.com/document_detail/149889.html https://blog.csdn.net/weixin_43746433/article/details/118898270

  • LG6144 [USACO20FEB]Help Yourself P【DP,组合数,线段树】2022-07-23 23:02:53

    传送门 思路 考虑 DP,设 \(f_{i,j,k}\) 表示前 \(i\) 条线段,连通块最右端的点为 \(j\) 的所有子集的连通块个数的 \(k\) 次方之和。初值 \(f_{0,0,0} = 1\),答案为 \(\sum f_{n,j,K}\)。 把线段按照左端点排序,考虑加入第 \(i\) 条线段后对答案的影响,设 \(j\) 为加入 \(i\) 之前连通

  • Docker 常用命令2022-07-21 01:33:06

    1.帮助启动类命令   启动 docker: systemctl start docker停止 docker: systemctl stop docker重启 docker: systemctl restart docker查看 docker 状态: systemctl status docker开机启动: systemctl enable docker查看 docker 概要信息: docker info 查看 docker 总体帮助文档: docke

  • 斐波那契数列2022-07-07 19:00:28

    为何什么用字典保存计算结果而不是列表? 使用字典的优势: 不必像使用列表一样提前分配内存 在字典中存入0,1对应的斐波那契数之后不必对0,1特殊处理 某个数是否算过的判断方式比列表更优雅 点击查看代码 class Solution: def fib_help(self, n, nb): if n < 2:

  • mysql拆分字符串做条件查询2022-07-05 12:00:38

    mysql拆分字符串作为查询条件 有个群友问一个问题 这表的ancestors列存放的是所有的祖先节点,以,分隔 例如我查询dept_id为103的所有祖先节点,现在我只有一个dept_id该怎么查 然后我去网上找到这样一个神奇的sql,改改表名就成了下面的这样 SELECT substring_index( substring_

  • MySQL及SQL SERVER获取连续时间实例2022-06-28 17:33:52

    --MySQL select ('2022-05-05'+interval(cast(mysql.help_topic.help_topic_id as signed)) day) as 'DAY' from mysql.help_topic HAVING (DAY <= date_FORMAT('2022-07-05','%Y-%m-%d')) order by DAY --SQL Server select c

  • linux man 中文手册安装2022-06-27 04:31:24

    Linux Man (手册) linux man 中文手册安装 步骤 下载源程序 解压文件并进入该目录 unzip master.zip ;cd master 安装支持程序 sudo apt install autotools-dev autoconf automake python3 opencc 编译源程序 autoreconf --install --force ./configure make make inst

  • Linux-第一章2022-06-25 15:03:03

    软件: 主分区:1-4标识 逻辑分区:5-6标识 有逻辑分区必定有扩展分区。 screen //会话 。他的使用场景。可以远程同时互相同步操作,相当于远程桌面。比如开了两个会话,互相通信。使用如下: 会话1:screen -S help //创建一个help会话。 会话2:screen

  • 【IntelliJ Idea】无法输入中文2022-06-24 22:32:50

    我是git commit时不能输入中文,亲测有效 1、点击菜单help->Edit Custom VM Options   2、最后一行追加 -Drecreate.x11.input.method=true  

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有