- 2024-08-16Declarative Shadow DOM
<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title>Document</title>&l
- 2024-04-28mysqlalchemy audit extension
mysqlalchemyauditextensionhttps://sqlalchemy-declarative-extensions.readthedocs.io/en/stable/audit_tables.htmlfromsqlalchemyimportColumn,typesfromsqlalchemy.ormimportdeclarative_basefromsqlalchemy_declarative_extensionsimportdeclarative_
- 2024-04-11Spring-Retry
https://github.com/spring-projects/spring-retryThisprojectprovidesdeclarativeretrysupportforSpringapplications.ItisusedinSpringBatch,SpringIntegration,andothers.Imperativeretryisalsosupportedforexplicitusage.QuickStartThi
- 2023-11-19命令式编程(Imperative Programming)和声明式编程(Declarative Programming)的区别
命令式编程(ImperativeProgramming)和声明式编程(DeclarativeProgramming)都是计算机编程的范式,它们有着不同的特点和适用场景。首先,我们讨论命令式编程。在命令式编程中,程序员需要明确地告诉计算机需要执行哪些步骤来达到预期的结果。我们可以把这种范式比作烹饪食谱:食谱会明确地
- 2023-09-12用 Rust 的 declarative macro 做了个小东西
最近几天在弄ddnspod的时候,写了个宏:custom_meta_struct解决什么问题#[derive(Debug,Clone,serde::Serialize,serde::Deserialize)]structActionA{url:String,//https://example.comversion:String,//v1.2.3a:u64,//...}#[derive(Deb
- 2023-08-19python ORM框架
导入需要的模块和函数这里的faker是为了后期的模拟数据使用,这里先透露一下。剩下的导入都和sqlalchemy的函数或包有关,如字段的类型、session的管理器、sql建表语句的生成等。fromsqlalchemyimportcreate_engine,Column,Integer,String,DateTimefromsqlalchemy.ext.declara
- 2023-02-12Jenkins-declarative-pipeline
声明式流水线示例:官方文档defremotepipeline{agentanystages{stage('RemoteServer'){steps{script
- 2023-02-04G6 Lesson2 Grammar
GrammarWhatAretheFourKindsofSentence?adeclarativesentencemakesastatement.Itendswithaperiod.Aninterrogativesentenceasksaquestion.Itends
- 2023-01-07SQLAlchemy
安装pipinstallsqlalchemy基本使用fromsqlalchemyimportcreate_engine,Column,Integer,Stringfromsqlalchemy.ext.declarativeimportdeclarative_basefro