前端直接截取字符串 背景 在实际开发过程中,我们有可能会遇到需要展示数据库字段,但是当字段的内容比较长的时候就有可能出现前端样式的失样的效果: 解决: <td> <span id="email" th:text="${notice.content}" style="display: block;wh ...
分类:
其他好文 时间:
2020-07-27 16:01:19
阅读次数:
83
1. Using inline to replace #define when there are paramters 2. Using unsigned int only for bit-operations 3. Using fixed-width type int e.g. uint8_t, ...
分类:
其他好文 时间:
2020-07-27 15:42:42
阅读次数:
67
计划1阶段达成目标 cpu0跑Linux、cpu1跑裸机程序 cpu1的程序由cpu0启动linux后再进行加载,这样方便日后的版本管理 cpu0和cpu1各控制一个串口,便于调试 cpu0和cpu1之间应当进行至少一次通信用于验证 基于openamp框架 基于硬件为黑金alinx开发板,板载由ps ...
分类:
其他好文 时间:
2020-07-27 13:57:52
阅读次数:
108
开发技术 flaskscrapymysqlecharts 运行截图 ...
分类:
编程语言 时间:
2020-07-27 13:56:51
阅读次数:
92
国内关于Data Vault的信息很少,所以决定写点什么,纯粹都是自己在这个行业10多年的摸爬滚打。不过为了效率,尽量做到简短,直接上干货。对于各个细节大家有不同的理解欢迎来讨论。 ...
分类:
其他好文 时间:
2020-07-27 09:51:29
阅读次数:
95
##题面 Problem Description There are n cities and m bidirectional roads in Byteland. These cities are labeled by 1,2,…,n, the brightness of the i-th cit ...
分类:
其他好文 时间:
2020-07-27 09:21:33
阅读次数:
88
Given an array of integers A with even length, return true if and only if it is possible to reorder it such that A[2 * i + 1] = 2 * A[2 * i] for every ...
分类:
编程语言 时间:
2020-07-26 19:14:18
阅读次数:
72
组件渲染到页面的过程 template --> ast --> render --> vDom --> 真实的Dom --> 页面 ast:抽象语法树 vDom:虚拟Dom template最终还是会被渲染为 render函数 Runtime Only (只包含运行时的版本) 1、指定render函 ...
分类:
其他好文 时间:
2020-07-26 15:51:09
阅读次数:
100
基本的表格 table表示HTML文档的表格;tr表示表格中的行;td表示表格中的单元格 表头单元格 th元素表示表头单元格,用来区分数据和对数据的说明。可以在一行中混合使用td和th元素,也可以让一行包含清一色的th元素 表头和表格主体 tbody元素表示构成表格主体的全体行 thead元素用来标 ...
分类:
其他好文 时间:
2020-07-26 01:12:15
阅读次数:
104
//引入命名空间 xmlns:th="http://www.thymeleaf.org" //用th:<prop>替换<prop>属性的值 <h4 th:text="${hello}" ></h4> 1 Fragment inclusion th:insert th:replace 2 Fragme ...
分类:
其他好文 时间:
2020-07-26 00:03:15
阅读次数:
114