Tag:network

  • STM32 network circuit design

    Time:2021-10-25

    In previous tweets《SMI interface of STM32 network》《MII and RMII interfaces of STM32 network》, all interfaces of STM32 Ethernet and external PHY are introduced. If some students are not familiar with SMI, MII and RMII interfaces, it is recommended to read the two articles mentioned above, otherwise they may not understand the following. ​ Zone 1:We […]

  • Parsing Android project loading fillet image and slideapp loading network image

    Time:2021-10-25

      Demonstration effect      Core code Ordinary picture GlideApp.with(this) .load(“https://www.baidu.com/img/bd_logo.png”) .into(mImageView);  Circular picture GlideApp.with(this) .load(“https://www.baidu.com/img/bd_logo.png”) .circleCrop() .into(mImageView); Fillet picture GlideApp.with(this) .load(“https://www.baidu.com/img/bd_logo.png”) .transform(new RoundedCorners((int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 20, getResources().getDisplayMetrics()))) .into(mImageView);   Reference dependency    build.gradle //Picture loading frame: https://github.com/bumptech/glide //Official documents: https://muyangmin.github.io/glide-docs-cn/ implementation ‘com.github.bumptech.glide:glide:4.12.0’ annotationProcessor ‘com.github.bumptech.glide:compiler:4.12.0’ ⭐ Since the above loaded pictures are network pictures, the network request […]

  • Trust engine of encryption economy

    Time:2021-10-23

    What is a blockchain? Most people don’t know. In real life, people want crypto games, crypto coins, etc. what they want is encryption economy, not blockchain. Nervos believes that blockchain is just a tool to achieve encryption economy. This article will tell you about nervos team’s interpretation of the blockchain industry and the future nervos […]

  • React native get the current network status of the device Netinfo

    Time:2021-10-23

    `React native ` the application can obtain the network status of the device by using the ‘Netinfo’ package. NetInfo NetInfoThe module can obtain the current networking status of the device, subscribe and obtain the network status at one time. Previously, it was integrated in react native, but now it has been moved [email protected] management. Installation […]

  • Total network connection timeout? Analyze how the network is connected from the four layer model

    Time:2021-10-22

    In the information age, almost everyone needs to use devices to access resources on the network. In this process, the connectivity realized by establishing network connection is the most basic function of computer network. Today, let’s share a knowledge about computer network——  How is the network connected? The browser generates a message and sends it […]

  • 7.4 deploy WordPress through service in swarm cluster

    Time:2021-10-22

    Create an overlay driven network docker network create -d overlay wordpress [[email protected] ~]$ docker network ls NETWORK ID NAME DRIVER SCOPE q3rp3i79eud7 wordpress overlay swarm Create MySQL container docker service create –name mysql –env MYSQL_ROOT_PASSWORD=root –env MYSQL_DATABASE=wordpress –network wordpress –mount type=volume,source=mysql-data,destination=/var/lib/mysql mysql Create WordPress docker service create –name wordpress -p 80:80 –env WORDPRESS_DB_PASSWORD=root –env WORDPRESS_DB_HOST=mysql […]

  • Charles’ strongest skills

    Time:2021-10-22

    brief introduction Charles is a commonly used network packet interception tool on the PC side. When doing mobile development, we often need to intercept network packets for analysis in order to debug the network communication protocol with the server side. In addition to debugging ports in mobile development, Charles can also be used to analyze […]

  • 7.5 routing mesh for communication between cluster services

    Time:2021-10-21

    Create overlay network docker network create -d overlay swarm-overlay Create whoamI container Jwilder / whoamI image supports obtaining the host’s hostname through HTTP request docker service create –name whoami -p 8000:8000 –network swarm-overlay -d jwilder/whoami Create busybox container docker service create –name busybox –network swarm-overlay -d busybox /bin/sh -c “while true;do sleep 3600;done” View services […]

  • Raspberry 4B compile free installation tensorflow2

    Time:2021-10-21

    If you want to play deep learning on raspberry pie, you probably can’t get around the framework of tensorflow, but many tutorials like to teach you how to compile. When you spend a few hours compiling, you find a pile of red errors, which is a very annoying thing. Many people gave up making machines […]

  • 7.6 progress load balancing of routing mesh

    Time:2021-10-20

    function Load balancing for external access The service port is exposed to each swarm node Internal load balancing through IPVS Port exposure #For the service list, pay attention to the * sign in port forwarding ` *: 8000 – > 8000 / TCP ‘ [[email protected] ~]$ docker service ls ID NAME MODE REPLICAS IMAGE PORTS […]

  • I tried my best to learn Charles

    Time:2021-10-20

    brief introduction Charles is a commonly used network packet interception tool on the PC side. When doing mobile development, we often need to intercept network packets for analysis in order to debug the network communication protocol with the server side. In addition to debugging ports in mobile development, Charles can also be used to analyze […]

  • 36-Endpoint Slices

    Time:2021-10-19

    Endpoint Slices FEATURE STATE: Kubernetes v1.16 alpha Endpoint Slices provide a simple way to track network endpoints within a Kubernetes cluster. They offer a more scalable and extensible alternative to Endpoints. Endpoint sliceProvides a simple way to track network endpoints in a kubernetes cluster. They provide a more scalable and scalable endpoint alternative. Endpoint Slice […]