- 博客(554)
- 资源 (61)
- 收藏
- 关注
原创 dpkg: error processing package xxx (--install): dependency problems - leaving unconfigured P
【代码】dpkg: error processing package xxx (--install): dependency problems - leaving unconfigured P。
2025-03-24 13:23:10
127
原创 Langchain and RAG Best Practices
LangChain is an Open-source developer framework for building LLM applications.It components are as below:PromptPrompt Templates: used for generating model input.Output Parsers: implementations for processing generated results.Example Selectors: sele
2025-03-05 13:41:37
755
2
原创 Further Understanding of Proc
The /proc in Linux is a kind of Pseudo file system (also known as Virtual File System), what it saves is a series of special files that store the current running state of the kernel, and the user can check the hardware info and the runnning processes via t
2025-02-19 12:45:35
710
原创 The Iftop
I frequently use ifconfig and cat /proc/net/dev to examine network information. However, today, my cloud server crashed unexpectedly. I reached out to the cloud support for assistance. The engineer utilized iftop to analyze the situation. After the issue w
2025-02-18 19:47:38
916
原创 CPU can only see the threads
In python, due to the GIL (Global Interpreter Lock), which is a mutex and ensures only one thread can execute at a time, so the multiple threads parallel execution is not supported under the CPython interpreter. But what about the multiple processes? What
2025-02-15 22:19:18
838
原创 Go Common Test
The test methods in Go mainly include three types: unit test, benchmark test, and example test.
2025-02-13 11:22:57
956
原创 Go Cheatsheet
syntaxThe uppercase of the first letter of const, var, func, type is exported. And the lowercase is private.The { cannot be as a separate line.Not need to use ; to end the statement.(Not recommend)// or /* */ can be used to comment.the string can be c
2025-02-12 11:44:59
918
原创 Video Technology 101
Do you really understand the video technology? What is the frame rate, resolution, bit rate and their relationships? Do you know the parameters p and K in the terminology 1080p and 4K? Do you know how to describe the video quality? What is the Blu-ray Disc
2025-02-11 13:17:22
904
原创 The Encode and Decode in Python
Do you really know the encode and decode in Python?The encode and decode in Python are used to convert between strings and bytes. That we all know that the string in the computer storage and communication in the network is in the form of byte sequence, n
2025-02-10 11:53:52
264
原创 About the Systemd
It has been a long time since the linux used init to manage the startup process, such as sudo /etc/init.d/apache2 start or service apache2 start, but the init is serial. To address this issue, the systemd was born. The d is the abbreviation of daemon, whic
2025-02-09 12:11:03
1014
原创 The Tips About Dockerfile
Normally, we often write a Dockerfile in the current directory.The Dockerfile is a configuration file that describes how to build the image. You can refer to the official documentation for more details.If you list more than one CMD, only the last one ta
2025-02-08 13:24:02
1001
原创 Docker Cheatsheet
systemctl start | stop | restart | status | enable docker This command to operate the docker daemon.
2025-02-07 13:54:48
964
原创 Docker 101
Docker is a practical tool for everyday use, and like Git, you can learn it in just 30 minutes.
2025-02-06 20:42:14
984
1
原创 The Instance Class Static Magic Method in Python
So what is the difference between the Instance method, the Class method and the Static method?
2025-02-05 10:27:58
860
原创 The Overview of Security
In today’s digital age, security is paramount. As we increasingly rely on technology for communication, commerce, and data storage, understanding the fundamentals of security becomes essential. This article provides an overview of key security concepts, in
2025-02-04 17:02:01
963
原创 How to Publish Your Code as a Pip Module
Last week, I developed a Python CLI tool. To enhance its usability, I decided to publish it as a pip module. During this process, I conducted in - depth research, encountered several pitfalls, but eventually achieved success.
2025-02-03 20:24:38
1091
原创 Introduction to the HTTP and HTTPS Protocol
HTTP protocol is the foundation of the Internet, and HTTPS is the secure version of HTTP. HTTP is an application layer protocol based on TCP/IP protocol. It does not involve packet (packet) transmission, mainly specifying the communication format between t
2025-02-02 10:41:40
1029
原创 Mail Service and Protocol
Recently, I have been working on DNS of my domain name. And then I need to set up the mail service of my domain name. When I tried many times, I always failed to receive the mail on my phone. Suddenly, I remembered that I didn't set up IMAP service. So let
2025-02-01 00:07:50
739
原创 A Brief Introduction to DNS
In my mind, DNS is the key of the internet. I always believe if you control the DNS, you control the Internet world. So let us get started to know the DNS.
2025-01-30 10:13:52
697
原创 Real Computer Network
For the computer network, I believe that most people have learned it in the course of university or college. No matter whether you are familiar with it or not, this article will give you a different perspective of the network. It can really help you a lot.
2025-01-29 23:36:28
908
原创 Deploy Github Pages With GPG Signing
This article is also posted on my blog, feel free refer to it for the latest revisions: [Deploy Github Pages With GPG Signing](https://blog.timerring.com/posts/deploy-github-pages-with-gpg-signing)
2025-01-28 13:39:20
1569
1
原创 GPG 101
This article is also posted on my blog, feel free refer to it for the latest revisions: gpg-101
2025-01-26 16:57:04
791
原创 MAC 禁用 DS_Store 文件
通常在 MacOS 下拷贝的文件,在 windows 系统中会多显示一个.DS_Store文件。尽管是隐藏文件,但是在 Mac 中使用依然无法显示该文件,只有在 zsh 中ls -a才会查看到该文件。那么该文件到底是什么?
2024-09-22 22:06:15
860
原创 SQL语句开发规范
最后,除了在写 code 时需要养成一个规范的习惯以外,也可以尝试将本文放进 GPT 中进行总结,让 GPT 按照规范对代码进行纠正。更多信息可以翻阅阿里sql开发规范:https://help.aliyun.com/zh/dataworks/user-guide/sql-coding-guidelines-and-specifications。SQL语句的别名需要分层命名,从第1层次至第4层次,分别用P(Part) 、S(Segment)、 U(Unit) 和D(Detail)表示。
2024-09-11 16:54:11
525
原创 解决Mac M1芯片conda创建python3.7环境报错
起初我还以为是连接 channel 的问题,换了阿里云等镜像源进行连接,但是仍然没有得到解决。因此,在排除连接 channel 的问题之后,联想到之前 win 下的环境创建没有问题,因此我怀疑与 M1 的 Arm 架构有关,在查找之后找到了模拟x86_64的解决方案。参考:https://stackoverflow.com/questions/70205633/cannot-install-python-3-7-on-osx-arm64。
2024-09-08 20:35:17
727
1
原创 基于YOLOv2和传感器的多功能门禁系统
1.系统制作方案概述1.1系统设计的立意1.2系统的主要组成1.3系统的制作方案1.3.1制作方案框图1.3.2制作方案原理描述1.4系统方案的可行性论证2.具体模块分布图及集成原理图3.各个模块硬件调试中遇见难题及解决方案3.1蓝牙3.2蜂鸣器3.3红外感知模块3.4矩阵键盘3.5 RFID3.6人脸识别模块3.7舵机4.开发平台介绍及代码思路简介4.1 yolo v2算法介绍4.2 开发平台4.3代码解析5.各模块实操结果展示和实现指标6.可改进之处及拓展方向
2023-09-15 15:29:29
1051
2
原创 数据通信网络之IPv6以太网多层交换
掌握 VLAN 的基础配置。掌握 Trunk 的基础配置。掌握 VLANIF 的基础配置,并理解通过三层交换机实现 VLAN 之间通信的方案。
2023-09-14 09:36:14
1149
原创 数据通信网络之IPv6以太网二层交换
掌握 VLAN、Trunk 的基础配置。掌握以太网链路聚合的基础配置。掌握路由器子接口的配置,以及通过子接口实现 VLAN 之间互通的方法(单臂路由)
2023-09-13 22:13:39
1684
1
原创 数据通信网络之使用 eNSP 组网
一、目的二、环境及网络拓扑三、步骤及结果分析(1)放置和连接设备。(2)启动设备。(3)配置实现。(4)联通性测试。(5)抓包分析。①启动抓包。②运行命令。③分析报文。Ⅰ 分析 ARP 数据包Ⅱ 分析 ICMP 数据包
2023-09-07 22:35:58
1711
原创 R语言之 ggplot 2 和其他图形
1.初识 ggplot2 包2.分布的特征3.比例的构成4.用函数 ggsave( )保存图形2. 其他图形2.1 金字塔图2.2 横向堆栈条形图3.3 热图3.4 三维散点图3.5 小结
2023-08-30 09:22:31
672
原创 单变量图的类型与直方图绘图基础
单变量图的类型1.直方图(histogram plot)2.密度图(density plot)3.Q-Q 图(Quantile- Quantile plot,又称分位图)4.P-P 图(Probability-Probability plot)5.经验分布函数图(Empirical Distribution Function,EDF)直方图
2023-08-29 21:48:45
1336
python实现对称加密中3DES算法工程文件
2022-07-09
python实现对称加密中AES算法工程文件
2022-07-09
python实现经典密码学中列移位算法工程文件
2022-07-09
python实现经典密码学中Vigenere算法工程文件
2022-07-09
python实现模拟身份验证服务器综合系统工程文件
2022-07-09
python实现Hash和HMAC算法工程文件
2022-07-09
python实现签名ElGamal算法工程文件
2022-07-09
python实现签名RSA算法工程文件
2022-07-09
python实现Diffie-Hellman密钥交换算法工程文件
2022-07-09
python实现公钥密码ElGamal算法工程文件
2022-07-09
python实现公钥加密RSA算法工程文件
2022-07-09
python实现对称加密中3DES与AES算法工程文件
2022-07-09
python实现经典密码学中Vigenere与列移位算法工程文件
2022-07-09
Python中String, Bytes, Hex, Base64之间的关系与转换方法详解工程文件
2022-07-09
扩展Euclidean算法求乘法逆原理详解与算法实现工程文件
2022-07-08
AES加解密原理详解与算法实现工程文件
2022-07-08
DES加解密算法原理详解与实现工程文件
2022-07-08
两转子的转轮机原理详解与算法实现工程文件
2022-07-08
维吉尼亚密码原理详解与算法实现工程文件
2022-07-08
密码分析之单表代换算法实现工程文件
2022-07-08
山东大学微处理器原理实验4工程文件 汇编程序设计编程
2022-07-07
山东大学微处理器原理实验3工程文件 子程序汇编实验
2022-07-07
山东大学微处理器原理实验2.2工程文件 分支程序实验和循环程序
2022-07-07
山东大学微处理器原理实验1.1工程文件 汇编程序 HelloWorld
2022-07-07
山东大学电路分析实验8工程文件 电路开放性创新设计Multisim实验
2022-07-07
山东大学电路分析实验7工程文件 RC电路的频率响应及选频网络特性测试
2022-07-07
山东大学电路分析实验6工程文件 正弦稳态电路的研究
2022-07-07
山东大学电路分析实验4工程文件 线性电路特性的研究
2022-07-07
山东大学电路分析实验3工程文件 基尔霍夫定律的验证
2022-07-07
山东大学电路分析实验2工程文件 电路元件伏安特性的测量
2022-07-07
山东大学电路分析实验1工程文件 万用表的使用
2022-07-07
山东大学工程图学基础与计算机制图 AutoCAD实验工程文件合集
2022-07-06
山东大学单片机原理与应用实验工程文件 3.8 ADC0808/9信号采集实验
2022-07-06
山东大学单片机原理与应用实验工程文件 3.7 LCD 1602显示实验
2022-07-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人