<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[风哥有点田]]></title><description><![CDATA[肥宅的路上走远了。。。。]]></description><link>https://blog.youkuaiyun.com/shawncheer</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; shawncheer]]></copyright><item><title><![CDATA[callback 的一个简单示例]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/106505376</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/106505376</guid><author>shawncheer</author><pubDate>Tue, 02 Jun 2020 21:24:46 +0800</pubDate><description><![CDATA[//回调函数的简单理解
//例子温度计显示温度。

//有两种方式
// 1. 睡眠5秒，查看一下温度计读数函数，如果度数改变则更新显示。
// 2. 把显示接口暴露给温度计度数函数，由温度计来显示，这样不用一直去访问，浪费切换时间。

// ====== method 1. 轮训 ======
float read(){
    return get_temperature();
}

void display(){
    float f = read();
    print(f);
    retu]]></description><category></category></item><item><title><![CDATA[htk安装在ubuntu上的说明]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/104372719</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/104372719</guid><author>shawncheer</author><pubDate>Tue, 18 Feb 2020 12:20:21 +0800</pubDate><description><![CDATA[htk3.4.1需要32位的X11，并且其中的Makefile稍微有点问题：

以下为安装简要说明（32位的x11需要自行下载）：


sudo apt-get install -y gcc-multilib
sudo apt-get install -y  libx11-6 libxau-dev libxdmcp-dev libxcb1-dev lib32ncurses5 lib32z1
sud...]]></description><category></category></item><item><title><![CDATA[统计文件夹下的语音文件总时长（按秒计算）]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/104059027</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/104059027</guid><author>shawncheer</author><pubDate>Tue, 21 Jan 2020 10:05:53 +0800</pubDate><description><![CDATA[直接上命令行：


soxi -D * | awk '{total +=$0};END{print total}'

其中的 END表示在最后的时候打印，而不是每一行都打印出来。
]]></description><category></category></item><item><title><![CDATA[linux监控gpu使用状况（NVIDIA）]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/104049170</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/104049170</guid><author>shawncheer</author><pubDate>Mon, 20 Jan 2020 11:02:19 +0800</pubDate><description><![CDATA[一、nvidia-smi是查看gpu现存使用情况的命令行工具。其命令行显示例子如下：



二、watch命令用于周期性的执行一个程序，并且全屏显示输出结果，我们可以通过每隔 1s 执行一次nvidia-smi来查看gpu内存动态使用情况：


watch -n 1 nvidia-smi


...]]></description><category></category></item><item><title><![CDATA[知识集合拓展示意图]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/104040686</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/104040686</guid><author>shawncheer</author><pubDate>Sun, 19 Jan 2020 14:54:35 +0800</pubDate><description><![CDATA[上面图像的含义是：

1、首先要对未知或者容易弄混亦或者是模棱两可对事物进行直击式对研究；

2、待研究透彻之后形成对关联问题对片区进行理解；

3、最后，和原有知识进行深度融合，作为下一次循环的基础。
...]]></description><category></category></item><item><title><![CDATA[C++线程锁的简单例子]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/104038698</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/104038698</guid><author>shawncheer</author><pubDate>Sun, 19 Jan 2020 11:50:41 +0800</pubDate><description><![CDATA[本文参考：https://kheresy.wordpress.com/2014/01/09/c11-condition-variable/

主要说明的问题是std::condition_variable::wait 的运作过程，证明了wait在某个线程中的运作原理是使得该线程处于挂起状态，知道有“介绍等待”信号唤醒它继续执行，这个在侧面反映了操作系统信号机制。

示例代码如下所示：


#in...]]></description><category></category></item><item><title><![CDATA[C++多继承一个实例]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/103777697</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/103777697</guid><author>shawncheer</author><pubDate>Tue, 31 Dec 2019 09:50:33 +0800</pubDate><description><![CDATA[参考：https://blog.youkuaiyun.com/error0_dameng/article/details/82291854

代码：


#include&lt;iostream&gt;

using namespace std;
 
class interface1//爸爸1
{
public :
	virtual int add(int a,int b){
		return a+b;	
	...]]></description><category></category></item><item><title><![CDATA[查看so文件的细节。]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/103575636</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/103575636</guid><author>shawncheer</author><pubDate>Tue, 17 Dec 2019 10:32:35 +0800</pubDate><description><![CDATA[一、readelf命令：

https://man.linuxde.net/readelf

二、strings命令：

https://blog.youkuaiyun.com/xinqi53/article/details/9126475
]]></description><category></category></item><item><title><![CDATA[修改C/C++的默认编辑器]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/103563406</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/103563406</guid><author>shawncheer</author><pubDate>Mon, 16 Dec 2019 15:17:26 +0800</pubDate><description><![CDATA[C++


# update-alternatives --config c++
There are 2 choices for the alternative c++ (providing /usr/bin/c++).

  Selection    Path              Priority   Status
-------------------------------------...]]></description><category></category></item><item><title><![CDATA[一个不错的git教程]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/103427106</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/103427106</guid><author>shawncheer</author><pubDate>Fri, 06 Dec 2019 17:34:10 +0800</pubDate><description><![CDATA[https://www.liaoxuefeng.com/wiki/896043488029600

来自廖雪峰的文章，讲的很细，循循善诱。
]]></description><category></category></item><item><title><![CDATA[递归处理文件夹内所有音频的范例]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/103401771</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/103401771</guid><author>shawncheer</author><pubDate>Thu, 05 Dec 2019 11:39:05 +0800</pubDate><description><![CDATA[1、Python脚本功能：

另有介绍可以参考：https://rollingstarky.github.io/2018/12/18/processing-audio-with-sox/

该python脚本功能为递归处理文件夹下所有文件的，并递归输出到另一个文件夹，这里是格式转换，用sox把格式同样转换为单通道，8k16bit数据。


#!/usr/bin/python            ...]]></description><category></category></item><item><title><![CDATA[calltree代码调用关系图生成]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/103374206</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/103374206</guid><author>shawncheer</author><pubDate>Tue, 03 Dec 2019 18:28:58 +0800</pubDate><description><![CDATA[1、calltree代码调用关系图生成：

参考：https://blog.youkuaiyun.com/breaksoftware/article/details/75441751

2、ctree代码调用图生成：

https://blog.youkuaiyun.com/breaksoftware/article/details/75576878
...]]></description><category></category></item><item><title><![CDATA[RNN和LSTM学习]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/103264458</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/103264458</guid><author>shawncheer</author><pubDate>Tue, 26 Nov 2019 20:26:19 +0800</pubDate><description><![CDATA[对参考文献[1]进行的分析：



参考文献：

[1] 罗娜, 魏松杰, 时召伟, 吴高翔. 采用LSTM模型的Android应用行为一致性检测[J].浙江大学学报(工学版), 2018, 52(6): 1097-1106.
...]]></description><category></category></item><item><title><![CDATA[linux远程明密执行命令]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/102837395</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/102837395</guid><author>shawncheer</author><pubDate>Thu, 31 Oct 2019 14:34:03 +0800</pubDate><description><![CDATA[sshpass -p "passwd" ssh root@192.168.0.56 "ls"

其中sshpass 如果没安装则需要安装。

参考：https://www.cnblogs.com/gaoxing/p/4311746.html


]]></description><category></category></item><item><title><![CDATA[Visual Leak Detector的安装与使用。]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/102623473</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/102623473</guid><author>shawncheer</author><pubDate>Fri, 18 Oct 2019 12:58:56 +0800</pubDate><description><![CDATA[1、可参照：

https://developernote.com/2015/04/using-visual-leak-detector-with-ms-visual-studio-2013/

2、可参照：

https://blog.youkuaiyun.com/chaipp0607/article/details/79182471
]]></description><category></category></item><item><title><![CDATA[G C root login method]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/102532738</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/102532738</guid><author>shawncheer</author><pubDate>Mon, 14 Oct 2019 13:38:09 +0800</pubDate><description><![CDATA[1、进入root账户。然后passwd root设置root密码。

2、修改SSH配置文件/etc/ssh/sshd_config


vim /etc/ssh/sshd_config


找到PermitRootLogin和PasswordAuthentication


# Authentication:
LoginGraceTime 120
PermitRootLogin yes //默...]]></description><category></category></item><item><title><![CDATA[ftp服务器的创建以及命令行使用]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/102516636</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/102516636</guid><author>shawncheer</author><pubDate>Sat, 12 Oct 2019 13:03:51 +0800</pubDate><description><![CDATA[搭建ftp服务器，参考腾讯云的教程：
	
https://cloud.tencent.com/developer/labs/lab/10123

但是在后面连接的几种方法不能用，所有两个替代方案：

1）ftp ip 然后使用get和mget来获取remote端文件。

2）使用直接命令行方法：参考https://superuser.com/questions/532130/how-to-do...]]></description><category></category></item><item><title><![CDATA[gdb编译与调试不在同台机器上出现no such file or directory的解决方案]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/99569460</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/99569460</guid><author>shawncheer</author><pubDate>Wed, 14 Aug 2019 14:49:47 +0800</pubDate><description><![CDATA[用dir命令来设置源文件的路径：


dir /usr/src/debug
]]></description><category></category></item><item><title><![CDATA[用-i指定pip源，在docker中非常好用]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/99546720</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/99546720</guid><author>shawncheer</author><pubDate>Wed, 14 Aug 2019 10:42:19 +0800</pubDate><description><![CDATA[for example：


pip install moduleName-i https://pypi.douban.com/simple


]]></description><category></category></item><item><title><![CDATA[关于编程的一点理解]]></title><link>https://blog.youkuaiyun.com/shawncheer/article/details/99442151</link><guid>https://blog.youkuaiyun.com/shawncheer/article/details/99442151</guid><author>shawncheer</author><pubDate>Tue, 13 Aug 2019 15:55:27 +0800</pubDate><description><![CDATA[编程不是与编程语言的语法进行交流，而是与编译器进行交流，与解释器进行交流。

最终是与编译器或解释器的作者进行交流。
]]></description><category></category></item></channel></rss>