Mofei LogoOthers

Make your Github homepage unique

As a professional coder, when you roam around Github, the world's largest same-sex dating site, you must be tired of the same old personal homepage. So is there any way to make your homepage look more personalised?

Apr 9, 2021 4:38 PM
2300
Mofei LogoBig Data & Python

Python Miscellany: What __init__.py Does

We often see the file "__init__.py" in python's module directory, so what does it do?

Jan 21, 2021 12:18 PM
2205
Mofei LogoJavaScript

Understand microtasks and macrotasks in JavaScript

If a piece of JavaScript code contains a setTimeout almost all front-end students know that the code will be delayed (asynchronous) execution, but if the code at the same time there is a setTimeout, await, and Promise resolve, then we can still say that the order of their successive execution?

Jan 14, 2021 12:25 AM
5477
Mofei LogoFront-end

Configure the global .gitignore file

Often times, when reviewing code, you'll see that the .gitignore file has some new developers' own environment variables such as .vscode. .vscode is the configuration file for vscode, and if everyone puts their environmenteditor configuration into .gitignore, it will result in a very long and hard to maintain .gitignore file. maintenance. Is there any way to fix this in order to keep the project clean and tidy? Translated with www.DeepL.comTranslator (free version)

Jan 4, 2021 10:46 AM
3561
Mofei LogoVisualization

How to implement a time control using Canvas

This article currently has no summary

Mar 22, 2020 1:54 PM
3924
Mofei LogoJavaScript

Coronavirus map revolution

A while ago we released a map that dynamically shows the global trend of novel coronavirus outbreaks, and this map has gone through many iterations, combining inspirations from the East and the West, and has finally come to a version that we are satisfied with so far. Today, we're going to talk about the story behind the development of this map: what we wanted to express through the map and the technical solutions we used to make it happen. Translated with www.DeepL.comTranslator (free versio

Feb 23, 2020 4:24 PM
9026
Mofei LogoVisualization

Make a dot-matrix world map from scratch

Recently, many people have seen the map I put on my home page and asked me how I did it or what plug-ins I used. ![e7c39be65f0158f921530926ca16b612.gif](https:cdn.zhuwenlong.comuploadimageScreen

Aug 30, 2019 8:05 AM
10968
Mofei LogoVisualization

How to load super nice Mapbox maps in WeChat apps?

Wechat mini apps, are becoming a kind of Pre-App, a lightweight way to test the functionality and user scenarios of an App, facilitating smarter decisions in a formal App. Unfortunately, in WeChat's apps, only its own maps are supported, such as the most basic map display. So developers looking at the beautiful style of Mapbox, really can only look at the ocean sigh?

Jun 6, 2019 8:48 AM
6513
Mofei Logo

Greetings from the world

This article currently has no summary

Jan 22, 2019 3:14 AM
1261
Mofei LogoFront-end

Using Mapbox maps in WeChat apps

This article currently has no summary

Jan 22, 2019 3:14 AM
1372
Mofei LogoFront-end

JavaScript add 0 before number tips

A friend who often processes financial data may encounter a need to convert a string of a fixed length to a fixed length, such as 123 = 000123. Usually we will try this: let num = 123; c

Jan 10, 2019 3:21 AM
4975
Mofei LogoJavaScript

Travis-ci SSH Deploy

We know that the continuous integration tools such as Travis-ci can help us to do unit tests after the code is submitted. Is there any way to automatically deploy the code through SSH to the traget ma

Dec 27, 2018 11:26 AM
9348
HI, THERE!I AM MOFEI

(C) 2010-2024 Code & Design by Mofei

Powered by Dufing (2010-2020) & Express

IPC证:沪ICP备2022019571号-1