1. First, build a static HTML page for display. The page is simple and only needs a form form
<form action="Cc" method="post">
User name < input type = "text" name = "name1" >
Password < input type = "password" name = "pass" >
Posted by Arc on Sun, 03 May 2020 03:00:03 -0700
File upload learning record used in Java Web project (1)
File upload is a commonly used function in development. I will mainly introduce the implementation of basic file upload function with commons-fileupload-1.2.1.jar package, that is, file upload to the specified directory, and introduce the relevant classes and methods use ...
Posted by hypuk on Sun, 03 May 2020 02:26:04 -0700
This section details the API of the query set, which is based on the following model, the same as the one in the previous section:
from django.db import models
name = models.CharField(max_length=100)
tagline = models.TextField()
def __str__(self): # __unicode__ on Python 2
return sel ...
Posted by Sneo on Sat, 02 May 2020 12:02:14 -0700
See the article of the head of the official account, and refer to a simple database connection pool.
ConnPool connection pool class must implement javax.sql.DataSource interface
Posted by buzzby on Sat, 02 May 2020 08:45:51 -0700
The project needs to back up the database regularly. Here are your own operation notes
1. Check the disk space
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 40G 3.6G 34G 10% /
tmpfs 16G 0 16G 0% /dev/shm
This is my current situation of linux server. I don't know why it's like this (I'm ...
Posted by joozt on Sat, 02 May 2020 07:56:12 -0700
oracle installation, user authorization, table operation, data type, ddl table, dml data.
Learning video: https://www.bilibili.com/video/BV1tJ411r7EC?p=15
Baidu cloud installation package is attached to the installation tutorial: https://blog.csdn.net/qq_40774525/article/details/79919057
oracle Baidu cloud installation package: https://pan.b ...
Posted by j8h9x on Sat, 02 May 2020 03:00:52 -0700
Recently contacted with ssdb, I feel that it is similar to redis. For the time being, I haven't studied too much. Anyway, even the command is almost used.
The current framework is yii
Due to the large amount of data exported by users, in order to monitor the memory utilization of the server, the task is queued in the form of q ...
Posted by pulsedriver on Sat, 02 May 2020 01:31:41 -0700
Data structure transformation
In production and life, many enterprises use sql database. In business, in order to reduce database access and data transmission to the front, I choose to change the data format
Through the two-dimensional data format, it is converted into a tree structure.
Since I have been in the position ...
Posted by sorin1982 on Sat, 02 May 2020 01:27:36 -0700
The last one is a brief introduction to SPARQL. This article introduces the basic schema query of SPARQL
Still use the example from the previous article:
<rdf:Description rdf:about="http://somew ...
Posted by Levan on Fri, 01 May 2020 22:27:02 -0700
mysql container information
CONTAINER ID: 478bbac9137b
Currently, you use the MySQL container of docker to use mysql. As long as you run the container, you can use the local t ...
Posted by Randwulf on Fri, 01 May 2020 19:03:19 -0700