草庐IT

STATUS_PUBLISH

全部标签

Obsidian Publish的开源替代品Perlite

前几天就有网友跟我说,freenom的免费域名不可用了,10号的时候老苏进后台看了一下,还有一半的域名显示为ACTIVE,似乎是以2024年6月为限。但到11号,老苏发现博客(https://laosu.cf)已经访问不了了,这时候再进freenom后台,所有域名的状态都已经全部变成PENDING了。截至目前,freenom尚未就回收免费域名的具体理由向公众作出官方解释,但可以肯定的是,不管什么原因,freenom的免费域名以后肯定是用不了了即日起,博客正式启用域名:https://laosu.tech本文软件由朋友Eduna推荐;什么是Perlite?Perlite是针对Obsidian优化

C++11 future.wait_for() 总是返回 future_status::timeout

我有一个C++11程序来检查一个数是否为素数。程序等待准备就绪的future对象。准备就绪后,程序会告知future对象的提供者函数是否认为该数字是质数。//futureexample#include//std::cout#include//std::async,std::future#include//std::chrono::millisecondsconstintnumber=4;//444444443//anon-optimizedwayofcheckingforprimenumbers:boolis_prime(intx){for(inti=2;ifut=std::async

c++ - collect2.exe : error: ld returned 5 exit status

我最近更新了所有msys2包,现在我无法构建我的项目。错误发生在链接其中一个.dll-target_library.dll时。我不清楚错误消息。状态5是什么意思?collect2.exe:error:ldreturned5exitstatus完整消息:g++-Wl,-s,--relax,--gc-sections-shared-Wl,-subsystem,windows-mthreads-Wl,--out-implib,C:/msys64/workspace/Project_Root_Directory/project/src/../build/release/plugins/libt

自建K8S一年多没用,忽然想使用下。kubelet启动失败,报错:main process exited, code=exited, status=255/n/a

通过systemstatuskubelet查看报错,基本没有什么有效信息,所以使用journalctl-xefukubelet就可以看到以下报错:Jan1620:49:17masterkubelet[3824]:I011620:49:17.402577  3824server.go:425]Version:v1.15.0Jan1620:49:17masterkubelet[3824]:I011620:49:17.402770  3824plugins.go:103]Nocloudproviderspecified.Jan1620:49:17masterkubelet[3824]:I011620

adb.exe:端口被占用 failed to check server version: protocol fault (couldn‘t read status): connection res

adb用着用着不行了。。然后使用命令行adbdevices就报错。解决方案也很简单。杀死占用5037的程序。然后重启adb先使用adbdevices看下是否报错adbdevices 报错后执行netstat-aon|findstr5307会找到一个进程。针对这个进程可以看下是什么程序tasklist|findstr13440一看是chrome.exe的进程,那么也很简单第一种命令行杀死进程taskkill/pid13440/f第二种Ctrl+Shift +Esc呼出任务管理器杀死chrome即可最后一步重启adbadbstart-server治标不治本啊。下次还会被抢占端口。解决端口占用的方法

【Flink】FlinkRuntimeException: Cannot read the binlog filename and position via ‘SHOW MASTER STATUS‘

执行flinkcdc报错错误明细:io.debezium.DebeziumException:org.apache.flink.util.FlinkRuntimeException:Cannotreadthebinlogfilenameandpositionvia'SHOWMASTERSTATUS'.Makesureyourserveriscorrectlyconfigured atcom.ververica.cdc.connectors.mysql.debezium.task.MySqlSnapshotSplitReadTask.execute(MySqlSnapshotSplitReadT

ios - EarlGrey 失败 - "Keyboard did not disappear after resigning first responder status"

我正在尝试为我的登录页面编写UI测试。该页面有一些介绍动画、一个搜索字段(用于查找要连接的正确服务器),然后一旦他们选择了正确的服务器,就会出现一个用户名和密码字段。到目前为止,这是我的测试:[[EarlGreyselectElementWithMatcher:grey_accessibilityID(@"searchTextField")]assertWithMatcher:grey_sufficientlyVisible()];[[EarlGreyselectElementWithMatcher:grey_accessibilityID(@"searchTextField")]pe

ios - NavigationBar Hide on Swipe 后,Cells 出现在 HeaderCell 和 Status Bar 之间一秒钟

编辑:我尝试在AppDelegateDidFinishLaunch..中添加letview:UIView=UIView.init(frame:CGRectMake(0,0,UIScreen.mainScreen().bounds.size.width,25))view.backgroundColor=UIColor.redColor()view.alpha=1self.window!.rootViewController!.view.addSubview(view)在我将状态栏更改为红色后,我阻止它进入状态栏下方,但我意识到它不仅仅是状态栏,导航栏在滑动时发生了一些变化。内容单元格会在

How to publish package to pypi in github ci

TopublishapackagetoPyPIusingGitHubCI,youcanfollowthesesteps:CreateaPyPIaccount:Beforepublishingapackage,youneedtocreateanaccountonPyPI(https://pypi.org/)ifyoudon’thaveonealready.GeneratePyPIAPItoken:OnceyouhaveaPyPIaccount,generateanAPItoken.GotoyourPyPIaccountsettingsandcreateanewAPItoken.Makesuret

使用Publish-Module发布PowerShell模块到VSTS软件包管理

我正在尝试将我的PowerShell模块发布到VSTS软件包管理供稿。到目前为止,我已经:$securePass=ConvertTo-SecureString-String$RepositoryPassword-AsPlainText-Force$cred=New-ObjectSystem.Management.Automation.PSCredential($RepositoryUsername,$securePass)Write-Debug"AddingtheRepository$RepositoryName"Register-PSRepository-Name$RepositoryNam