Sticky footers classic layout (the most compatible layout)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
* {
margin: 0;
padd ...
Posted by wallabee on Sat, 02 May 2020 14:59:10 +0200
Using input input box to achieve nice check box effect (css+jq)
After the completion of the design, it is really a barrier and long QAQ. When using a check box, because it is too ugly to abandon the check box, I made one myself. There is no picture in it, which is implemented by css and jQuery.
The final effect can be seen directly without much nonsense:
The html element is design ...
Posted by daftdog on Fri, 01 May 2020 08:33:11 +0200
Picture download of node crawler
Background: for some players who want to change their avatars, but don't know what avatars to use, as a code enthusiast, if they can use the program to solve the problem, they don't need to use the program to change their avatars, just do what they say, and then sort it out.
design sketch
Environment configuration
Install node environme ...
Posted by Ryan0r on Thu, 23 Apr 2020 17:04:00 +0200
Qt write map comprehensive application 15 - add delete clear reset point
I. Preface
In the related projects of map application, some equipment points are identified on the map, and the function of point interaction is most used. Therefore, a set of mechanism is needed to dynamically add, delete, clear and reset. Reset means to reset the longitude and latitude of all points in the map. In fact, it means to first clea ...
Posted by dmb on Sat, 18 Apr 2020 03:57:55 +0200
Python data visualization (Pygal, svg, csv, Bar, Line)
1. pygal (chart type Bar)
The Python visualization package Pygal will be used to generate scalable vector graphics files
Official pygal document: [www.pygal.org/en/stable/]( http://www.pygal.org/en/stable/)
1. Install pygal
pip install pygal -i https://pypi.tuna.tsinghua.edu.cn/simple
2. Simple python charts
import pygal
pygal.Bar()(1, 3, 3, 7 ...
Posted by Ark3typ3 on Sat, 11 Apr 2020 02:22:41 +0200
Export Excel data based on POI
Export Excel data based on POI
There will be many report businesses in the project, which need to export data. Here we use POI based parsing. There are two ways to parse POI: HSSF(xls format) and XSSF(xlsx).
Take the waybill management interface of BOS logistics as an example:
Front-end code
Export Waybill Information and generate report:
1. ...
Posted by rakennedy75 on Sat, 04 Apr 2020 08:38:14 +0200
How to open web page in Python
note: short code implementation environment: win10,python3Code execution of this article
python opens the browser method 1:
By referencing the os package, calling the system method to call the system ie program to open the web address
The code is as follows:
import os
os.system('"C:/Program Files/Internet Explorer/iexplore.exe" ...
Posted by mushroom on Thu, 02 Apr 2020 17:48:02 +0200
ajax provincial and municipal linkage
step
1, page
<select name="province" id="p">
<option>===Please select a province===</option>
</select>
<select name="city" id="c">
<option>===Please select a city===</option>
</select>
2,ProvinceServlet
*Request this Servlet as soon as the page ...
Posted by putraaridana on Sat, 14 Mar 2020 15:28:06 +0100
SM ﹣ webgl 3D development note
1, webGL 3D development
... \Super map-iserver-10.0.1-win64-zip \ iclient \ for3d \ webgl \ zh directory
\examples -- sample program (source code is convenient for developers to quickly build applications)
\Build\Cesium -- development Script Library
\index.html -- home page, integrating demonstration ...
Posted by tigger on Fri, 28 Feb 2020 04:51:57 +0100
PG database kernel analysis learning notes log recovery strategy
PG database kernel analysis learning notes log recovery strategy
In PostgreSQL, the StartupXlog entry function is called when the system restarts after a crash
// xlog.c
/*
* This must be called ONCE during postmaster or standalone-backend startup
*/
void
StartupXLOG(void)
{
XLogCtlInsert *Insert;
...
Posted by trouble706 on Mon, 17 Feb 2020 11:05:04 +0100