Tag:note

  • Vscode+shutter+ real machine debugging

    Time:2022-6-7

    Flutter learning notes 1. Do not rely on Android studio to install flutter (MacOS)https://zhuanlan.zhihu.com/p/… 2. In bash_ Setting variables in profilereference resourceshttps://flutterchina.club/set… export PUB_HOSTED_URL=https://pub.flutter-io.cn export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn 3. The flutter command does not take effect every time. It is necessary to reconfigure the environment variableshttps://blog.csdn.net/weixin_… 4. Add in vscode ADB Interface for VSCode 5. The ADB […]

  • Build personal cloud notes using typora+picgo+oss+git+github/ code cloud

    Time:2022-5-31

    Set up personal cloud notes For programmers, using markdown can help us write quickly and write notes with good typography and high appearance. Using markdown to write documents is much simpler and faster than using word There are many markdown editing clients on the market. From various experience, it is recommended to useTyporaReal time rendering […]

  • Springboot 2.6.3 integrated redis stepped on the pit

    Time:2022-5-26

    The integration steps are as follows: development tools: idea2019, JDK1.8, maven 3.5.4 Idea creates a new project, selects spring initializer, selects spring boot version 2.6.3 (the latest version at present), and adds web, and redis modules. After successful construction, the POM file is as follows: <?xml version=”1.0″ encoding=”UTF-8″?> <project xmlns=”http://maven.apache.org/POM/4.0.0″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd”> <modelVersion>4.0.0</modelVersion> <parent> […]

  • Microservice architecture | 1 Basic knowledge of microservices

    Time:2022-5-26

    catalogue preface 1. Distributed theory 1.1 cap theory of distributed computing system 1.2 base theory 2. Development history of microservice architecture 2.1 single structure 2.2 clustering and verticalization 2.3 SOA (Service Oriented Architecture) 2.4 micro service architecture 2.4.1 concerns of SOA and micro service architecture 3. Overview of cloud computing 3.1 several modes of cloud […]

  • Translate Chapter 9 details of JavaScript everywhere (^ ^)

    Time:2022-5-21

    Translate Chapter 9 details of JavaScript everywhere (^ ^) Write at the beginning Hello, I’m Mao Xiaoyou, a front-end development engineer. Is translating an English technical book. In order to improve everyone’s reading experience, the structure and content of the sentence are slightly adjusted. If you find any flaws in this article, or you have […]

  • R for Data Science (notes) — data sorting (sorting and merging)

    Time:2022-5-16

    R for Data Science R for Data Science After thinking about it, I still want to make a note directory, which can facilitate query R for Data Science (note) — data transformation (used by filter) R for Data Science (note) — data transformation (select basic use) R for Data Science (note) — data transformation (select […]

  • [shortest path of layered graph] [learning notes]

    Time:2022-5-12

    [shortest path of layered graph] [learning notes] Example 1analysis:If f [i] [J] is set to go from 1 to I, the edge weight of J paths has been specified as 0, and the minimum value of the sum of edge weights, then there is f[i][j]+w[i,y]——>f[y][j], f[i][j]——>f[y][j+1],\((i,y)\in E\) f[1][0]=0.Then the answer is f [n] [k]In fact, […]

  • C#tcp communication

    Time:2022-5-3

    C # based on socket client and server communication Server Server interface Server code public partial class FormMain : Form { private List<Socket> ClientSockets; private BindingList<string> ClientIPPorts; private Socket socketWatch; private Socket socketSend;// send out private bool IsStart; private Action<string> ShowMsgAction; private Action UpdateListViewDataAction; public FormMain() { InitializeComponent(); ShowMsgAction += new Action<string>(ShowMsg); UpdateListViewDataAction += new […]

  • One of the design patterns — singleton pattern

    Time:2022-5-3

    1. Singleton mode 1.1 definitions What is singleton mode? Singleton mode is also called singleton mode. Its purpose is to ensure that a class has only one instance in the system and provide a global access point to access it. Many times, the whole system only needs to have ⼀ global objects, which is conducive […]

  • Two methods of c# obtaining file name and file path

    Time:2022-5-3

    Two methods of c# obtaining file name and file path Method 1 Method 2 Method 1 OpenFileDialog open = new OpenFileDialog(); open.RestoreDirectory = true; string fullname = open.FileName; string path = System. IO. Path. GetDirectoryName(fullname);// route string name = System. IO. Path. GetFileName(fullname);// name Method 2 OpenFileDialog open = new OpenFileDialog(); open.RestoreDirectory = true; string […]

  • Daily Note 1: intercept the text content in the rich text editor

    Time:2022-5-2

    Series articles: Daily Note 1: intercept the text content in the rich text editor Daily Note 2: get pictures in rich text editor Daily Note 3: upload Base64 pictures to local /** *@ param $STR content *@ param $len length *@ param string $suffix * @return string|string[] */ public function cut_str($str, $len, $suffix = “…”) […]

  • The difference between int, int8, int16, int32, Int64 and uint in golang

    Time:2022-4-30

    The difference between int, int8, int16, int32, Int64 and uint in golang preface test result conclusion summary preface When learning go language, you will often encounter various types of int in go language when doing algorithm problems. Why are there types of int, int8, int16 and so on? Why not just an int type like […]