Home
gdb-source-file
Define a source path substitution ruleset substitute-path from to Define a source path substitution rule, and add it at the end of the current list of existing substitution rules. If a rule with
Optical-Networking
2017 2019 referenceEverything You Always Wanted to Know About Optical Networking – But Were Afraid to Ask Everything You Always Wanted to Know About Optical 2016 Speaker: Richard A Steenber
optical-transceivers
In order to transport high levels of data traffic over a network a component called an optical transceiver is required. Transceivers are lasers that are wavelength specific and convert electrical da
SingleCarrier-Multicarrier
Single carrier only uses one frequency point; multi carrier uses several frequency points to transmit information. If N frequencies transmit information to one user, the rate can be increased by
wavelength-bands
Telecommunication bands in the infraredIn optical communications, the part of the infrared spectrum that is used is divided into seven bands based on availability of light sources transmitting/
flex-grid-optical-networks
Fiber Optic cable — Channel Capacity:Frequency = Speed of Light (m/s) / Wavelength (nm) C-Band(Conventional Band): 1530 nm to 1565 nmSpectrum is Available in C Band:$$(\frac{299792458
Cpp/learn-Website
Resources online Complier example: cpp reflect C++ Insights: See your source code with the eyes of a compiler Quick C++ Benchmark online Code Browser
OADM (Optical Add-Drop Multiplexer)Introduction The evolution of single wavelength point-to-point transmission lines to wavelength division multiplexed optical networks has introduced a demand f
shared_ptr memory layout
Struct12345678910111213141516171819202122232425class __shared_ptr { element_type* _M_ptr; // Contained pointer. __shared_count<_Lp> _M_refcount; // Reference counter.
string memory layout
source12345678910111213141516171819202122232425262728// string.cpp#include <string>#include <iostream>void func(std::string &hello) { std::cout << hello.size(); std::c
tuple memory layout
Source123456789101112131415161718192021#include <map>#include <functional>#include <vector>#include <string>#include <iostream>template<typename... Args>void func
map memory layout
Source123456789101112131415161718#include <map>#include <iostream>void func(std::map<int, int> const &mapping) { for (auto &data : mapping) { std::cout &l
vector memory layout
Source1234567891011121314151617181920212223// vector.cpp#include <vector>#include <iostream>void func(std::vector<unsigned long> &datas) { for (auto &data : datas)
Process Id
1. ps12345678910111213141516# all process> ps -efUID PID PPID C STIME TTY TIME CMD> ps -auxUSER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND## PID: colum
Debug in Linux
Debug in LinuxTool listperformance profiling: perf trace, ftrace, strace, lstrace Two main classes of debugging tool today: checker (static and dynamic) did my code do bad thing x, y, z? Example
shell keyboard shortcut
tecmint ostechnix github help Move Cursor on The Command Line Ctrl+A or Home – moves the cursor to the start of a line. Ctrl+E or End – moves the cursor to the end of the line. Ctrl+B or Left Ar
ssh port forward
openbsd ssh ssh SSH1. 服务器端安装ssh-server123456789101112131415161718# 1. 服务器端, ssh server安装# Ubuntu 没有安装SSH-server服务器,需要安装SSH服务器并开启 > sudo apt-get install openssh-server# 查看是否开启;sshd代表开启 > sudo
Modules and Packages
1. Modules A module is a file containing Python definitions and statements. The file name is the module name with the suffix .py appended. Within a module, the module’s name (as a string) is ava
Network Configuration and Troubleshooting
1. ifconfig commandifconfig (interface configurator) command is use to initialize an interface, assign IP Address to interface and enable or disable interface on demand. 12345678910111213141516171
python installer
Installerubuntumethod 1123456789# To enable universe repository> sudo add-apt-repository universe> sudo add-apt-repository main> sudo add-apt-repository restricted> sudo add-apt-reposito
python virtualenv
VirtualenvInstallation1> pip install virtualenv User Guide1. use the same version12# 虚拟Python环境 ENV is path> virtual ENV 2. different python version123# PYTHON: 指定使用Python版本(C:\Python27\pyth