#cn-devUnmoderated tagAll postsTrending CommunitiesSteemitCryptoAcademyNewcomers' Communityআমার বাংলা ব্লগKorea • 한국 • KR • KOSTEEM CN/中文Steem AllianceSteem POD TeamAVLE 일상WORLD OF XPILARBeauty of CreativitySCT.암호화폐.CryptoTron Fan ClubExplore Communities...#cn-devTrendingHotNewPayoutsMutedety001 (72)in #tools • 4 months ago零碎脚本执行利器 -- 青龙面板 | A powerful tool for executing fragmented scripts -- Qinglong Panel.今天发现了一个有意思的工具 —— 青龙面板 。 平时经常会有一些零零碎碎的脚本需要运行,放在宿主机运行,就要安装 nodejs 的环境,如果放在 docker 里运行,就要写 Dockerfile ,太繁琐。…ety001 (72)in #react • 6 months agoReact 中 useEffect 的依赖项如何理解在 React 中,useEffect 的依赖项决定了其什么时候执行。 基本语法 useEffect 接受两个参数: 副作用函数:在组件渲染后或依赖项发生变化时执行的函数。…ety001 (72)in #cn • 6 months agoredux-saga 如何与 @reduxjs/toolkit 配合使用?前情 Steemit 的几个前端项目( condenser , wallet , faucet )都使用了 redux 和 redux-saga。 这次升级 faucet 所有依赖库,发现新版本 redux…ety001 (72)in #js • 6 months ago使用 createRoot 方法,报 React is not defined 错误由于 faucet 项目全部是手动搭建的环境,所以在把 react15 升级到 react18 后, import { createRoot } from 'react-dom/client';ety001 (72)in #js • 6 months agoredux , react-redux 和 redux-saga 什么区别Redux、React-Redux 和 Redux-Saga 是前端开发中常用的状态管理和异步数据处理工具。它们各自有不同的功能和用途。 1. Redux Redux 是一个用于 JavaScript…ety001 (72)in #cn • 6 months ago如何让 jest 在 ESM 下正常工作最近在弄 faucet 的重构工作 ,因为要全面使用新的依赖和模式,遇到了很多问题。 比如最近一周一直被 jest 无法在 ESM 模式下工作的问题卡住。 搜索引擎 + chatgpt 多方面的尝试都没有找到有效方案。…ety001 (72)in #dev • 10 months ago[Tips] Make sure you have set correctly when you use `account-history-rocksdb` pluginRecently when we read the source code of Steem, we found that we have a wrong setting instruction about tracking…ety001 (72)in #dev • 10 months ago[Demo Code] Pagination of the data from the `condenser_api.get_account_history` API in ascending or descending orderimport steem from 'steem';ety001 (72)in #cn • 2 years agoChomebook 配置真文韵输入法的翻页使用逗号和句号真文韵输入法 是 fydeOS 团队开发的,基于 RIME 引擎,针对 ChromeOS 的输入法集成。 给中文用户第三方输入法选择方案。 但是目前还处于早期阶段,因此 UI 配置界面很简陋,可以自己通过…ety001 (72)in #cn • 2 years ago搭建 wireguard 中继服务器连通两个没有公网IP的局域网前置信息 之前两个局域网是靠 zerotier 连接的,但是 zerotier 在国内的网络环境实在是太糟糕了,即使我用了黑科技在国内服务器上搭建两 planet ,依旧是不稳定。 于是放弃 zerotier ,转而使用…ety001 (72)in #cn • 2 years agoSteem 序列化相关内容以下内容是 chatgpt 生成的,还未经过验证,仅作参考。 Transaction 序列化 在 Steem 中,Transaction 的序列化顺序如下: 序列化 Transaction 版本号…ety001 (72)in #cn • 2 years ago记录下 Redmi AX6 扩容刷机过程前情提要 前段时间刷机,因为 官方文档 的问题,我把路由刷成砖了。 然后尝试了 ttl 救砖,一开始能进 uboot ,后来因为刷错了,导致 uboot 也挂了。…ety001 (72)in #cn • 2 years ago配置 duncanthrax/scream 虚拟声卡我的服务器宿主机安装的是 PVE,上面跑着一台 Archlinux 的虚拟机作为工作机(显卡、键盘、鼠标、USB声卡直通),一台 Windows 的虚拟机作为辅助(在 Archlinux 下使用 KRDC…ety001 (72)in #cn • 2 years ago调整声卡程序的采样率最近服务器加装了带供电的 PCIe 转 USB 的板卡,然后发现接在上面的 USB 声卡,挂载到 Linux 的虚拟机里有噪音,但是挂载到 Windows 的虚拟机里没有噪音。…ety001 (72)in #cn • 2 years agosteemCreated with Sketch.使用 rclone 连接 WebDAV 并提供 Web Api 给 nginx最近调整了 Steem 区块数据的备份服务,使用了新的服务商 Hetzner。 由于 Hetzner 提供了多种上传下载数据的方式,我测试了 rsync,samba,webdav,目前决定使用 webdav,通过牛逼的 rclone…ety001 (72)in #cn-dev • 3 years ago快速搭建一个SMTP邮件服务由于最近一台VPS要到期不打算续费了,上面有一个SMTP发邮件的服务,因此需要转移。 当时配置的时候,是直接在宿主机搞的,转移起来有些麻烦。 为了以后转移方便,这次打算使用 docker 部署。…ety001 (72)in #cn • 3 years agosteemCreated with Sketch.The different of date command in Ubuntu and Alpine.Today I found the date command has different performance when I develop a bash shell. In Ubuntu OS: -> % date…ety001 (72)in #witness • 3 years ago「Witness Update 2022-05-14」Post Article to Steem as Schedual Recently I optimized my posting tool Post-Article-As-Schedual . I made this…ety001 (72)in WhereIN • 3 years agoChromebook 使用 flatpak 来管理应用之前使用 Chromebook 内置的 Linux 容器,一直都是用系统自带的 apt 包管理程序,但是很多常用的社交软件都不在 apt 包管理中,比如 slack, telegram, discord 等等。…ety001 (72)in #witness • 3 years agoSteemDataBackup Service has finished maintanceThe serivice of steem data backup has finally finshed maintance.( ) The server's one disk was broken down in…