Simulate weak network environment using command line under Mac

For audio and video development, we often need to simulate the weak network environment and observe the performance of APP under the weak network, such as packet loss, delay, jitter, bandwidth restriction, etc. Mac system has a weak network tool APP, called Network Link Conditioner, which supports the visualization of the simulation and config ...

Posted by bugsuperstar37 on Sun, 02 Feb 2020 10:19:02 -0800

Turtlebot2-kinetics environment configuration

Turtlebot2-kinetics environment configuration Operational steps for environment configuration Installation preparation Create three workspaces, rocon, kobuki, turtlebot, download and compile the source code Create a rocon directory, download and compile it, and rocon has a corresponding kinetic s v ...

Posted by devai on Sat, 01 Feb 2020 19:33:49 -0800

CoreOS Configuration Docker API TLS Certification

We often use Portainer to manage the docker environment, Jenkins to build and deploy the docker automatically, and the Docker API is used for remote management. Usually we just open a 2375 (usually) port without security protection, which is dangerous and can lead to remote hijacking attacks.Then we need to configure the TLS certified 2376 (usu ...

Posted by krotkruton on Wed, 22 Jan 2020 08:29:43 -0800

FIO performance test data drawing

A picture is worth a thousand words. This is especially true when testing performance. For the results of fio tests we often use, how can we quickly generate charts? Ensure that the FIO command can record performance data Refer to the following command: fio -filename=/dev/nvme2n1 -thread -numjobs=1 -iodepth=64 --bs=4K -direct=1 --rw=write -ioe ...

Posted by egg82 on Tue, 21 Jan 2020 09:58:20 -0800

Repair of group light btrfs system

[background] A few days ago, due to loose power plug and other reasons, frequent power failure; At the same time, aoteng is used for caching. After one day's restart, the virtual machine will not be able to start. There should be something wrong with the hard disk. But because of the power proble ...

Posted by osram on Thu, 16 Jan 2020 10:39:37 -0800

ubuntu 18.04 configuration opencv3.4.5+contrib+cuda10.0

1: Preparations First, configure opencv3.4.5+contrib, so you only need to continue to configure cuda on this basis. For how to configure opencv-3.4.5 + opencv-3.4.5, see this blog: opencv-3.4.5+contrib Then download cuda 10.0 at: CUDA 10.0 download II. CUDA installation install Open the terminal ...

Posted by mwichmann4 on Wed, 15 Jan 2020 01:02:34 -0800

Jetson Nano study notes

Catalog 1. Development environment configuration 1.1 update source and software 2.1 installing Code OSS The following is a simple demonstration of how to use Code OSS to execute Python scripts. 2.2 installation of Qt5 3. Project cases 3.1 face detection 3.1.1 installation of pip 3.1.2 install Python ...

Posted by Birmingham on Mon, 13 Jan 2020 05:21:04 -0800

samba configuration shared user home directory

1. Install samba first sudo apt-get update sudo apt-get install samba openssh-server 2. Edit Samba configuration file sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak sudo vi /etc/samba/smb.conf Find the [homes] item, which is commented out by default, cancel the comment, and then modify the specific content as follows: #================== ...

Posted by digitalhuman on Sun, 12 Jan 2020 09:30:35 -0800

Xuteng echo "something" > > / etc / privilegedFile does not work

This is a very simple question about sudo permission in Linux, at least it should be. Many times, I just want to append some content to / etc/hosts or similar files, but I can't do it in the end, because even if I use root, I can't use > and > > at the same time. Is there a way to make this work without su or sudo su becoming ro ...

Posted by PHPist on Fri, 10 Jan 2020 07:03:46 -0800

Rescue GlusterFS Distributed Storage System

After the GlusterFS distributed storage system was migrated in a previous period of time, the phenomenon of dropping lines and intermittent happened frequently, which made it unable to work properly for a long time.Observations revealed that one of the nodes was always restarting, further revealing that only one of the four nodes in the replica ...

Posted by renesis on Mon, 06 Jan 2020 01:02:34 -0800