This series of tutorials is divided into four stages
1.flask restful web service
2.flask restful api
3.flask Httpauth to realize authority control
4.uwsgi Manage flask applications
In the first two articles, we have studied the development and implementation of basic web services and restful api. After the implementation of interface develop ...
Posted on Thu, 14 May 2020 02:22:01 -0700 by Javizy
Finally out of Hubei, closed for 2 months, no computer at home, feel independently code Ah Ah Ah Ah Ah Ah Ah Ah Ah Ah.
Connect to previous article Getting Started with Spring Boot (12): Report Export, Comparing the Efficiency of poi, jxl, and esayExcel Continue from the beginning to the pit.
dataWay is just open source, you can go to the offici ...
Posted on Wed, 13 May 2020 11:00:31 -0700 by matt1
Spring Boot exception handling was described earlier, and unclear friends can see the previous articles.
Today we will focus on log collection in Spring Boot. Logs are the key to tracking error positioning issues. Especially in production environments, we need to quickly locate problems with logs.
Springboot's logging framework is rich, and S ...
Posted on Wed, 13 May 2020 10:22:39 -0700 by Tandem
In the previous article, I deliberately left an example of a query unseen.Although you can get a DataReader from the following code:
IDataReader reader = command.ExecuteReader();
Then read the data line by line through the reader, but I don't recommend it.
C#does a lot of work and offers more choices for querying this high frequency ...
Posted on Mon, 11 May 2020 19:47:50 -0700 by hc
Create a SparkSession
from pyspark.sql import SparkSession
spark = SparkSession.builder.enableHiveSupport().appName('test_app').getOrCreate()
sc = spark.sparkContext
hc = HiveContext(sc)
1. Spark creates partition table
# You can change append to overwrite, so that if the table already exists, the previous table will be deleted and a ...
Posted on Mon, 11 May 2020 01:18:45 -0700 by [xNet]DrDre
* Error message return process (take SQL errors for example)
Data Piggyback(11) Cursor Close All(69)
Or 03 5e
Return to Marker
Return to Marker
Posted on Sun, 10 May 2020 11:43:31 -0700 by sergeidave
1. Record detailed log information with the least code and without changing the business logic code
2. Support log output in file form or database storage, and switch flexibly through configuration file.
To achieve this, annotation and aop must be used to intercept and record logs, so as to minimize changes to b ...
Posted on Sun, 10 May 2020 07:46:16 -0700 by azul85
Oracle Knowledge Points
Tablespaces, users, roles
Getting relationships between tablespaces and data files
View data block size
Query information about tables owned by the current user, accessible tables, and all tables in the current database
Query information for all tables ...
Posted on Sun, 10 May 2020 00:00:11 -0700 by sheila
1. To create a chat message table, its fields include message content, sending time and sender's name;
CREATE TABLE `guanhui`.`message` (
`id` INT(10) NOT NULL AUTO_INCREMENT COMMENT 'news ID' ,
`content` VARCHAR(255) NOT NULL COMMENT 'Message content' ,
`sender` VARCHAR(60) NOT NULL COMMENT 'sender ' ,
`send_time` IN ...
Posted on Thu, 07 May 2020 08:33:20 -0700 by thatsme
sudo apt-get install mysql-server
sudo apt-get install mysql-client
sudo apt-get install libmysqlclient-dev
During the installation process, you will be prompted to set a password, so that you can complete the mysql installation. You can log in through the following command:
mysql -u root -p where - u represents the user n ...
Posted on Tue, 05 May 2020 10:27:51 -0700 by mrneilrobinson