草庐IT

remote_method

全部标签

【连接】mac使用Microsoft Remote Desktop Beta 远程win Error code: 0x104

MicrosoftRemoteDesktopBeta变为Microsoft_Remote_Desktop_10.1.8_installer原因Wecouldn’tconnecttotheremotePCbecausethelicenseforthisdeviceisn’tvalid.Contactyournetworkadministratorforassistance.MicrosoftRemoteDesktopBeta连接失败连接失败Errorcode:0x10422.5.9连接成功172.31.139.189链接:https://pan.baidu.com/s/1_rKQ205o5eWZ

VSCode错误提示:“未能对 git remote 进行身份验证”,请更新git账号信息

异常描述    使用VisualStudioCode从gitee仓库拉取项目代码时,出现了错误提示:未能对gitremote进行身份验证:......(省略项目git地址信息)原因分析    无法验证身份,可以简单的理解为:账号密码错误。        以我本地的Windows系统为例,当我们通过账号密码登录某个系统时,通常会提示我们“是否记住账号信息”,GitLub登录过程也是这样。如果选择记住,这个信息会被记录在Windows凭据中,方便以后免密登录。        当我们在系统上修改了GitLub上密码,却未同步到本地Windows凭据管理器中,导致由于密码错误而无法拉取代码,就会出现“

go - golang规范中方法值部分的 'non-interface method'是什么意思?

TheGoProgrammingLanguageSpecificationsays:Aswithselectors,areferencetoanon-interfacemethodwithavaluereceiverusingapointerwillautomaticallydereferencethatpointer:pt.Mvisequivalentto(*pt).Mv.和:Aswithmethodcalls,areferencetoanon-interfacemethodwithapointerreceiverusinganaddressablevaluewillautomati

go - golang规范中方法值部分的 'non-interface method'是什么意思?

TheGoProgrammingLanguageSpecificationsays:Aswithselectors,areferencetoanon-interfacemethodwithavaluereceiverusingapointerwillautomaticallydereferencethatpointer:pt.Mvisequivalentto(*pt).Mv.和:Aswithmethodcalls,areferencetoanon-interfacemethodwithapointerreceiverusinganaddressablevaluewillautomati

TortoiseGit clone项目时报错:No supported authentication methods available (server sent: publickey)

异常描述:使用TortoiseGit工具将gitee项目clone到本地目录时出现异常,错误提示是:Nosupportedauthenticationmethodsavailable(serversent:publickey),如下图所示:异常翻译:没有可用的支持的身份验证方法(服务器发送:公钥)解决方法:需要修改TortoiseGit网络的SSH客户端为git服务器的ssh.exe操作步骤:1、鼠标右键->TortoiseGit->Settings->Network->SSHClient项,如果TortoiseGit已安装中文语言包步骤为:鼠标右键->TortoiseGit->设置->网络-

成功解决:python爬虫http.client.RemoteDisconnected: Remote end closed connection without response

参考:Python爬虫:http.client.RemoteDisconnected:Remoteendclosedconnectionwithoutresponse问题解决使用python爬虫中的urllib或者requests库获取数据时出现报错:http.client.RemoteDisconnected:Remoteendclosedconnectionwithoutresponse原因:大多数网站都会对用户请求中的User-Agent进行检测,如果没有在请求头中设置User-Agent,那么就会抛出异常改进方法:在headers中添加:User-Agentimporturllib.r

Homebrew:Mac os 使用brew工具时报错No remote ‘origin‘

Homebrew:Macos使用brew工具时报错Noremote‘origin’使用brewupdate时报错:brewupdateWarning:Noremote'origin'in/opt/homebrew/Library/Taps/homebrew/homebrew-cask,skippingupdate!Warning:Noremote'origin'in/opt/homebrew/Library/Taps/homebrew/homebrew-core,skippingupdate!Warning:Noremote'origin'in/opt/homebrew/Library/Tap

git 报错:Updates were rejected because the remote contains work that you do问题

刚开始学习使用git,通过push命令:打算将本地仓库中的文件上传到远端仓库时,报了以下错误:hint:Updateswererejectedbecausetheremotecontainsworkthatyoudohint:nothavelocally.Thisisusuallycausedbyanotherrepositorypushinghint:tothesameref.Youmaywanttofirstintegratetheremotechangeshint:(e.g.,‘gitpull…’)beforepushingagain.hint:Seethe‘Noteaboutfast-

uni-app调用微信小程序接口报错Component “pages/login/login“ does not have a method “onChooseAvatar“

项目场景:在uni-app中尝试使用接口获得用户头像但是出错了问题描述vue中template配置:buttonclass="avatar-wrapper"open-type="chooseAvatar"bind:chooseavatar="onChooseAvatar"> imageclass="avatar"src:avatarUrl>/image> /button>methods配置:buttonclass="avatar-wrapper"open-type="chooseAvatar"bind:chooseavatar="onChooseAvatar"> imageclass="ava

VSCode借助Remote-SSH扩展,远程调试linux系统的机器人

  本文主要介绍使用VSCode借助Remote-SSH扩展,远程调试linux系统的机器人的方法  在我之前的文章:  ROS主机搭建NFS服务器,虚拟机通过挂载访问及修改主机文件  中介绍了采用挂载到的方式进行远程调试的方法,本文将介绍另一种方法,即借助Remote-SSH扩展,在VSode中实现远程调试。  1、通过官网安装VScode(已安装的跳过此步)  https://code.visualstudio.com/  2、安装Remote-SSH扩展  点击VScode的扩展窗口,如下图中的①处所示,搜索Remote-SSH扩展,如下图中的②处所示,并安装,如下图中的③所示:–  3