Baileys 轻量级 WhatsApp Web API
Baileys 是一个轻量级全功能typescript/javascript WhatsApp Web API。 Baileys 不需要 Selenium 或任何……...
CAF —— C++ actor 模型框架,借鉴了 erlang 和 akka 的actor思想。使用C++现代编程规模实现。特点是:轻量级、分布式、简单、可适应以及无锁。
下载和构建:
gitclonehttps://github.com/actor-framework/actor-frameworkcdactor-framework./configuremakemakeinstall[asroot,optional]
示例代码:
#include<string>#include<iostream>#include"caf/all.hpp"usingnamespacestd;usingnamespacecaf;behaviormirror(event_based_actor*self){//returnthe(initial)actorbehaviorreturn{//ahandlerformessagescontainingasinglestring//thatreplieswithastring[=](conststring&what)->string{//prints"HelloWorld!"viaaout//(thread-safecoutwrapper)aout(self)<<what<<endl;//terminatesthisactor//('become'otherwiseloopsforever)self->quit();//reply"!dlroWolleH"returnstring(what.rbegin(),what.rend());}};}voidhello_world(event_based_actor*self,constactor&buddy){//send"HelloWorld!"toourbuddy...self->sync_send(buddy,"HelloWorld!").then(//...waitforaresponse...[=](conststring&what){//...andprintitaout(self)<<what<<endl;});}intmain(){//createanewactorthatcalls'mirror()'automirror_actor=spawn(mirror);//createanotheractorthatcalls'hello_world(mirror_actor)';spawn(hello_world,mirror_actor);//waituntilallotheractorswehavespawnedaredoneawait_all_actors_done();//runcleanupcodebeforeexitingmainshutdown();}
Baileys 是一个轻量级全功能typescript/javascript WhatsApp Web API。 Baileys 不需要 Selenium 或任何……...
NLnet实验室 Name Server Daemon(NSD)是权威的DNS服务器。 它被开发用于在速度,可靠性,稳定性和安全……...
Nesty是什么? Nesty是跨平台的,面向对象的C语言开发框架。Nesty旨在为从事系统开发的编程人员提供一套……...
smash 是一个类 Unix 的内核,实现了基于分段和分页的内存管理,单个进程最大 4GB 虚拟地址空间,支持 mi……...
PAT(Persistent Applications Toolkit) Like many other software it simplifies developing of persiste……...
lbs是一款比较小众的博客程序,是基于微软的 ASP 环境运行的。 ...
rage 是一个简单、现代、安全的文件加密工具,使用 age 格式。它的特点是小的显式密钥,没有配置选项,以及UNIX风格的可组合性。 Usage: rage [--encrypt] -r RECIPIENT [-i IDENTITY] [-a] [-o OUTPUT] [INPUT] ……
Yac 是为PHP实现的一个基于共享内存, 无锁的内容CacheYac的两个应用场景:1.让PHP进程之间共享一些简单的数据2.高效地缓存一些页面结果假设PHP以PHP-FPM运行,Yac和Pcache缓存的用户内容User Cache就像Opcache一样,……
MRM,即 MariaDB and MySQL Replication Management ,是管理 MariaDB 10.x 和 MySQL&Percona Server 5.7 GTID 复制拓扑的高可用解决方案。 主要特性 复制监视 拓扑检测 从属掌控升级(切换) 主从选举故障检……