Boyang Yan

Boyang Yan's Blog

Getting Started Mininet

Mininet Overview Mininet is a network emulator which creates a network of virtual hosts, switches, controllers, and links. Mininet hosts run standard Linux network software, and its switches support OpenFlow for highly flexible custom routing and Software-Defined Networking. Mininet supports research, development, learning, prototyping, testing, debugging, and any other tasks that could benefit from having a complete experimental network on a laptop or other PC. Mininet: Provides a simple and inexpensive network testbed for developing OpenFlow applications Enables multiple concurrent developers to work independently on the same topology Supports system-level regression tests, which are repeatable and easily packaged Enables complex topology testing, without the need to wire up a physical network Includes a CLI that is topology-aware and OpenFlow-aware, for debugging or running network-wide tests Supports arbitrary custom topologies, and includes a basic set of parametrized topologies is usable out of the box without programming, but also Provides a straightforward and extensible Python API for network creation and experimentation.

Getting Started with Password Master (Bitwarden)

Introduction Installation 1 yay -S bitwarden-cli 1 2 3 4 5 6 7 8 9 10 11 [yanboyang713@Boyang-PC ~]$ bw login ? Email address: ? Master password: [hidden] You are logged in! To unlock your vault, set your session key to the `BW_SESSION` environment variable. ex: $ export BW_SESSION="082KKVK/t0NjLQ7AiFRkuC/G/4pilfC05UCXedpAILtyHfEs0jnZGPmIT43BVbcGUfnPgvUved7Z90+8Rk0vKg==" > $env:BW_SESSION="082KKVK/t0NjLQ7AiFRkuC/G/4pilfC05UCXedpAILtyHfEs0jnZGPmIT43BVbcGUfnPgvUved7Z90+8Rk0vKg==" You can also pass the session key to any command with the `--session` option. ex: $ bw list items --session 082KKVK/t0NjLQ7AiFRkuC/G/4pilfC05UCXedpAILtyHfEs0jnZGPmIT43BVbcGUfnPgvUved7Z90+8Rk0vKg== 1 yay -S yarn npm 1 bash <(curl -s https://raw.

How to install Docker, Nvidia Docker and Docker Compose

Install Docker Step 1 — Installing Docker The Docker installation package available in the official Ubuntu repository may not be the latest version. To ensure we get the latest version, we’ll install Docker from the official Docker repository. To do that, we’ll add a new package source, add the GPG key from Docker to ensure the downloads are valid, and then install the package. First, update your existing list of packages:

Install Tensorflow 2.1 on Ubuntu 18.04 LTS with GPU support

Introduction This post document is about how to build GPU support environment for Tensorflow 2.1. This document will include install Nvidia driver, CUDA Toolkit, cuDNN on Ubuntu 18.04. Hardware Environment Secure UEFI Boot An issue that often arises when attempting to install Nvidia drivers on Linux involves a motherboard setting known as Secure UEFI Boot. In order for the driver installation to be successful it is necessary to disable this setting on most motherboards.