An implementation of adding assembly instructions to support the context and switch of cooperation

Data structure of 1 operation stack typedef struct asm_cctx_s { void **sp; } cctx_s; This data structure comes from https://github.com/ramonza/libcoro . In addition to the extensibility of cctx ﹣ us, this paper also likes the way of using the second level pointer sp to operate the stack, so we ...

Posted on Tue, 11 Feb 2020 09:31:03 -0500 by armyguydave69

Connection and use of Git and Github

Connection and use of Git and Github Foreplay: Git installation 1. Sign up for Github account and create project. To use git to upload a project to GitHub, you need to have a GitHub account first. If you don't register, you need to register first. Address: https://github.com/login if you don't have ...

Posted on Tue, 11 Feb 2020 05:21:32 -0500 by earthlingzed

Open source virtual machine Bochs installation and stepping on the pit

Because you want to write a simple operating system, you need to install a virtual machine to simulate the hardware. VMware is not suitable for this scenario, because you will use hardware level virtualization, and bochs, the open-source virtual machine, uses software to virtualize all the hardware, so debugging can be very fine-grained. For ex ...

Posted on Tue, 11 Feb 2020 04:26:15 -0500 by racer x

Anti new coronavirus: data analysis with pandas

# default_exp province # The above line is used to declare the name of this module in nbdev. Must be the first row of the first Cell of the notebook. province Description: fight against new coronavirus (5) - use pandas for data analysis Function: load the data/china.csv file for drawing output and analysis. Module: using jupyterab, p ...

Posted on Mon, 10 Feb 2020 10:22:43 -0500 by highphilosopher

Unit test of Go language foundation

Development without writing tests is not a good programmer. I personally advocate TDD (Test Driven Development), but unfortunately, domestic programmers do not pay much attention to the test part. This article mainly introduces how to do unit test and benchmark in Go language. go test tool Tests in the Go language rely on the go test command. W ...

Posted on Mon, 10 Feb 2020 10:21:20 -0500 by lucasmontan

pyecharts V1.x uses Map to Map epidemic situation

pyecharts V1.x uses Map to Map epidemic situation Pyecharts is a class library used to generate Echarts diagrams. The visualization of diagrams generated by Echarts is very good. Compared with the use of gis desktop product mapping, the use of pyecharts to make maps, less vector data restrictions, as ...

Posted on Mon, 10 Feb 2020 08:53:52 -0500 by dcro2

Taodong E-commerce Project (05) - Swagger and Gateway Unified Management API

Introduction In the previous section Taodong E-commerce Project (04) - Registry and Feign Remote Calls It mainly explains the registry and the use of Feign remote calls. The code has been submitted to Github (version number: 8e89a7b9c7d01685c45f11f5449d95ede0293b), and interested students can downlo ...

Posted on Sun, 09 Feb 2020 22:15:13 -0500 by Woad.php

iOS reverse -- Introduction to otool command

First, you can try your own ipa package. Select your ipa package, change the suffix to zip, and extract it to the Payload folder, which is your APP. Open the terminal and cd it directly to your xxxx.app directory. For details, enter cd, and then drag xxxx.app directly to the terminal to enter. Then input otool Will get ...

Posted on Sun, 09 Feb 2020 15:06:17 -0500 by brett

Notes on leitcode 105. Construction of binary trees from traversal sequences of preorder and middle order

105. Constructing binary trees from traversal sequences of preorder and middle order Subject requirements Grammar learning next Title Solution Playgoud tracking output Subject requirements A binary tree is constructed according to the preorder traversal and the middle order traversal of a tree ...

Posted on Sun, 09 Feb 2020 13:06:43 -0500 by EddieFoyJr

Leetcode 473: match square (super detailed solution!!!)

Remember the fairy tale little match girl? Now, you know how many matches the little girl has. Please find a way to use all the matches to make a square. You can't break a match, you can connect the matches, and every match needs to be used. Enter the number of matches that the little girl has, and each ...

Posted on Sat, 08 Feb 2020 03:42:44 -0500 by Galia