How to create a loader animation of comet trailing effect with pure CSS
Effect preview
Online demo
Press the "click preview" button on the right to preview on the current page, and click the link to preview in full screen.
https://codepen.io/comehope/pen/YLRLaM
Interactive video tutorial
This video is interactive. You can pause the video at any time and edit the code in the video.
Please use chrome, safa ...
Posted by headcutter on Thu, 05 Dec 2019 06:39:14 -0800
01Gin source code interpretation
brief introduction
Gin source code interpretation, based on v1.5.0 Edition.
Process Overview
On the official document, an example of getting started is as follows:
package main
import "github.com/gin-gonic/gin"
func main() {
r := gin.Default()
r.GET("/ping", func(c *gin.Context) {
c.JSON(200, gin.H{
"message": "po ...
Posted by brandone on Thu, 05 Dec 2019 04:09:38 -0800
Python alignment display | | | |, tabuilate function |, wcwidth module |, that's enough to know
tabulate function Official documents
tabulate literal translation is to make tables and let python realize tabular display.
Detailed documentation
tabulate.tabulate(tabular_data, headers=(), tablefmt=u'simple', floatfmt=u'g', numalign=u'decimal', stralign=u'left', missingval=u'')
tabular_data: the content to be displayed ...
Posted by Eskimo887 on Thu, 05 Dec 2019 02:12:10 -0800
02 flask user authentication and role management database design
Authentication management
New database
create database `flasky` default character set utf8 collate utf8_general_ci;
Required plug-ins
Flash mail: used to send authentication information
Flask login: used to manage session s
Werzeug + its dangerous: used for adding salt to the password hash
Flash WTF: form object creation
Flash bootstrap: bo ...
Posted by gladiator83x on Wed, 04 Dec 2019 23:29:13 -0800
Building the Mesos cluster environment of "advanced" docker (24)
>Original article, welcome to reprint. Reprint please indicate: reprint from IT people's story meeting Thank you!>Original link address: Building the Mesos cluster environment of "advanced" docker (24)
This time, I will start to operate. First, I will install the MES. How to install the MES. Source code: https://github.com/lim ...
Posted by jacksonmj on Wed, 04 Dec 2019 22:13:26 -0800
The principle and implementation of Android multithread breakpoint Download
During this time, I looked at the download components of the studio's tool library and found some problems:
1. There is a bug in the download core logic, and there is a probability that the download cannot be completed successfully when the download is suspended or fails.2. Although the original design adopts the design of multi-threaded brea ...
Posted by ogge1 on Wed, 04 Dec 2019 21:53:57 -0800
How to create a shaking bulletin board with pure CSS
Effect preview
Online demo
Press the "click preview" button on the right to preview on the current page, and click the link to preview in full screen.
https://codepen.io/comehope/pen/wjZoGV
Interactive video tutorial
This video is interactive. You can pause the video at any time and edit the code in the video.
Please use chrome, safa ...
Posted by darknuke on Wed, 04 Dec 2019 14:32:39 -0800
How to draw a Penrose triangle which does not exist in the world with pure CSS
Effect preview
Online demo
Press the "click preview" button on the right to preview on the current page, and click the link to preview in full screen.
https://codepen.io/comehope/pen/RyvgMZ
Interactive video tutorial
This video is interactive. You can pause the video at any time and edit the code in the video.
Please use chrome, safa ...
Posted by Illusionist on Wed, 04 Dec 2019 12:31:03 -0800
Java serialization 57 equals rewrite, finalize method, hashCode method
I. how to compare the consistency of two strings in java
1. You can't use double equal signs to compare whether two strings are equal. You should use the equals method to compare, for example
package com.bjpowernode.java_learning;
public class D57_1_ {
public static void main(String[] args){
String s1 = new String("ABC");
St ...
Posted by kristolklp on Wed, 04 Dec 2019 11:55:17 -0800
Another OneDrive command line client
Another OneDrive command line client
Be based on Laravel-Zero , and made a lot of changes.
This project references onedrivecmd , but the language is based on PHP. After all, PHP is the best language in the world.
OLAINDEX-CMD is the command line version of OLAINDEX
Github
Project address: https://github.com/WangNingkai/OLAINDEX-CMD
Characteri ...
Posted by JD* on Wed, 04 Dec 2019 10:25:21 -0800