<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Mr_ELE的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Mr_ELE</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Mr_ELE]]></copyright><item><title><![CDATA[为什么shell base64编码结果与其他结果不同？]]></title><link>https://blog.youkuaiyun.com/Mr_ELE/article/details/120730931</link><guid>https://blog.youkuaiyun.com/Mr_ELE/article/details/120730931</guid><author>Mr_ELE</author><pubDate>Tue, 12 Oct 2021 20:01:20 +0800</pubDate><description><![CDATA[首先我用shell命令:$ echo"teststring"| base64 dGVzdHN0cmluZwo =

但是当我使用在线工具时,http://www.motobit.com/util/base64-decoder-encoder.asp的结果是:dGVzdHN0cmluZw ==

他们为什么不同？

echo输出字符串和末尾的换行符.如果您只想要提供的字符串,请使用echo -n


...]]></description><category></category></item><item><title><![CDATA[etcd Error: context deadline exceeded]]></title><link>https://blog.youkuaiyun.com/Mr_ELE/article/details/120528591</link><guid>https://blog.youkuaiyun.com/Mr_ELE/article/details/120528591</guid><author>Mr_ELE</author><pubDate>Tue, 28 Sep 2021 14:32:15 +0800</pubDate><description><![CDATA[etcd 错误:

{"level":"warn","ts":"2021-09-28T11:39:51.788+0800","logger":"etcd-client","caller":"v3/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0xc0001f0000/#initially=[etcdn1.wos.58dns.org:2379]","attempt":0,]]></description><category></category></item><item><title><![CDATA[Go获取键盘输入]]></title><link>https://blog.youkuaiyun.com/Mr_ELE/article/details/112514774</link><guid>https://blog.youkuaiyun.com/Mr_ELE/article/details/112514774</guid><author>Mr_ELE</author><pubDate>Tue, 12 Jan 2021 11:45:25 +0800</pubDate><description><![CDATA[Go获取键盘输入

之前使用fmt.Scanln获取键盘输入，但是碰到空格就停止输入了
使用bufio解决

import "bufio"

func GetScan() string{
	reader := bufio.NewReader(os.Stdin)
	newStr, err := reader.ReadString('\n')
	if err != nil{
		fmt.Errorf("Scan error %s",err)
		return ""
	}
	return newStr
}

参考]]></description><category></category></item><item><title><![CDATA[go使用etcd客户端带用户名密码登陆]]></title><link>https://blog.youkuaiyun.com/Mr_ELE/article/details/112303720</link><guid>https://blog.youkuaiyun.com/Mr_ELE/article/details/112303720</guid><author>Mr_ELE</author><pubDate>Thu, 07 Jan 2021 10:27:18 +0800</pubDate><description><![CDATA[为什么这么些博客没有一篇涉及到etcd的密码登陆，无奈自己卡了半天，其实很简单

环境

go version go1.10.8 darwin/amd64 下载
etcd Version: 3.4.14 下载

代码

（出于公司保护，仅贴出关键代码，go语言操作请参考其他教程）

import (
	"go.etcd.io/etcd/clientv3"
	"fmt"
	"time"
	"context"
)
func main(){
	cli, err := clientv3.New(clientv3..]]></description><category></category></item><item><title><![CDATA[git不跟踪某个文件/文件夹]]></title><link>https://blog.youkuaiyun.com/Mr_ELE/article/details/112258882</link><guid>https://blog.youkuaiyun.com/Mr_ELE/article/details/112258882</guid><author>Mr_ELE</author><pubDate>Wed, 06 Jan 2021 10:12:22 +0800</pubDate><description><![CDATA[git不跟踪某个文件/文件夹
编辑当前目录下.git/info/exclude文件
vim .git/info/exclude

我需要取消跟踪idea
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patt]]></description><category></category></item><item><title><![CDATA[tensorflow 1.4 could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR]]></title><link>https://blog.youkuaiyun.com/Mr_ELE/article/details/107580291</link><guid>https://blog.youkuaiyun.com/Mr_ELE/article/details/107580291</guid><author>Mr_ELE</author><pubDate>Sat, 25 Jul 2020 16:12:30 +0800</pubDate><description><![CDATA[解决tensorflow 1.14 could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR问题
这两天在做tensorflow1.14版本的c++api推理实验，但是启动程序一直报错，tensorflow 1.4 could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR，找了好多办法，cudnn版本也试了好几次，都没法有效
最后找到问题原因，把多显卡的其他程序关掉就好了，目前看是因为别的]]></description><category></category></item><item><title><![CDATA[解决configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL]]></title><link>https://blog.youkuaiyun.com/Mr_ELE/article/details/107543871</link><guid>https://blog.youkuaiyun.com/Mr_ELE/article/details/107543871</guid><author>Mr_ELE</author><pubDate>Thu, 23 Jul 2020 17:58:47 +0800</pubDate><description><![CDATA[编译protobuf时遇到
+ mkdir -p third_party/googletest/m4
+ autoreconf -f -i -Wall,no-obsolete
configure.ac:30: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf doc]]></description><category></category></item><item><title><![CDATA[解决Flask安装后无法找到FLASK_APP问题]]></title><link>https://blog.youkuaiyun.com/Mr_ELE/article/details/106240819</link><guid>https://blog.youkuaiyun.com/Mr_ELE/article/details/106240819</guid><author>Mr_ELE</author><pubDate>Wed, 20 May 2020 17:31:13 +0800</pubDate><description><![CDATA[解决Flask安装后无法找到FLASK_APP问题问题描述解决办法
问题描述
在官方文档https://dormousehole.readthedocs.io/en/latest/quickstart.html中
启动服务器，系统找不到FLASK_APP变量，因为在虚拟机中操作，为了不污染主系统环境变量
解决办法
将官方文档hello.py修改为app.py
直接执行python -m flask run，不用在前面添加export等操作（我这也是export识别不到）

...]]></description><category></category></item><item><title><![CDATA[解决pytorch 官方教程tensorboard打不开情况]]></title><link>https://blog.youkuaiyun.com/Mr_ELE/article/details/105417955</link><guid>https://blog.youkuaiyun.com/Mr_ELE/article/details/105417955</guid><author>Mr_ELE</author><pubDate>Thu, 09 Apr 2020 19:22:07 +0800</pubDate><description><![CDATA[pytorch 官方教程tensorboard打不开情况

解决办法：把https://换成http://
]]></description><category></category></item><item><title><![CDATA[Xcode升级11，'iostream' file not found问题]]></title><link>https://blog.youkuaiyun.com/Mr_ELE/article/details/102764983</link><guid>https://blog.youkuaiyun.com/Mr_ELE/article/details/102764983</guid><author>Mr_ELE</author><pubDate>Sun, 27 Oct 2019 11:24:34 +0800</pubDate><description><![CDATA[今天升级Xcode11之后报错'iostream' file not found

解决方法1：

Build Settings -&gt; Search paths -&gt;System Header Search Paths

在Debug和Release添加

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefaul...]]></description><category></category></item><item><title><![CDATA[arduino nano下载失败]]></title><link>https://blog.youkuaiyun.com/Mr_ELE/article/details/102670560</link><guid>https://blog.youkuaiyun.com/Mr_ELE/article/details/102670560</guid><author>Mr_ELE</author><pubDate>Mon, 21 Oct 2019 19:54:33 +0800</pubDate><description><![CDATA[今天下载arduino程序，出现下载失败，提示stk500_recv(): programmer is not responding

重新安装驱动未解决，重新安装ide未解决，rx和tx口均未接外设

解决方案：将芯片种类选为如图老版本
...]]></description><category></category></item><item><title><![CDATA[[嵌入式]关于jlink的调试问题，针对mdk全版本，2017.1.17]]></title><link>https://blog.youkuaiyun.com/Mr_ELE/article/details/54580036</link><guid>https://blog.youkuaiyun.com/Mr_ELE/article/details/54580036</guid><author>Mr_ELE</author><pubDate>Tue, 17 Jan 2017 09:18:01 +0800</pubDate><description><![CDATA[[嵌入式]关于jlink的调试问题，针对mdk全版本，2017.1.17起因这两天又开始搞STM32开发，但是苦于没钱，只能买国产jlink开发，无奈又喜欢MDK最新版本，手残又点了更新，从此开始我的修复jlink之路。]]></description><category></category></item></channel></rss>