[笔记]C# 基本语法

前言:最近在维护一个获取http接口的数据然后填充到Excel的工具,于是接触到了C#,总体感觉下来,C#关键字多,语法多,功能强大,LIN

Lua基本使用

前言:最近在了解API网关apisix, 其中的配置都是用的lua, 于是开始了解lua。 语法 注释 行注释 -- 块注释 1 2 3 --[[块 注释 --]] 变量 布尔类

Starlette源码笔记

简介 Starlette是一个轻量的基于ASGI协议的web框架, 一个简单app如下: 1 2 3 4 5 6 7 8 async def app(scope, recieve, send): assert scope["type"] == "http" body = b"hello: " request = Request(scope, recieve) async for chunk

Uvicorn源码笔记

简介 Unicorn是一个遵守ASGI协议的web服务器,使用asycnio框架,要求python3.6+,支持HTTP1.1和WebSock

ASGI摘抄

Asynchronous Server Gateway Interface Onverview two components protocol server: terminates socket and translates them into connections and per-connection event messages application: lives in inside a server, is instantiated once per connection, and handles event messages as they happen difference between two components applications are instant objects that are fed events rather than simple callable, and must run as asyncio-compativle corountines two separate parts of a connection: a connection scope; events

gunicorn笔记

简介 gunicorn是一遵守WSGI协议的web服务器, 其整体架构是Master/Workers模型。master进程通过信号机制管理wor

Saul

前言:为了记录我认识的Saul, 于是有了这篇 今年春节在柬埔寨的大象自然公园做了一周志愿者,去的初衷其中一方面的原因是想近距离接触一下这个只在

Go语言基础笔记

基本组成结构 1 2 3 4 5 6 7 packge main // 包名 import "fmt" /* 导入依赖包 */ fun main() { /* 主函数 */ fmt.Println("Hello, World!") } 数据类型 基本类型 布尔型: ture or false 数字类型: int, float32, float64 字符串类型 string 派生类

柬埔寨大象自然公园的一周

缘起 19年国庆时无意在豆瓣上看到一个人写因为母亲去世想排解一些内心的伤痛而去泰国的大象自然公园度过一周,无意勾起了我对奶奶的思念。这个陪伴我

MySQL事务隔离

四种隔离级别 读未提交(read uncommitted): 事务还未提交时能被其他事务看到 读提交(read committed): 事务提交后才能被