如JSP、Velocity、Freemarker、Thymeleaf SpringBoot推荐的Thymeleaf;语法更简单,功能更强大; 一、引入thymeleaf <dependency> <groupId>org.springframework.boot</groupId> <artifac ...
分类:
编程语言 时间:
2019-12-24 15:57:19
收藏:
0 评论:
0 赞:
0 阅读:
111
注意:1、主库:10.1.131.75,从库:10.1.131.762、server-id必须是纯数字,并且主从两个server-id在局域网内要唯一。 【主节点】vi /etc/my.cnf[mysqld]log-bin=mysql-binserver-id=2019001 重启服务service ...
分类:
数据库技术 时间:
2019-12-24 15:57:03
收藏:
0 评论:
0 赞:
0 阅读:
152
<!doctype html><html><head><meta charset="utf-8"><title>制作图片轮显效果</title></head><style type="text/css"> img{border: 0px;} .imgsBox{overflow: hidden; wi ...
分类:
Web开发 时间:
2019-12-24 15:56:29
收藏:
0 评论:
0 赞:
0 阅读:
110
<!doctype html><html><head><meta charset="utf-8"><title>打字机效果</title><style type="text/css">body { background-image: url("照片/u=3948792083,2160529094&f ...
分类:
Web开发 时间:
2019-12-24 15:55:48
收藏:
0 评论:
0 赞:
0 阅读:
84
1.利用es6的iterable数据结构set 原理: ES6 提供了新的数据结构 Set。它类似于数组,但是成员的值都是唯一的,没有重复的值。Set 本身是一个构造函数,用来生成 Set 数据结构。 (利用的算法类似' ',与' '的区别是 ‘ ’认为NaN != NaN ,set的算法认为它们是 ...
分类:
编程语言 时间:
2019-12-24 15:55:27
收藏:
0 评论:
0 赞:
0 阅读:
88
背景:将商品id以及商品类别作为字典的键值映射,生成字典,原为DataFrame # 创建一个DataFrame # 列值类型均为int型 import pandas as pd item = pd.DataFrame({'item_id': [100120, 10024504, 1055460], ...
分类:
编程语言 时间:
2019-12-24 15:55:10
收藏:
0 评论:
0 赞:
0 阅读:
82
<html><head><meta charset="utf-8"><title>漂浮广告</title></head> <body><div id="Ad" style="position:absolute"> < a href=" " target="_blank"> < img src="照片 ...
分类:
Web开发 时间:
2019-12-24 15:54:52
收藏:
0 评论:
0 赞:
0 阅读:
84
一、基本查询语句 select的基本语法格式如下: select 属性列表 from 表名和视图列表 [ where 条件表达式1 ] [ group by 属性名1 [ having 条件表达式2 ] ] [ order by 属性名2 [ asc | desc ] ] 属性列表参数表示需要查询的 ...
分类:
数据库技术 时间:
2019-12-24 15:54:36
收藏:
0 评论:
0 赞:
0 阅读:
104
WSL 安装使用及美化 shell是一个抽象概念,shell的一切操作都在计算机内部,负责处理人机交互,执行脚本等,是操作系统能正常运行的重要组成部分 bash,ash,zsh,tcsh等是shell这个抽象概念的一种具体的实现,都是一个程序,都能生成一个进程对象。 如果想换shell的程序,可以修 ...
分类:
其他 时间:
2019-12-24 15:54:18
收藏:
0 评论:
0 赞:
0 阅读:
219
package sparkString import org.apache.spark.SparkConf import org.apache.spark.streaming.{Seconds, StreamingContext} object ss01 extends App { val conf ...
分类:
其他 时间:
2019-12-24 15:53:59
收藏:
0 评论:
0 赞:
0 阅读:
78
一、ElasticSearch是什么? Elasticsearch也使用Java开发并使用Lucene作为其核心来实现所有索引和搜索的功能,但是它的目的是通过简单的RESTful API来隐藏Lucene的复杂性,从而让全文搜索变得简单。不过,Elasticsearch不仅仅是Lucene和全文搜索 ...
分类:
其他 时间:
2019-12-24 15:53:40
收藏:
0 评论:
0 赞:
0 阅读:
89
#cat /sys/class/rtc/rtc0/since_epoch 1577169255 or # cat /sys/class/rtc/rtc1/timestamp01544829583 ...
分类:
其他 时间:
2019-12-24 15:53:20
收藏:
0 评论:
0 赞:
0 阅读:
83
调试代码,我就不整理了,记下after() before() 觉得这张图好美,从人家的博客上截的,找不链接了 ...
分类:
编程语言 时间:
2019-12-24 15:52:57
收藏:
0 评论:
0 赞:
0 阅读:
726
python图像处理二值化方法 1. opencv 简单阈值 cv2.threshold 2. opencv 自适应阈值 cv2.adaptiveThreshold 3. Otsu's 二值化 例子: 1 import cv2 2 import numpy as np 3 from matplotl ...
分类:
编程语言 时间:
2019-12-24 15:52:35
收藏:
0 评论:
0 赞:
0 阅读:
161
echo 只能输出字符串等单一数据 不能输出数据类型 不能输出数组等多种数据 print() 只能输出字符串等单一数据 不能输出数据类型 不能输出数组等多种数据有返回值true/false print_r() 既能输出字符串等单一数据又能输出数组等多种数据 但是不能输出数据类型 var_dump() ...
分类:
Web开发 时间:
2019-12-24 15:52:14
收藏:
0 评论:
0 赞:
0 阅读:
89
import osimport pymysql as MySQLdbdef get_tb(sql): conn = MySQLdb.connect(host="127.0.0.1",user="root",password="123",db="ccdb",charset='utf8') cursor ...
分类:
数据库技术 时间:
2019-12-24 15:51:57
收藏:
0 评论:
0 赞:
0 阅读:
124
地址:https://blog.csdn.net/u010508829/article/details/80594003 本文环境Maven3.5JDK1.8ideaSpringBoot2.0.1 工程pom文件加入Jar包 <dependency> <groupId>org.springframe ...
分类:
编程语言 时间:
2019-12-24 15:51:38
收藏:
0 评论:
0 赞:
0 阅读:
80
percon server5.7的配置版本 [root@tidb-db-backup mysql_3306]# cat my_3306.cnf # my_3306.cnf [client] port = 3306 socket = /data/mysql/mysql_3306/tmp/mysql_3 ...
分类:
其他 时间:
2019-12-24 15:51:07
收藏:
0 评论:
0 赞:
0 阅读:
88
HBase隶属于hadoop生态系统,它参考了谷歌的BigTable建模,实现的编程语言为 Java, 建立在hdfs之上,提供高可靠性、高性能、列存储、可伸缩、实时读写的数据库系统。它仅能通过主键(row key)和主键的range来检索数据,主要用来存储非结构化和半结构化的松散数据。与hadoo ...
分类:
其他 时间:
2019-12-24 15:50:29
收藏:
0 评论:
0 赞:
0 阅读:
66
2019-12-24 14:37:16 #include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 1004; struct Student{ long long number;//学号 int ...
分类:
其他 时间:
2019-12-24 15:50:10
收藏:
0 评论:
0 赞:
0 阅读:
79