TypeScript Tutorial 0. Offical Dochttps://www.typescriptlang.org/docs/ 1. Installing TypeScript and DemoEnter the command line and following command: 12npm install -g typescripttsc -V Compile the ts file: 1tsc xxx.ts 2023-02-17 #TypeScript
Data Structure and Algorithm - Sort 0. Introduction 0. Introduction 1. Bubble sort 2. Insertion sort 3. Selection sort 4. Merge sort 5. Quick sort 6. Heap sort 1. Bubble sortA simple sorting algorithm that repeatedly steps through the 2023-02-16 #cpp
Installing Nodejs on Linux 0. ForewordNodejs 1. Download Nodejs Installation Package12cd /usr/localwget https://nodejs.org/dist/v16.15.1/node-v16.15.1-linux-x64.tar.xz 2. Decompress12tar -xvf node-v16.15.1-linux-x64.tar.xzmv n 2023-02-02 #Linux #Nodejs
C++ STL Tutorial 0. ForewordC++ Standard Library headers Containers, Algorithms, Iterators 1. Containers1.1 VectorExample 1 - Basic Operation: 1234567891011121314151617181920212223242526272829303132#include <iostre 2023-01-29 #cpp
Data Structure and Algorithm - Graph 1. Graph DefinitionA graph is a collection of vertices (also known as nodes) and edges, where each edge connects two vertices. It is a mathematical structure that is commonly used to model relationshi 2023-01-05 #cpp
Essential Linux File Operations: Finding and Removing Files Linux provides powerful command-line tools for managing files and directories.Whether you’re a system administrator, developer, or casual Linux user, mastering these commands will significantly boost 2022-12-29 #Linux
Compile the Linux kernel 0. ForewordProject address: https://www.kernel.org/ 1. ConfigurationThere are mainly three ways: 12345make menuconfigmake xconfigmake gconfig(Need GTK package) 2. Run1make Tip:Use multithreading to 2022-09-03 #Linux
How to Use frp Foreword:Project address: https://github.com/fatedier/frp 0. Introductionfrp is a fast reverse proxy to help you expose a local server behind a NAT or firewall to the Internet. frps runs on the server 2022-08-31 #frp
PySide2 uses QLabel to insert a image 12pixmap = QPixmap('model.png')label.setPixmap(pixmap) 2022-08-10 #PySide2
PySide2 Common List Components -- QTableView QListView 1. QListViewOfficial Document: https://doc.qt.io/qt-5/qlistview.html 1.1 QListView shields double - click editing1listView.setEditTriggers(QAbstractItemView.NoEditTriggers) 1.2 QListView Display Data 2022-08-10 #PySide2