定位分为:静态定位、相对定位、绝对定位、固定定位 1、静态定位(static) 一般的标签元素不加任何定位属性都属于静态定位,在页面的最底层,属于标准流。 2、绝对定位(absolute) 绝对定位元素从文档流脱出,使用left、right、top、bottom等属性相对于其最接近的一个最有定位设置 ...
分类:
Web程序 时间:
2020-09-17 16:40:25
阅读次数:
46
spilt()分割和join()合并 spilt()可以基于指定分割符将字符串分割成多个子字符串(存储到列表之中),如果不指定分隔符,则默认使用空白分隔符(换行符、空白,制表符) 1 a = "to be or not to be" 2 a = a.spilt() 3 print(a) 4 ['to ...
分类:
编程语言 时间:
2020-09-17 15:51:20
阅读次数:
33
1 Canal环境准备 1.1 docker安装数据库 配置文件 [root@other example]# cat /mydata/mysql/master/conf/my.cnf [client] default-character-set=utf8 [mysql] default-charac ...
分类:
其他好文 时间:
2020-09-17 13:47:43
阅读次数:
26
MySql 中 有其中连接方式: Sample: #创建两张表 CREATE TABLE `tbl_emp` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(20) DEFAULT NULL, `deptId` int(11) DEFAU ...
分类:
数据库 时间:
2020-09-17 13:29:26
阅读次数:
30
之前看 Flink Source 的 metrics 时候,看到 FlinkKafkaConsuemr 消费 Kafka 数据的代码,感觉比较有意思,就仔细看下了 大致流程如下: FlinkKafKaConsuemr 的启动流程就不细讲了,直接跳到 FlinkKafkaConsumerBase.ru ...
分类:
其他好文 时间:
2020-09-17 13:20:14
阅读次数:
29
你是否还在为mybatis的多表关联查询而写xml烦恼,是否还在为动态组装查询条件烦恼,是否还在为此没有合适的解决方案烦恼? mybatis-extension插件,解决开发过程中需要多表关联时需手写xml的烦恼,同样支持通过传入sql返回结果集。纯mybatis原生支持,轻量级无侵入,可用于辅助m ...
分类:
其他好文 时间:
2020-09-17 12:36:23
阅读次数:
36
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), r ...
分类:
其他好文 时间:
2020-09-16 12:19:36
阅读次数:
29
import os import numpy as np import matplotlib.pyplot as plt root = os.getcwd() list_data = [os.path.join(root, f) for f in os.listdir() if f.endswith ...
分类:
其他好文 时间:
2020-09-15 21:31:50
阅读次数:
55
springboot注解整理 常用注解: @SpringBootApplication:申明让spring boot自动给程序进行必要的配置,这个配置相当于: @Configuration,@EnableAutoConfiguration和 @ComponentScan三个配置。 @EnableAu ...
分类:
编程语言 时间:
2020-09-14 19:04:58
阅读次数:
33
引入函数set nocount on declare @fbillno varchar set @fbillno='*FBILLNOCOMMON*' 引入内码表select finteridinto #temp01from seorderwhere FCancellation=0 and fbill ...
分类:
其他好文 时间:
2020-09-12 21:25:53
阅读次数:
39