技术专区

  • 用 Python 测试 API 的 3 种方式

    作者: Miguel Brito 译者:LCTT MCGA | 2022-08-18 18:08  评论: 1     单元测试可能令人生畏,但是这些 Python 模块会使你的生活变得更容易。 在这个教程中,你将学到如何对…

    编程笔记 2022年8月23日
  • java基础要点

    java基础1.标识符和关键字标识符开头只能是大小写英文字母$和下划线不能用关键字作为变量名和方法名标识符严格区分大小写2.Java的数据类型Java是强类型语言Java的数据分为基本数据类型和引用数据类型基本数据类型有…

    编程笔记 2022年8月23日
  • 用python画出网格图与路线图

        import matplotlib.pyplot as plt import numpy as np from matplotlib.pyplot import MultipleLocator import copy import pylab import random network = [[0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0], [0,1,…

    编程笔记 2022年8月23日
  • AOP spring boot 使用AOP面向切面编程

      关于AOP AOP(Aspect-OrientedProgramming,面向方面编程),可以说是OOP(Object-Oriented Programing,面向对象编程)的补充和完善。 OOP引入封装、继承和多态性等概念来建立一种对象层次结构,用以模拟公共行…

    编程笔记 2022年8月23日
  • C++ 黑客攻击系统

    #include <iostream> #include <Windows.h> #include <string> #include <conio.h> //getch使用 #include "hacker.h" using namespace std; #define WIDTH 40 #define HEIGHT 15 void inpu…

    编程笔记 2022年8月23日
  • C++Beginner(3)-Compile

    compiling source code file(.cpp,.cxx,.cc,.C,.c++) -> object files(.o,.obj) -> link object files together into an executable (app.exe, app), static library(.lib, .a), or dynamic library(.dll, .s…

    编程笔记 2022年8月23日
  • node-day01

    一、服务端与客户端的关系客户端指的就是我们之前学习的前端搭建页面请求接口前端的特点在于不操作数据库,但是后端是可以的后端把查阅的数据写成了端口我们前端去调用服务器只要就是完成数据接口的编写请求数据库…

    编程笔记 2022年8月23日
  • [Node.js] mongoose schema

    Example 1: import mongoose from 'mongoose' const itemSchema = new mongoose.Schema( { name: { type: String, required: true, trim: true, maxlength: 50 }, status: { type: String, required: true, enum: […

    编程笔记 2022年8月23日
  • 从C过渡到C++——换一个视角深入数组[真的存在高效吗?](2)

    从C过渡到C++——换一个视角深入数组[真的存在高效吗?](2) C风格高效的数组遍历 在过渡到C++之前我还是想谈一谈如何书写高效的C的代码,这里的高效指的是C代码的高效,也就是在不开启编译器优化下,C层级的自由化…

    编程笔记 2022年8月23日
  • EM算法

    EM Algorithm 目录 EM Algorithm Jensen's inequality EM Algorithm Jensen's inequality convex function: /(f''(x) /ge 0/) or /(H /ge 0/) (Hessian matrix when x is a vector) /[E[f(x)] /ge f(EX)/] EM Algor…

    编程笔记 2022年8月23日