V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  narmgalaxy  ›  全部回复第 9 页 / 共 20 页
回复总数  400
1 ... 5  6  7  8  9  10  11  12  13  14 ... 20  
yapi
2020-12-29 20:57:06 +08:00
回复了 KnightNic 创建的主题 macOS 请教 electron 解包与打包
一楼正解
我记得是因为 wsl2 是虚拟机,占用了一部分端口
https://www.cnblogs.com/zsmumu/p/13389816.html
2020-12-24 13:16:23 +08:00
回复了 neo2020 创建的主题 酷工作 还有创业求组队或缺人手的吗
我的技术栈:Golang,前端,Android/Flutter.
2020-12-15 10:15:13 +08:00
回复了 odi 创建的主题 推广 天又冷了要过年了。进口红酒第四年... [抽奖 3 瓶]
来了来了
2020-12-12 11:58:04 +08:00
回复了 Creolophus 创建的主题 Apple M1 8G 内存 air 编译 Flutter 大型工程吊打 Intel 16 寸 16GB MBP.....
有具体的数值对比嘛
支付宝口令红包?不过口令红包好像只能支持一个口令
你可以研究一下 scrcpy
2020-12-05 10:54:26 +08:00
回复了 dadaoqueyi 创建的主题 Go 编程语言 golang 真的简单嘛
@SignLeung 不清楚你说的卡是指什么.可以给个例子吗
2020-12-04 21:09:48 +08:00
回复了 dadaoqueyi 创建的主题 Go 编程语言 golang 真的简单嘛
问我问我,我用 mongogodriver 好长时间了,基本的坑也踩过了
@juded 不太懂什么意思
2020-11-25 10:44:38 +08:00
回复了 wushigejiajia01 创建的主题 Java [求助] Java 操作 mongodb
我也是一样的版本。
在 aggreagate 里操作,
2020-11-25 09:28:14 +08:00
回复了 wushigejiajia01 创建的主题 Java [求助] Java 操作 mongodb
@wushigejiajia01 不是好像,这个就是。
2020-11-25 09:26:47 +08:00
回复了 wushigejiajia01 创建的主题 Java [求助] Java 操作 mongodb
我这个是自动生成的。用的 studio 3t.
2020-11-24 20:04:09 +08:00
回复了 wushigejiajia01 创建的主题 Java [求助] Java 操作 mongodb
// Requires official Java MongoDB Driver 3.6+
import com.mongodb.Block;
import com.mongodb.MongoClient;
import com.mongodb.MongoException;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import java.util.Arrays;
import java.util.List;
import org.bson.BsonNull;
import org.bson.Document;
import org.bson.conversions.Bson;

public class Program {

public static void main(String[] args) {

try (MongoClient client = new MongoClient("localhost", 27017)) {

MongoDatabase database = client.getDatabase("bijiduo");
MongoCollection<Document> collection = database.getCollection("docInfo");

// Created with Studio 3T, the IDE for MongoDB - https://studio3t.com/

Block<Document> processBlock = new Block<Document>() {
@Override
public void apply(final Document document) {
System.out.println(document);
}
};

List<? extends Bson> pipeline = Arrays.asList(
new Document()
.append("$match", new Document()
.append("sessionId", new Document()
.append("$in", Arrays.asList(
"1249264194773536859"
)
)
)
.append("channel", 3.0)
.append("senderType", 2.0)
),
new Document()
.append("$group", new Document()
.append("_id", new Document()
.append("sessionId", "$sessionId")
.append("targetId", "$targetId")
)
.append("count", new Document()
.append("$sum", 1.0)
)
),
new Document()
.append("$match", new Document()
.append("tcount", new Document()
.append("$gt", 2.0)
)
),
new Document()
.append("$group", new Document()
.append("_id", new Document()
.append("targetId", "$_id.targetId")
)
.append("count", new Document()
.append("$sum", 1.0)
)
),
new Document()
.append("$group", new Document()
.append("_id", new BsonNull())
.append("count", new Document()
.append("$sum", 1.0)
)
)
);

collection.aggregate(pipeline)
.allowDiskUse(false)
.forEach(processBlock);

} catch (MongoException e) {
// handle MongoDB exception
}
}

}
2020-11-19 20:41:25 +08:00
回复了 aa69489437 创建的主题 奇思妙想 有合作开发的小伙伴么,一起来哈。
我能提供前端,后端,go,java,python 都可以写
。android,用 flutter 的的话 ios 也行
2020-11-19 10:49:33 +08:00
回复了 wuvvu 创建的主题 程序员 仿做一个疫情地图,需要搜索什么关键字
antv
2020-11-10 09:58:30 +08:00
回复了 kisshere 创建的主题 程序员 windows 下最好用的 scp OR sftp 客户端是什么?
bitvise+1
嗨呀,又来了来了
1 ... 5  6  7  8  9  10  11  12  13  14 ... 20  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1007 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 34ms · UTC 18:55 · PVG 02:55 · LAX 11:55 · JFK 14:55
Developed with CodeLauncher
♥ Do have faith in what you're doing.