分类目录归档:软件设计

分享软件设计的经验,包括C/C++, Perl, Java,Python等

Python 数据库迁移工具 Alembic

Alembic 是一款轻量型的数据库迁移工具,它与 SQLAlchemy 一起共 … 继续阅读

发表在 Python | Python 数据库迁移工具 Alembic已关闭评论

Python中的__all__

一、模块公开接口的一种约定 __all__可以在模块级别暴露接口,形式如下:__ … 继续阅读

发表在 Python | Python中的__all__已关闭评论

FastAPI 开发中数据校验利器 Pydantic 介绍与集成使用

前言 当我们在处理一些数据来自系统外部的时候,可能来自 API、终端用户输入或者 … 继续阅读

发表在 Python | FastAPI 开发中数据校验利器 Pydantic 介绍与集成使用已关闭评论

react classnames

一,前言 二,使用方法

发表在 Javascript | react classnames已关闭评论

ReAct useImperativeHandle

一、概念 useImperativeHandle可以让父组件获取并执行子组件内某 … 继续阅读

发表在 Javascript | ReAct useImperativeHandle已关闭评论

Radius+Openwisp

1.安装radius 2.生成key 3.配置服务器 4.启动服务 5.安装py … 继续阅读

发表在 Python | Radius+Openwisp已关闭评论

error: cannot synthesize weak property in file using manual reference counting

编译不过报错:error: cannot synthesize weak pro … 继续阅读

发表在 Objective-C | error: cannot synthesize weak property in file using manual reference counting已关闭评论

如何重命名gcc/g++编译的程序的main入口

“.interp” 让你调用外部的共享库. exit(0 … 继续阅读

发表在 C/C++ | 如何重命名gcc/g++编译的程序的main入口已关闭评论

xcode编译OpenSSL

1、下载openssl源码:https://www.openssl.org/so … 继续阅读

发表在 C/C++ | xcode编译OpenSSL已关闭评论

__attribute__((constructor)) 和 __attribute__((destructor))

__attribute__((constructor)) 先于main()函数调 … 继续阅读

发表在 C/C++ | __attribute__((constructor)) 和 __attribute__((destructor))已关闭评论