<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Leon]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/Leon57</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Leon57]]></copyright><item><title><![CDATA[Chrome 75不支持保存成mhtml的解决方法]]></title><link>https://blog.csdn.net/Leon57/article/details/92554529</link><guid>https://blog.csdn.net/Leon57/article/details/92554529</guid><author>Leon57</author><pubDate>Mon, 17 Jun 2019 08:35:38 +0800</pubDate><description><![CDATA[在Chrome 75之前，可以设置chrome://flags -&gt; save as mhtml来保存网页为mhtml。

75之后，flags里去掉了这个功能。

可以设置快捷方式执行参数来达到相应的目的。

如下图所示：


...]]></description><category></category></item><item><title><![CDATA[WORD中批量修改表格的格式]]></title><link>https://blog.csdn.net/Leon57/article/details/81014643</link><guid>https://blog.csdn.net/Leon57/article/details/81014643</guid><author>Leon57</author><pubDate>Thu, 12 Jul 2018 14:01:18 +0800</pubDate><description><![CDATA[WORD中批量修改表格的格式：第一步，先用宏将所有表格选中：Sub SelectAllTables()      Dim mytable As Table      Application.ScreenUpdating = False      For Each mytable In ActiveDocument.Tables          mytable.Range.Editors.Add ...]]></description><category></category></item><item><title><![CDATA[[转载]Ubuntu下Samba服务器的最简配置]]></title><link>https://blog.csdn.net/Leon57/article/details/79365201</link><guid>https://blog.csdn.net/Leon57/article/details/79365201</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:54 +0800</pubDate><description><![CDATA[转载自：http://www.51testing.com/?145083/action_viewspace_itemid_65596.html
 
一. Samba的安装:
# sudo apt-get install samba
# sudo apt-get install smbfs
二. 创建共享目录:
# mkdir /home/leonard/share
# sodu ch]]></description><category></category></item><item><title><![CDATA[保存内核编译信息]]></title><link>https://blog.csdn.net/Leon57/article/details/79365200</link><guid>https://blog.csdn.net/Leon57/article/details/79365200</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:51 +0800</pubDate><description><![CDATA[make >& file
 
其中&表示把错误信息重定向至指定的文件。]]></description><category></category></item><item><title><![CDATA[为NOTEPAD++添加系统右键菜单]]></title><link>https://blog.csdn.net/Leon57/article/details/79365198</link><guid>https://blog.csdn.net/Leon57/article/details/79365198</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:48 +0800</pubDate><description><![CDATA[刚刚安装了notepad++绿色版，很轻便，但是轻便到不操作注册表，导致在win7下文件关联和系统右键菜单都无法添加。
关于notepad++的文件关联，请参考：
http://www.cnblogs.com/Leon5/archive/2012/05/10/2493759.html
添加系统右键菜单，就需要手动修改注册表了。

Windows Registry Editor Versi]]></description><category></category></item><item><title><![CDATA[【转载】Win7文件关联 文件与程序“联姻”]]></title><link>https://blog.csdn.net/Leon57/article/details/79365197</link><guid>https://blog.csdn.net/Leon57/article/details/79365197</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:45 +0800</pubDate><description><![CDATA[遇到一位朋友紧急求助：系统是windows7，这位朋友因为桌面没有OFFICE图标，又急着要用WORD，就把一个桌面图标右击，选择打开方式中选择了Word，而且没有把“始终使用这种程序打开同类型文件”前的勾去掉。这一改之后，结果所有的快捷方式全变成了word文档了。可以再改成别的，比如再改为记事本方式打开，但就是没有办法恢复原状。
　　这是一个文件关联的问题。这样的问题在xp下根本就不可能发生，]]></description><category></category></item><item><title><![CDATA[Windows XP快速关机]]></title><link>https://blog.csdn.net/Leon57/article/details/79365195</link><guid>https://blog.csdn.net/Leon57/article/details/79365195</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:42 +0800</pubDate><description><![CDATA[windows XP存在关机过程卡死的BUG。下面这个程序可以解决这个问题。
代码1

 1 #include 
 2 
 3 #define ISTATUS BOOL
 4 #define ISTATUS_SUCCEED TRUE
 5 #define ISTATUS_FAILED FALSE
 6 
 7 ISTATUS WINAPI LoadPrivilege(LPTSTR]]></description><category></category></item><item><title><![CDATA[如何在sourceinsight中加入LIB功能?]]></title><link>https://blog.csdn.net/Leon57/article/details/79365194</link><guid>https://blog.csdn.net/Leon57/article/details/79365194</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:40 +0800</pubDate><description><![CDATA[先为这些library建个project并全部解析完毕，然后在Options > Preferences >  Symbol Lookups > Add Project to Path ...]]></description><category></category></item><item><title><![CDATA[[转载]秀脱linux实战笔记linux-kernel-3.0.3实战篇]]></title><link>https://blog.csdn.net/Leon57/article/details/79365193</link><guid>https://blog.csdn.net/Leon57/article/details/79365193</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:37 +0800</pubDate><description><![CDATA[+++++++++++++++++++++++++++++++++++++++++++++++++++++++秀脱linux实战笔记linux-kernel-3.0.3实战片篇：   QQ:     6541657 EMAIL:xiutuo@gmail.com+++++++++++++++++++++++++++++++++++++++++++++++++++++++一：环境linux: cent]]></description><category></category></item><item><title><![CDATA[GitHub push时提示“fatal: The remote end hung up unexpectedly”]]></title><link>https://blog.csdn.net/Leon57/article/details/79365192</link><guid>https://blog.csdn.net/Leon57/article/details/79365192</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:34 +0800</pubDate><description><![CDATA[这几天在学习git的使用，顺便去网上找个了git代码仓库练练手。http://github.com
注册用户，建立项目什么的都很顺利。
然后网站提示如下：

首先，配置自己的git。
然后建立项目，添加文件，上传修改……
然后，喀……扯到蛋了。
上传时git提示：

Agent admitted failure to sign using the key. Permission ]]></description><category></category></item><item><title><![CDATA[[转载]Git安装以及使用Git 管理个人文档]]></title><link>https://blog.csdn.net/Leon57/article/details/79365190</link><guid>https://blog.csdn.net/Leon57/article/details/79365190</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:31 +0800</pubDate><description><![CDATA[1.1 Git 安装Git的最新版本可以在http://git-scm.com/下载，它是基于命令行操作的，网上也有第三方开发的相应GUI可供下载，因为我比较喜欢命令行操作，所以没有对GUi下载和安装，有兴趣的同学可以自己试试。网上也有相应的文章和资料可供参考！安装之前首先确保相应的依赖包已经安装，主要有以下几个:zliblibcurllibcrypto（OpenSSL）rsync（2.6.0 或]]></description><category></category></item><item><title><![CDATA[解决sendmail卡死和主机名为bogon的问题]]></title><link>https://blog.csdn.net/Leon57/article/details/79365189</link><guid>https://blog.csdn.net/Leon57/article/details/79365189</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:28 +0800</pubDate><description><![CDATA[今晚上打开虚拟机，发现原来的主机名localhost变成了bogon，更让人蛋疼的是开机过程中sendmail卡死。我把虚拟机重新安装了一遍，发现问题依旧。
没办法只能google一下。
在此感谢万能的google。
首先是修改主机名：
第一种方法：
hostname命令

hostname 

这种方法在系统重启后就会失效，可以用于临时修改。
第二种方法：
修改/etc/h]]></description><category></category></item><item><title><![CDATA[[转载]vim配置文件]]></title><link>https://blog.csdn.net/Leon57/article/details/79365188</link><guid>https://blog.csdn.net/Leon57/article/details/79365188</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:26 +0800</pubDate><description><![CDATA[新建vim配置文件 vim ~/.vimrc

" 不要使用vi的键盘模式，而是vim自己的set nocompatible" 语法高亮set syntax=on" 去掉输入错误的提示声音set noeb" 在处理未保存或只读文件的时候，弹出确认set confirm" 自动缩进set autoindentset cindent" Tab键的宽度set tabstop=4" 统一缩进为4set]]></description><category></category></item><item><title><![CDATA[C语言restrict关键字的使用]]></title><link>https://blog.csdn.net/Leon57/article/details/79365187</link><guid>https://blog.csdn.net/Leon57/article/details/79365187</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:23 +0800</pubDate><description><![CDATA[C99中新增加了restrict修饰的指针：由restrict修饰的指针是最初唯一对指针所指向的对象进行存取的方法，仅当第二个指针基于第一个时，才能对对象进行存取。对对象的存取都限定于基于由restrict修饰的指针表达式中。 

由restrict修饰的指针主要用于函数形参，或指向由malloc()分配的内存空间。restrict数据类型不改变程序的语义。编译器能通过作出restrict修饰]]></description><category></category></item><item><title><![CDATA[[转载]struct sockaddr_in等Socket编程相关数据类型定义]]></title><link>https://blog.csdn.net/Leon57/article/details/79365186</link><guid>https://blog.csdn.net/Leon57/article/details/79365186</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:20 +0800</pubDate><description><![CDATA[计算机数据存储有两种字节优先顺序：高位字节优先和低位字节优先。Internet上数据以高位字节优先顺序在网络上传输，所以对于在内部是以低位字节优先方式存储数据的机器，在Internet上传输数据时就需要进行转换。

    我们要讨论的第一个结构类型是：struct sockaddr，该类型是用来保存socket信息的： 
　　struct sockaddr { 
　　unsigned s]]></description><category></category></item><item><title><![CDATA[[转载]Linux解压缩命令]]></title><link>https://blog.csdn.net/Leon57/article/details/79365184</link><guid>https://blog.csdn.net/Leon57/article/details/79365184</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:17 +0800</pubDate><description><![CDATA[tar
-c: 建立压缩档案-x：解压-t：查看内容-r：向压缩归档文件末尾追加文件-u：更新原压缩包中的文件
这五个是独立的命令，压缩解压都要用到其中一个，可以和别的命令连用但只能用其中一个。下面的参数是根据需要在压缩或解压档案时可选的。-z：有gzip属性的-j：有bz2属性的-Z：有compress属性的-v：显示所有过程-O：将文件解开到标准输出
下面的参数-f是必须的
-f: 使]]></description><category></category></item><item><title><![CDATA[Windows文件操作的API函数[转载]]]></title><link>https://blog.csdn.net/Leon57/article/details/79365183</link><guid>https://blog.csdn.net/Leon57/article/details/79365183</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:14 +0800</pubDate><description><![CDATA[在VC中,大多数情况对文件的操作都使用系统提供的 API 函数，但有的函数我们不是很熟悉，以下提供一些文件操作 API 函数介绍： 一般文件操作 API CreateFile 打开文件 要对文件进行读写等操作，首先必须获得文件句柄，通过该函数可以获得文件句柄，该函数是通向文件世界的大门。 ReadFile 从文件中读取字节信息。 在打开文件获得了文件句柄之后，则可以通过该函数读取数据。 Write]]></description><category></category></item><item><title><![CDATA[解决VC6在win7下打开文件崩溃问题]]></title><link>https://blog.csdn.net/Leon57/article/details/79365182</link><guid>https://blog.csdn.net/Leon57/article/details/79365182</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:11 +0800</pubDate><description><![CDATA[1.微软针对这个问题发布了一个补丁包。下载地址
2.下载之后是一个源码包，解压，编译，生成一个FileTool.dll。
3.将生成的dll拷贝到VC安装目录的“\Common\MSDev98\AddIns\”文件夹下。
4.在AddIns目录下执行命令“regsvr32 File Tool.dll”手动注册dll文件。
5.运行VC6，右击工具栏，选择“自定义…>附加项和宏文件”，选择F]]></description><category></category></item><item><title><![CDATA[谷歌浏览器离线安装]]></title><link>https://blog.csdn.net/Leon57/article/details/79365181</link><guid>https://blog.csdn.net/Leon57/article/details/79365181</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:08 +0800</pubDate><description><![CDATA[谷歌浏览器默认在线安装，这给我们这些公司内部无法上外网的用户带来了很多不便。
所以google提供了独立安装包的下载地址。
 
Chrome Frame离线下载地址
 

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Google\ChromeFrame]
"IsDefaultRenderer"]]></description><category></category></item><item><title><![CDATA[Win32编程中radiobutton的分组]]></title><link>https://blog.csdn.net/Leon57/article/details/79365180</link><guid>https://blog.csdn.net/Leon57/article/details/79365180</guid><author>Leon57</author><pubDate>Sat, 24 Feb 2018 20:30:06 +0800</pubDate><description><![CDATA[为对话框添加Radio1，Radio2，Radio3和Radio4。很简单，先为这些Radio Button排个顺序(这 个必须要做，比如你的一组控件有Radio1,Radio2,Radio3,就把它们的TAB顺序分别设为1,2,3,并将Radio1的Group属性 设为True，这样，当选中Radio1的时候和它关联的变量就是０，当选中Radio２的时候和它关联的变量就是１，依此类推)，就是排 ]]></description><category></category></item></channel></rss>