摘要:
核心思想为用字符串标识数字的每一位,并模拟c语言的底层运算 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<Windows.h> char a[100000] = { 0 }, b[10000 阅读全文
posted @ 2022-08-02 16:26
bitterteaer
阅读(183)
评论(0)
推荐(0)
摘要:
生命游戏 #include<stdio.h> #include<stdlib.h> #include<windows.h> #include<time.h> #define H 30 #define W 40 int map[H][W]={0}; void make_map(void) { int 阅读全文
posted @ 2022-08-02 16:23
bitterteaer
阅读(145)
评论(0)
推荐(0)
摘要:
切入点表达式 切入点表达式作用:知道对哪个类里面的哪个方法进行增强 语法结构: execution(<权限修饰符> <返回类型> <类全路径> <方法名称>(<参数列表>) ) 举例 1:对 com.atguigu.dao.BookDao 类里面的 add 进行增强 execution(* com. 阅读全文
posted @ 2022-08-02 16:20
bitterteaer
阅读(41)
评论(0)
推荐(0)
摘要:
AOP 操作(AspectJ 注解) 1. 创建类,在类里面定义方法 public class User { public void add() { System.out.println("add......."); } } 2. 创建增强类(编写增强逻辑) //(1)在增强类里面,创建方法,让不同 阅读全文
posted @ 2022-08-02 16:17
bitterteaer
阅读(61)
评论(0)
推荐(0)
摘要:
来自@狂神说 pom.xml <build> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.properties</include> <include>**/*.xm 阅读全文
posted @ 2022-08-02 14:57
bitterteaer
阅读(67)
评论(0)
推荐(0)
摘要:
原生java socket通讯 server端 start.java package server.action; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.IOEx 阅读全文
posted @ 2022-08-02 14:55
bitterteaer
阅读(237)
评论(0)
推荐(0)
摘要:
项目结构 web-socketio socketio.js github下载地址 https://github.com/socketio/socket.io/blob/main/client-dist/socket.io.js index.html <!DOCTYPE html> <html lan 阅读全文
posted @ 2022-08-02 14:44
bitterteaer
阅读(107)
评论(0)
推荐(0)
摘要:
from voc dataset to coco dataset 文件结构 1_name_to_num.py import os all_ = os.listdir('all_img') count = 0 for i in all_: filename = os.path.join('all_im 阅读全文
posted @ 2022-08-02 14:05
bitterteaer
阅读(227)
评论(0)
推荐(0)
摘要:
Ubuntu搭建turn服务器(webrtc ice服务器) 阅读别人博客的笔记,测试了好多人的方法,最后这个成功了 原理图 安装gcc环境 which gcc 安全签名 ssl sudo apt install openssl-devel 生成签名 openssl req -x509 -newke 阅读全文
posted @ 2022-08-02 12:51
bitterteaer
阅读(1170)
评论(1)
推荐(0)