Docker learning notes: image, container, data volume

Core concepts Image: a read-only template, similar to the image of a virtual machine. Container: it can be understood as a running instance of the image. The runtime is similar to a sandbox, with multiple containers independent of each other. Warehouse: the place where image files are stored. image Command table command explai ...

Posted by evildarren on Sat, 16 May 2020 09:07:41 +0200

B station video download batch splicing synthesis tool

Introduction Station B is very simple for downloading a single video. You can install plug-ins in the browser, which will not be covered here. This paper mainly introduces the batch download and resource integration of multi-P video. There are two ways: Execute py script Run exe tool preparation 1. Download B station client in windows store   ...

Posted by leeroy1 on Fri, 15 May 2020 07:51:47 +0200

C# Getting Started with Windows Service Development

1. Conceptual Name Windows services (formerly NT services) allow you to create executable applications that run for a long time in their own Windows sessions.These services can be automatically started at computer startup, paused and restarted, and do not display any user interface.This service is ideal for use on servers or at any time when lo ...

Posted by jamesl73 on Fri, 15 May 2020 05:49:48 +0200

leetcode-3. Longest substring without repeating characters

leetcode-3. The longest substring without repeating characters. Given a string, please find out the length of the longest substring that does not contain duplicate characters. Example 1: Type: "abcabcbb" Output: 3 Explanation: because the longest substring without repeating characters is "abc", its length is 3. Example 2: ...

Posted by zildjohn01 on Thu, 14 May 2020 16:09:18 +0200

Record curl submit data encoding and javascript transform unicode problem

1. Data coding problem of curl submission When using curl to send a POST request under windows, there is a problem. The parameters transmitted are not UTF-8 encoded. 1. In the GIT bash test, locale is UTF-8, no effect, the server received or GBK encoding. 2. Tested under cmd, chcp 65001 has no effect. The server receives GBK code. 3. Wri ...

Posted by boiy on Sun, 10 May 2020 16:19:42 +0200

1-20 crawler urlib module

cookie usage for urlib: If you already know the cookie, or the cookie you obtained through packet grabbing, you can log in directly in the header's information; The cookie information on the website of Jingdong is different from that on the website of Jingdong, You can log in to JD, grab the cookie information, and t ...

Posted by clanstyles on Wed, 06 May 2020 02:06:44 +0200

docx document to pdf file

Note: only docx file can be converted here. doc is not allowed. The source code is at the end of the article. It can be run on windows and linux, with the function of content replacement added, because some document contents need to be generated dynamically by code. The following are the specific operation steps: ma ...

Posted by AJW on Sun, 03 May 2020 23:41:37 +0200

Baidu Encyclopedia crawler

WebMagic configuration: http://www.cnblogs.com/justcooooode/p/7913365.html Crawling target Recently, we need to analyze some domain concepts, choose to use Baidu Encyclopedia to crawl corresponding terms, and get information and knowledge from them. I divide the query results into two categories, one is included in the encyclopedia, the othe ...

Posted by kryles on Sat, 02 May 2020 22:45:32 +0200

Angular2 configuration Electron project (desktop cross platform)

Electron A desktop cross platform framework. In order to be able to use TypeScript for development, so the integration of configuration Configuration process To create an Angular2 project ng new ang-electron2 *cd enters the project file after creation npm install electron --save-dev --save-exact In the project, we need to Electro ...

Posted by Redlightpacket on Thu, 30 Apr 2020 17:55:55 +0200

In 315 cities across the country, use python to crawl the store information of KFC grandpa

    I think I have lived in this world for more than 20 years. The most popular restaurant I have ever been to is KFC's birthday when I was a child. Now I grow up, KFC has become my daily snack. When I go hungry from the front door after work, I will go in and buy a cup of coffee in the morning. It's mainly fast, delicious and full, and it's ...

Posted by integravtec on Wed, 29 Apr 2020 14:40:14 +0200