#network-instituteUnmoderated tagAll postsTrending CommunitiesSteemitCryptoAcademyNewcomers' Communityআমার বাংলা ব্লগKorea • 한국 • KR • KOAVLE 일상STEEM CN/中文WORLD OF XPILARSteem POD TeamTron Fan ClubBeauty of CreativitySteem AllianceComunidad LatinaExplore Communities...#network-instituteTrendingNewPayoutsMutedlemooljiang (73)蒋老师in STEEM CN/中文 • 5 months agoSupervisor管理python web服务 / 网络研习社#88Supervisor就是用Python开发的一套通用的进程管理程序,能将一个普通的命令行进程变为后台daemon,并监控进程状态,异常退出时能自动重启。…lemooljiang (73)蒋老师in STEEM CN/中文 • 9 months agosharp分割图片 / 网络研习社#87最近在开发AI绘图时,Midjourney生成图像时是一次就是四张,并且这四张是长一起的!分析了一下这张图片,其实这并不是一张小图,而是一张大图(7M以上)!它其实就是成品,并不需要额外地再去放大生成一次!discord中要再次生成,估计也是想要你多消费吧。获取的数据如下: {lemooljiang (73)蒋老师in STEEM CN/中文 • 11 months agolinux文件权限梳理 / 网络研习社#86linux的文件权限颇为复杂,简单地读下资料是很难弄明白的,非得实践多次才能完全整明白。以前我是对权限不太重视,不管在哪,都是一个root通行天下。现在有多人协作,以及安全性方面的考虑,需要适当地避免root而使用普通用户的角色。…lemooljiang (73)蒋老师in STEEM CN/中文 • last yearMongodb数据库遍历 / 网络研习社#85Mongodb是个简单易用、拓展性极强的数据库。对它的查询和遍历说不上难,但也有些技巧在的。 条件查询 //增加查找条件lemooljiang (73)蒋老师in STEEM CN/中文 • last yearHTTP 响应状态码 / 网络研习社#84如果有朋友找你借钱,你会如何回复呢?你肯定会说:那得看情况啊。如果只是借个几百块应个急,那就二话不说转过去了。如果要借个几万,你估计得说你得想想。如果要借几百刀,你估计就得直接回绝了:没那么多钱啰!如果把这些回应放在服务器上,道理也差不多。lemooljiang (73)蒋老师in STEEM CN/中文 • last yearMongoDB的权限和角色 / 网络研习社#83用户权限管理 mongosh lemooljiang (73)蒋老师in STEEM CN/中文 • last yearMongoDB的数据结构和字段 / 网络研习社#82MongoDB非常灵活,不需要像MySQL一样创建数据库、表、设计表结构。它只需要向指定的数据库集合插入即可(数据库不存在也没关系,可以随时自动创建)。…lemooljiang (73)蒋老师in STEEM CN/中文 • last yearBcrypt给用户系统加密 / 网络研习社#81MongoDB开发还蛮顺利,操作什么的基本也都摸熟了。现在开始设计数据库的格式和用户系统。在用户系统中的用户密码是需要加密保存的,用什么加密比较好呢? Bcrypt是不错的方案! 在网上查了不少方法,…lemooljiang (73)蒋老师in STEEM CN/中文 • last yearMongoDB的安装与运行 / 网络研习社#79自研究区块链以来,就没再碰数据库了!博客就用Hive,代码就用github, 一般都够用,就不去折腾MySQL、MongoDB这些了。…lemooljiang (73)蒋老师in STEEM CN/中文 • 2 years agoOpenAI关键词技巧 / 网络研习社#78和AI的交流就好比是两个人之间的交流一样,言语要通。和AI的沟通也要说些它能听懂的"语言",这就是关键词(prompt)技巧了。 OpenAI在文档中展示了不少的使用场景和提词技巧,自己可以总结总结,如下: 翻译…lemooljiang (73)蒋老师in STEEM CN/中文 • 2 years agoOpenAI开发指南 / 网络研习社#77这是OpenAI js版开发指南,打开即用。 let express = require('express')lemooljiang (73)蒋老师in STEEM CN/中文 • 2 years agoGo语言学习笔记目录 下载与资源 安装和配置 快速启动goland的方法 liteide 基础 工程管理 变量 常量const…lemooljiang (73)蒋老师in STEEM CN/中文 • 3 years ago前端跨域失败的非常见原因 / 网络研习社#76昨天在开发一个项目时被跨域失败的问题折腾了一天!几乎所有的解决方案都轮个来了一遍,也还是没有解决!…lemooljiang (73)蒋老师in STEEM CN/中文 • 4 years ago多国语言组件vue-i18n / 网络研习社#75vue-i18n是个非常实用的多国语言组件!当你的网站要配置多种语言的界面时,用它是首选。用起来倒也容易,翻下手册,看几个实用的案例,就基本上八九不离十啰。可以说,上手的成本挺小的。 参考手册 npm install vue-i18n --savelemooljiang (73)蒋老师in STEEM CN/中文 • 4 years ago在前端中查询币价 / 网络研习社#74在前端中有一个显示币价的功能,那么就要实时查询到这个币价。因为平时也是用coinmarketcap查看行情的,所以,第一时间也是想到用它来实现这个功能。 先找来它的开发文档,注册帐号,获得API KEY,然后是测试查询! this.axios.request({lemooljiang (73)蒋老师in STEEM CN/中文 • 4 years agoVue中定时刷新数据 / 网络研习社#73定时刷新数据好像是一个蛮普遍的需求,比如每秒刷新交易价格、每秒刷新挖矿产出...... 每少刷新肯定是要用到定时器的功能,刷新数据是要用到查询接口,这两者结合就可以实现定时刷新数据的目的。 实现定时功能 //得到当前时间lemooljiang (73)蒋老师in STEEM CN/中文 • 4 years agoUbuntu 20.04中安装ssl证书 / 网络研习社#72Ubuntu版本升级得很快啊,一年就是一个大版本的更新!以至于好不容易使用上有了点心得,很快就落伍了,而不得不再次更新!…lemooljiang (73)蒋老师in STEEM CN/中文 • 4 years ago智能合约中判读字符串相等 / 网络研习社#71Solidity中很多方法都很底层,比如开发中很常见的迭代和判断字符串相等的方法都没有,必须要自己写个方法来实现。可能已有些库已实现类似的方法,不过总归是要麻烦不少。相比起来,JavaScript自己就带了很多原生的方法,用起来也很顺手。lemooljiang (73)蒋老师in STEEM CN/中文 • 4 years agoVue中父子组件的互动 / 网络研习社#70Vue通常是采用组件的形式开发,这种模块化的思想大大加快了开发的进度。如上图所示,这种 弹窗是典型的父子组件的设计,它们之间是如何共享数据的呢? 父组件向子组件传值传方法 分两步走:…lemooljiang (73)蒋老师in STEEM CN/中文 • 4 years agokeychain在前端中的使用 / 网络研习社#69较之于MataMask在以太坊中的应用,Keychain就是在Steem中的应用。这两者都是去中心化的钱包,嵌入到浏览器中,帮你存储私钥。…