practice
20 Database Design Best practices
Use well defined and consistent names for tables and columns (e.g. School, StudentCourse, CourseID …). Use singular for table names (i.e. use StudentC ......
7 Best Practice Tips for PostgreSQL Bulk Data Loading
7 Best Practice Tips for PostgreSQL Bulk Data Loading February 19, 2023 Sometimes, PostgreSQL databases need to import large quantities of data in a s ......
Struts 2 Bad Practices: Dynamic Method Invocation (struts2 动态方法调用)
简介: Struts 2 是一款基于 MVC 模式的 Web 应用程序框架,它使用了拦截器(Interceptor)和动态方法调用(DMI,Dynamic Method Invocation)等特性来实现请求的处理和响应。 DMI 是 Struts 2 的一项特性,它允许将请求参数直接映射到 Act ......
Leetcode Practice --- 栈和队列
155. 最小栈 设计一个支持 push ,pop ,top 操作,并能在常数时间内检索到最小元素的栈。 实现 MinStack 类: MinStack() 初始化堆栈对象。 void push(int val) 将元素val推入堆栈。 void pop() 删除堆栈顶部的元素。 int top() ......
rsync practice
.gitignore 中的文件不复制 --filter=':- .gitignore' 会删除 --delete windows下的c盘路径 /cygdrive/c/Users/ 在linux上 将 windows 上的name@ip:/cygdrive/c/Users/name/Desktop/w ......
Leetcode Practice -- 字符串
14. 最长公共前缀 编写一个函数来查找字符串数组中的最长公共前缀。 如果不存在公共前缀,返回空字符串 ""。 输入:strs = ["flower","flow","flight"] 输出:"fl" 思路解析 string longestCommonPrefix(vector<string>& s ......