The implementation of flash restful API and the basic permission control based on flash httpauth

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

Getting Started with Spring Boot: Integrate Hasor's Dataway module, wipe out the background, and automatically configure interfaces

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

SpringBoot Getting Started Series Unified Log Collection!

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

C#Data Operations Series - 3. ADO.NET Offline Query

0. Preface 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

PySaprk saves DataFrame data as Hive partition table

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

Oracle TNS 314 Protocol Analysis-5, Error Return

* Error message return process (take SQL errors for example) Client       Server 1 ------- Data Piggyback(11) Cursor Close All(69) Or 03 5e -----> Specific statements 2 <----- Marker(0C) ------- Return to Marker 3 <----- Marker(0C) ------- Return to Marker 4 ------- Marker(0C) - ...

Posted on Sun, 10 May 2020 11:43:31 -0700 by sergeidave

Design a general log audit scheme

1. Demand 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. 2. Implementation 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

Example Summary of Oracle Knowledge Points

Article Directory Oracle Knowledge Points Tablespaces, users, roles Tablespace 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

php realizes simple chat function

1. To create a chat message table, its fields include message content, sending time and sender's name; SQL: 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

ubuntu uses mysql and connects it to C + + programs

Install mysql 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