摘要: #!/usr/bin/env python from socket import socket with socket() as s: s.bind(('',0)) print(s.getsockname()[1]) 阅读全文
posted @ 2023-10-19 17:16 first_code 阅读(29) 评论(0) 推荐(0) 编辑
摘要: # 1. StrongGroup suffix in net name [StrongGroup suffix in net name](https://community.cadence.com/cadence_technology_forums/f/custom-ic-skill/29196/s 阅读全文
posted @ 2023-06-13 15:27 first_code 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 解决方法,当前代码的路径太长了,把路径变得短一些就可以了 阅读全文
posted @ 2023-05-05 18:43 first_code 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 内存地址:一个编号表示一个内存空间 内存空间:计算器中存储器的容量是以字节(Byte)为单位,也就是说一个内存地址代表一个字节(8bit)的存储空间(1Byte == 8bit) bit:位 Byte:位元组,字节 常说的32位操作系统最多支持4GB的内存空间,也就是说CPU最多只能寻址2的32次方 阅读全文
posted @ 2022-10-16 17:56 first_code 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 拉伸矩形: import pandas as pd import matplotlib.patches as mpathes from matplotlib import pyplot as plt def stretch_bb(bb, shift_x, shift_y, free_points=N 阅读全文
posted @ 2022-09-03 11:57 first_code 阅读(57) 评论(0) 推荐(0) 编辑
摘要: [python]通过一个矩形切割另外一个矩形 单例: 应用: #!/bin/env python # -*- coding:utf-8 from typing import * import matplotlib.pyplot as plt from matplotlib.patches import Rectangle from random 阅读全文
posted @ 2022-05-25 11:54 first_code 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 获取两个Rect之间的space: import matplotlib.pyplot as plt from matplotlib.patches import Rectangle, Polygon def draw_rect(bb, ax, color='black'): ax.add_patch 阅读全文
posted @ 2022-05-01 22:47 first_code 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 1.webhook url来自: https://gitee.com/oschina/Gitee-Jenkins-Plugin/issues/IWZSR 阅读全文
posted @ 2021-05-12 18:22 first_code 阅读(1134) 评论(0) 推荐(0) 编辑
摘要: 一、使用方法: 1.markdown处理库:https://cdn.jsdelivr.net/npm/marked/marked.min.js 2.<textarea></textarea>、oninput事件 二、实现 <!DOCTYPE html> <html lang="en"> <head> 阅读全文
posted @ 2021-03-08 00:58 first_code 阅读(796) 评论(0) 推荐(0) 编辑
摘要: 上传文件需要考虑到上传文件的大小的限制 1是处理上传后端本身对文件大小的限制 2是一些中间件对上传文件大小的限制配置如nginx默认限制为1M大小。 阅读全文
posted @ 2021-03-03 10:18 first_code 阅读(511) 评论(0) 推荐(0) 编辑