[UWP Development] Simple Hamburg Navigation using SplitView ---- (2020.2.12 Learning Notes)

UWP implements Hamburg navigation in two ways, NavigationView and SplitView, which is newer (though newer, over several years old) than SplitView. Although that's true, this time instead of using NavigationView for burger navigation, you use SplitView for burger navigation. Before using SplitView for bu ...

Posted by nca on Tue, 11 Feb 2020 21:19:54 -0800

A detailed explanation of Python 3's method of visual analysis of pull hook data

This article mainly introduces the relevant materials about the visual analysis of the pull hook data of Python 3. The example code is introduced in detail in this article, which has certain reference value for you to learn or use Python 3. The friends who need to learn it will come to learn together Pr ...

Posted by clartsonly on Tue, 11 Feb 2020 06:14:30 -0800

electron packages front-end projects into desktop applications

electron integrates nodejs with chromium.So it also "inherits" chromium's logic for handling js and rendering pages, and what you now know is that it supports multiple process modes.The node environment needs to be configured first. Pre-environmental setup and testing can be referred to ht ...

Posted by php-phan on Mon, 10 Feb 2020 19:22:13 -0800

Python basic string operation common function set

This article mainly introduces the common function set of string operation based on Python. Please refer to Article directory 1. Definition of string 2, slice 3. Capitalize (capitalize()) 4. Count (sub, start = none, end = none) 5,center(width,fillchar) 6,ljust(width,fillchar) 7.rjust(width,fillchar) ...

Posted by superpimp on Mon, 10 Feb 2020 07:23:03 -0800

[Python reptile actual combat] statistics of OJ test record statistics of Codeforces test record

Article directory 1, Demand analysis 2, Specific implementation 3, Full code I don't know if other people will do this. Anyway, as an Acmer who has been in the pit for more than one year, sometimes I want to know how many problems I have written. Of course, I can go to OJ for one problem, but it's ...

Posted by 87dave87 on Sun, 09 Feb 2020 23:09:09 -0800

Linux Network Programming TCP Application Example

Use TCP sockets to develop a program that simulates a user's remote login. (1) Design of server-side programs Server-side concurrency This program uses a multi-threaded approach to achieve the server's response to multiple client connection requests. The main program binds the socket to a self-s ...

Posted by egalp on Sun, 09 Feb 2020 20:37:26 -0800

Find the number of cores in Java

How do I find the number of cores available for an application from Java code? #1 building On Windows where Cygwin is installed, you can use: System.getenv("NUMBER_OF_PROCESSORS") #2 building If you want to get the number of physical cores, run the cmd and terminal commands, and then parse the output to get the required informatio ...

Posted by jogisarge on Sun, 09 Feb 2020 06:58:00 -0800

Install and configure Nginx under Windows, and set it to power on automatically

Installation and configuration of Nginx under Windows First, Download Process ellipsis Two, configuration First, enter the nginx installation directory (the same level of nginx.exe) and edit the conf/nginx.conf file gzip on; #Open gzip server_tokens off; ##Hide nginx version number server { listen 8888; ...

Posted by mkosmosports on Sun, 09 Feb 2020 06:47:16 -0800

python's experience of writing wechat to automatically grab files

python's experience of writing wechat to automatically grab files background Early stage Write code & Pit background Recently, the epidemic is rampant. All the teachers are teaching online. There are a lot of messy documents in wechat group. I'm tired of my baby. I have to read them every ti ...

Posted by ricroma on Sun, 09 Feb 2020 04:58:00 -0800

Windows: principles of window development

Window development principle 1: Some concepts API: Application Programming Interface, just like the library function of C language, there are packaged functions and interfaces in windows for operating windows applications and operating systems, namely Windows API. The header file is: windows. H (t ...

Posted by dzekic on Sat, 08 Feb 2020 07:26:20 -0800