Django front-end and back-end separate development-news management system
Project source download: https://github.com/Cherish-sun/NEWS/tree/master
Implementation of web API for News Tags and advertisements
1. serializers.py additions
# serializers to serialize News Tags
class TagSerializer(serializers.ModelSerializer):
# id = serializers.Field()
name = serialize ...
Posted by KrisNz on Fri, 04 Oct 2019 09:42:19 -0700
vue+iview blog, vue (SPA) single page, rich text compiler
An example of background management system solution based on Vue2 + iView2.0.
Functions and components currently implemented
Vue
Page: iView2.0
List of articles, classification of articles
Rich text box: quillEditor
File upload: Use iView's own file upload componentProject address
Use ...
Posted by willpower on Fri, 04 Oct 2019 09:14:27 -0700
Ten JavaScript Array Methods You Should Know
View the original textFor more information, please pay attention to it. GitHub
1,forEach()
Loop traversal array
const ARR = [1, 2, 3, 4, 5];
ARR.forEach(item => {
console.log(item);// 1, 2, 3, 4, 5
})
2,includes()
Check whether the array contains the items passed in the method
const ARR = [1, 2, 3, 4, 5];
ARR.includes(2); // true
ARR.i ...
Posted by danf_1979 on Thu, 03 Oct 2019 16:10:38 -0700
CSS loading Effect for Pac Eaters
2333 of the name of emmm
Preface
This is a css demo for practice. If there is something wrong with it, please correct it and accept it modestly. Hee hee
HTML layout
<div class="container">
<div class="loading">
<div class="eat"></div>
<div class="load"></div>
<div class="load">&l ...
Posted by Siggles on Thu, 03 Oct 2019 11:35:35 -0700
Unmanned Aerial Vehicle Experiment (Extraction of Target Area)
In the process of UAV flight, the higher the flight, the farther the field of vision, and only part of the required area, the additional area will become interference, so it is necessary to extract the target area.
This is our high-altitude overhead view, from which we can see that the obvious fea ...
Posted by V_dirt_God on Thu, 03 Oct 2019 11:08:09 -0700
How to publish your own code on Github for others to use
In daily development, we all use third-party libraries written by others, so we can also publish our code to github for others to use.
First, we need to build a new warehouse named goutil and use public (private warehouse can't be seen by others!).
Then clone goes to the local place.
git clone https://github.com/startdusk/goutil.git
Here we use ...
Posted by lisa71283 on Thu, 03 Oct 2019 07:05:40 -0700
Using echarts to display travel footprints
Preface
There has always been a dream of traveling around the world, traveling around other countries, experiencing human civilization in different countries, seeking mountains and rivers, and experiencing the great creation of the creator nature. After all, life is not only about the present, but also about poetry and distance. Over the years, ...
Posted by leeharvey09 on Thu, 03 Oct 2019 02:11:37 -0700
Creating docker image warehouse with Harbor
1. Why use Harbor
Harbor is open source, free software
Harbor is for enterprise users
Harbor has a friendly WEB management interface
II. Harbor Official Resources
https://github.com/goharbor/harbor/blob/master/docs/installation_guide.md
https://github.com/goharbor/harbor/releases
Prerequisite 1: Installation of docker
Delete the old versio ...
Posted by bennyboywonder on Wed, 02 Oct 2019 15:53:20 -0700
Label-based Image Classification of Web Documents
Dynamic Web TWAIN The latest version of the branch provides the Tag management interface. It is easy to label and classify the scanned images. This article shares how to use it.
Picture Classification of Web Documents
Create an HTML file and refer to the JS file of Dynamic Web TWAIN:
<script type="text/javascript" src="https://unpkg.com/dwt/ ...
Posted by Paws on Wed, 02 Oct 2019 12:20:51 -0700
yolo Learning Series: K-means Dimensional Clustering
yolo Learning Series (V): K-means Dimensional Clustering
Deep learning: teach you to do target detection (YOLO, SSD) video tutorial
1. Dimensional Clustering
1.1 Clustering Purpose
Run voc_label.py under Ubuntu system to generate training set and test set list file. Under Windows, there will be c ...
Posted by nEJC on Wed, 02 Oct 2019 05:01:54 -0700