Block Chain Introduction Course eth Source Code Analysis p2p-udp.go Source Code Analysis (I)
Brotherly Block Chain Introduction Course eth Source Code Analysis p2p-udp.go Source Code Analysis (I) The network discovery protocol of p2p uses Kademlia protocol to deal with network node discovery. Node lookup and update. Kademlia protocol uses UDP protocol for network communication.
Reading the code in this section suggests looking at the ...
Posted by johnkelly on Fri, 01 Feb 2019 00:54:15 -0800
Python crawler introductory tutorial 14-100 All IT eBooks multithreaded crawling
Written in front
For a crawler enthusiast, there is more or less a little bit of collecting addiction - finding good pictures, finding good books, finding all kinds of things that can be stored on the computer, all like to crawl it down in batches. And then, yeah, that's it. Then slowly forget it.
Crawler analysis
Open th ...
Posted by tommyda on Wed, 30 Jan 2019 09:15:14 -0800
Common commands of team development tool git
Common Git commands
Git configuration
git config --global user.name "storm"
git config --global user.email "stormzhang.dev@gmail.com"
git config --global color.ui true
git config --global alias.co checkout # alias
git config --global alias.ci commit
git config --global alias.st status
git config --global alias.br branch
git config --global cor ...
Posted by ramas on Tue, 29 Jan 2019 15:21:14 -0800
The Method of Obtaining Mac Address from Android Mobile Phone
In this period of requirement, it is required to obtain a unique code from the system device as the unique identification of the current logged-in user, and finally decided to adopt the mac address.
The first is:
The official method of obtaining mac address is:
/**
* Getting mac address through WiFiManager
* @param ...
Posted by colby.anderson on Sun, 27 Jan 2019 23:03:14 -0800
Reptilian Practice
Today we practice crawling a website and summarize the crawling template of similar websites.
Let's take a website like http://www.simm.cas.cn/xwzx/kydt/ as an example. The goal is to crawl the title, release time, article links, picture links, and source of the news.
We mainly use requests, re, Beautiful Soup, JSON modules.
Go ...
Posted by kir10s on Thu, 24 Jan 2019 10:15:13 -0800
Detailed Example of Android Access to Mobile Phone and APP Information
The frost wind is getting tighter and colder. Listen to the voice of lone geese and send out a sound of sadness. This poem in "Royal Street Journey" is just the right one to describe Beijing in this season. It's time to test perseverance when the frost blows and running becomes more and more reluctant to take off your ...
Posted by Cogen2 on Wed, 23 Jan 2019 09:03:15 -0800
My trip to Android NDK (5) Sending data to android Development Board by hand coding with eclipse on Mac
The last blog talked about sending data to android development board with a serial assistant. Now let's build a platform by ourselves.
Let's start with the pit I stepped on before, because I used SerialPort.c to successfully open the serial port on android, so I think it's similar on mac. Then I used java to call. so directly on eclipse in th ...
Posted by cubik on Thu, 10 Jan 2019 01:03:09 -0800
Make vim a code reader (for mac and ubuntu)
Tools needed:
NERDTree
Cscope
ctags
vundle
homebrew(for mac)
Catalog:
Introduction to Software
NERDTree
Cscope
ctags
vundle
homebrew
mac installation
ubuntu installation
Introduction to Software
NERDTree
NERDTree is a vim plug-in that displays tree directories:
Enter the tree interface of ...
Posted by alapimba on Sun, 06 Jan 2019 15:39:09 -0800
[Jsoup in action] Simulated Browser: Use of Jsoup Tool Classes and retry Strategy for Failed Retries (3)
Get other sister chapters of a Document object from a URL:Simulated Browser: Getting Web Page Data Simply (1)Simulated Browser: post Simulated Log-in to Get Web Page Data (2)Simulated Browser: Use of Jsoup Tool Class and retry Strategy for Failed Retries (3)
Tool class: As the name implies, it is a tool for others to use as a tool. It only pro ...
Posted by FVxSF on Mon, 31 Dec 2018 21:00:08 -0800
linux Learning Chapter 59: LVS DR Model Building, Keeping Alived LVS
Construction of LVS DR Model
Dead work
Three machines
Distributor, also known as dispatcher (abbreviated as dir)
The gateway of the previous rs machine needs to be changed back
85.132
rs1
85.129
rs2
85.128
vip
85.200
DR Model Building
Write the script vim/usr/local/sbin/lvs_dr.sh on dir
The contents ...
Posted by bundyxc on Wed, 19 Dec 2018 22:30:05 -0800