python crawler: the first step of Ctrip integrated operation
After the first two articles, we have almost prepared
Crawling Ctrip ticket information: https://blog.csdn.net/weixin_42109012/article/details/96423081
Get Ctrip City abbreviation: https://blog.csdn.net/weixin_42109012/article/details/96378400
Now we need to change our copy request payload to set reques ...
Posted by hip_hop_x on Fri, 18 Oct 2019 07:58:04 -0700
Summary of spring data JPA
List of reference resources
Official document: https://docs.spring.io/spring-data/jpa/docs/2.1.5.RELEASE/reference/html/
Spring Data JPA introduction to mastery
Preface
JPA is the abbreviation of Java Persistence API. It is the second encapsulation framework of Spring based on Hibernate. In order to better and more convenient integrate int ...
Posted by stenk on Wed, 16 Oct 2019 18:50:11 -0700
Transaction management in ORACLE
Because of the work requirements, a large amount of data needs to be inserted into ORACLE data, and then the manual management of transaction opening is selected to insert a large amount of data. However, a pit is encountered here. Before the transaction management of mysql was opened to insert data, copying mysql is a bit impractical. Only 299 ...
Posted by philvia on Wed, 16 Oct 2019 14:35:28 -0700
Heterogeneous Actual Warfare of Data Subscribe and Convert Logs Based on canal
What is heterogeneous data processing? Simply put, in order to satisfy the expansion of our business, data is transformed from a specific format to a new data format.
Why does this need arise?
In traditional enterprises, data are mainly stored in relational databases, such as MySQL, but in order to meet the expansion of demand, the dimension ...
Posted by matthewhaworth on Mon, 14 Oct 2019 20:01:35 -0700
Analysis of php character checking from in_array
The pit of PHP in_array
ps: Should be the pit of weakly typed languages
php document
As the name implies, in_array is to find out whether a value is in an array.
problem
Assuming the scene of the accident
The test code for an sql injection is as follows:
$type = $_GET['type'];
$types = [2,3,4,5,6];
if(!in_array($type, $types)) {
throw new Para ...
Posted by guttyguppy on Mon, 14 Oct 2019 06:50:32 -0700
Building Blog Based on Al egg Framework: Editing Articles
Related articles
Blog Building Based on Al egg Framework (1) - Development PreparationsBuilding Blog Based on Al egg Framework (2) - Hello WorldBuilding Blog Based on Al egg Framework (3) - Registration and LoginBlog Building Based on Al egg Framework (4) - Privilege ControlBuilding Blog Based on Al egg Framework (5) - Top Navigation BarBuildin ...
Posted by synted on Mon, 14 Oct 2019 00:11:37 -0700
MySQL database master-slave synchronization process
Following up the following article: Backup database for introduction to MySQL database
Installation environment instructions
System environment:
[root@~]# cat /etc/redhat-release
CentOS release 6.5 (Final)
[root@~]# uname -r
2.6.32-431.el6.x86_64
Database:
Because it is a simulated environment, the master and slave libraries are on the same se ...
Posted by likethegoddess on Sun, 13 Oct 2019 20:22:25 -0700
oracle update operation one or two
os: centos 7.6
db: oracle 19.3
Preparation data
Create table
-- drop table tmp_t0;
create table tmp_t0
(
id VARCHAR2(100),
name VARCHAR2(100),
memo VARCHAR2(100)
)
;
-- drop table tmp_t1;
create table tmp_t1
(
id VARCHAR2(100),
name VARCHAR2(100)
)
;
insert data
insert into tmp_t0 val ...
Posted by nikosft on Sun, 13 Oct 2019 12:21:03 -0700
Hive Homework - Return the name of the student with the highest score for each course
Assignment: Return the name of the student who scored the highest mark for each course.
t_score_data.txt
zhangsan math:90,english:60
lisi chinese:80,math:66,english:77
wangwu chinese:66,math:55,english:80
Return the names of the students for each course and for the highest score
chinese ...
Posted by nephish on Sun, 13 Oct 2019 10:23:26 -0700
Random Name Generation Method
From: http://www.maomao365.com/?p=10025
Abstract: Following is the method of using sql script to generate Chinese names to share, as follows: Experimental environment: sql server 2008 R2 In our work, we sometimes need to generate random names in batches. The following will describe how to use sql scripts to generate random "names&qu ...
Posted by blui on Sat, 12 Oct 2019 10:49:27 -0700