<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[crazy Crypto]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/leechiyang</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; leechiyang]]></copyright><item><title><![CDATA[Unix时间戳转FileTime]]></title><link>https://blog.csdn.net/leechiyang/article/details/39529041</link><guid>https://blog.csdn.net/leechiyang/article/details/39529041</guid><author>leechiyang</author><pubDate>Wed, 24 Sep 2014 21:09:07 +0800</pubDate><description><![CDATA[#define EPOCH_DIFF 116444736000000000 //FILETIME starts from 1601-01-01 UTC, epoch from 1970- 01-01
#define RATE_DIFF 10000000

void UnixTimeToFileTime(__time64_t tmUnixTime, LPFILETIME pFileTime)
{
 ]]></description><category></category></item><item><title><![CDATA[安装VisualSVN Server提示服务无法启用]]></title><link>https://blog.csdn.net/leechiyang/article/details/21258309</link><guid>https://blog.csdn.net/leechiyang/article/details/21258309</guid><author>leechiyang</author><pubDate>Fri, 14 Mar 2014 23:14:21 +0800</pubDate><description><![CDATA[今天在服务器上安装VisualSVN Server时，安装到最后，一直提示服务无法启用，点击retry也是一样。
解决办法：
先不要退出安装程序，运行栏输入 services.msc，打开系统服务，找到VisualSVN Server，右击属性-->登录-->将登录身份改成"本地系统帐户"，然后回安装界面，点击Retry，搞定.]]></description><category></category></item><item><title><![CDATA[capicom控件签名]]></title><link>https://blog.csdn.net/leechiyang/article/details/11693263</link><guid>https://blog.csdn.net/leechiyang/article/details/11693263</guid><author>leechiyang</author><pubDate>Sat, 14 Sep 2013 19:37:42 +0800</pubDate><description><![CDATA[var CAPICOM_CURRENT_USER_STORE = 2
var CAPICOM_MY_STORE = "My"
var CAPICOM_STORE_OPEN_READ_ONLY = 0
var CAPICOM_STORE_OPEN_EXISTING_ONLY = 128
var CAPICOM_CERTIFICATE_FIND_KEY_USAGE = 12
var CAPI]]></description><category></category></item><item><title><![CDATA[Openssl v3证书 配置文件。]]></title><link>https://blog.csdn.net/leechiyang/article/details/8961646</link><guid>https://blog.csdn.net/leechiyang/article/details/8961646</guid><author>leechiyang</author><pubDate>Wed, 22 May 2013 17:48:46 +0800</pubDate><description><![CDATA[#
# OpenSSL example configuration file.
# This is mostly being used for generation of certificate requests.
#
# This definition stops the following lines choking if HOME isn't
# defined.
HOME]]></description><category></category></item><item><title><![CDATA[openssl 生成v3证书]]></title><link>https://blog.csdn.net/leechiyang/article/details/8864577</link><guid>https://blog.csdn.net/leechiyang/article/details/8864577</guid><author>leechiyang</author><pubDate>Sun, 28 Apr 2013 17:53:15 +0800</pubDate><description><![CDATA[今天一下午都在调这个，网上也到处搜帖子，提问的一大票，能解决的暂时没有发现~~~~~
想使用openssl生成一个只能用于签名的证书，即证书的扩展属性：密钥用途，只能用于数字签名~但是我们一般使用openssl生成证书时，生成的证书都是v1证书，是不带扩展属性的~~
方法：
在使用CA证书进行签署证书时：
openssl x509 –req –in other-req.csr –out o]]></description><category></category></item><item><title><![CDATA[获取当前时区]]></title><link>https://blog.csdn.net/leechiyang/article/details/8653083</link><guid>https://blog.csdn.net/leechiyang/article/details/8653083</guid><author>leechiyang</author><pubDate>Sat, 09 Mar 2013 10:04:24 +0800</pubDate><description><![CDATA[/*
返回本地时间与UTC时间之间的秒差。本函数主要为了解决跨平台问题，功能和MSVCRT中的_get_timezone相同。*/
int get_timezone() 
{
	struct tm tm;
	memset(&tm, 0, sizeof(tm));
	tm.tm_year = 70;
	tm.tm_mday = 2;
	return 24 * 3600 - (int)mktime(&]]></description><category></category></item><item><title><![CDATA[百度音乐盒播放器]]></title><link>https://blog.csdn.net/leechiyang/article/details/8526746</link><guid>https://blog.csdn.net/leechiyang/article/details/8526746</guid><author>leechiyang</author><pubDate>Mon, 21 Jan 2013 23:45:21 +0800</pubDate><description><![CDATA[喜欢听百度的音乐，但是使用浏览器听音乐时，浏览器会占用任务栏的位置，影响工作。
花了一下午给百度音乐盒做了个壳，播放时，可以最小化到任务托盘。
音乐盒中的广告太碍事了，影响美观，顺便去掉广告，呵呵。
 下载地址：http://download.csdn.net/detail/leechiyang/5017324
 
1.01版发布了，支持调整窗口大小。

 
2013.1.22 日]]></description><category></category></item><item><title><![CDATA[屏蔽百度网络广告]]></title><link>https://blog.csdn.net/leechiyang/article/details/8518252</link><guid>https://blog.csdn.net/leechiyang/article/details/8518252</guid><author>leechiyang</author><pubDate>Fri, 18 Jan 2013 18:37:59 +0800</pubDate><description><![CDATA[最近的网络广告越来越多，发现好多是来自百度，编辑host文件，可以轻松让广告消失。
在开始->运行 中输入“notepad C:\WINDOWS\system32\drivers\etc\hosts”，会用记事本打开本地host文件，在里面的末尾增加以下内容：
127.0.0.1 cpro.baidu.com
127.0.0.1 pos.baidu.com
127.0.0.1 hm.bai]]></description><category></category></item><item><title><![CDATA[C/C++可变参数宏]]></title><link>https://blog.csdn.net/leechiyang/article/details/8518241</link><guid>https://blog.csdn.net/leechiyang/article/details/8518241</guid><author>leechiyang</author><pubDate>Fri, 18 Jan 2013 18:31:12 +0800</pubDate><description><![CDATA[c语言支持可变参数宏，从此再也不用定义TRACE0/TRACE1/TRACE2一类的宏了。
 
#define P(...) printf(__VA_ARGS__)
__VA_ARGS__可以用来引用传递的可变参数部分。
 
可以如此使用此宏：P("helllo");      P("%s","hello");    P("%s %d", "hello", 2013);]]></description><category></category></item><item><title><![CDATA[CSS3下的147个颜色名称实例页面]]></title><link>https://blog.csdn.net/leechiyang/article/details/8301197</link><guid>https://blog.csdn.net/leechiyang/article/details/8301197</guid><author>leechiyang</author><pubDate>Sun, 16 Dec 2012 11:27:54 +0800</pubDate><description><![CDATA[<!--
.css3_color_names td
	{background:#fff;
	padding:0 5px}
.css3_color_names .tr_title td
	{background-color:#486aaa}
-->







名称
16进制
百分值
整数值
16进制缩写
示例


aliceblue
#f0f8ff]]></description><category></category></item><item><title><![CDATA[在Openssl中增加自定义算法]]></title><link>https://blog.csdn.net/leechiyang/article/details/7584538</link><guid>https://blog.csdn.net/leechiyang/article/details/7584538</guid><author>leechiyang</author><pubDate>Sun, 20 May 2012 11:43:36 +0800</pubDate><description><![CDATA[openssl具备良好的扩展机制，可以加入自定义的算法，通过修改编译脚本，可以使实现自己的算法与openssl原有的算法无缝集成，浑然一体。
其过程主要还在于观测ms/do_ms的过程
通过修改util/mkfiles.pl 文件，可以加入自定义算法的目录，算法目录中包含Makefile文件，会根据makefile中的步骤进行编译。
修改util/mkdef.pl文件，在里面加入自己的头文件]]></description><category></category></item><item><title><![CDATA[VC++2010 关键变化 (Breaking Changes in Visual C++ 2010 )]]></title><link>https://blog.csdn.net/leechiyang/article/details/7558819</link><guid>https://blog.csdn.net/leechiyang/article/details/7558819</guid><author>leechiyang</author><pubDate>Fri, 11 May 2012 22:03:34 +0800</pubDate><description><![CDATA[Breaking Changes in Visual C++

Visual Studio 2010 




Other Versions 
 




Visual Studio 2008



3 out of 5 rated this helpful
- Rate this topic






This document lists t]]></description><category></category></item><item><title><![CDATA[parseurl]]></title><link>https://blog.csdn.net/leechiyang/article/details/7346728</link><guid>https://blog.csdn.net/leechiyang/article/details/7346728</guid><author>leechiyang</author><pubDate>Mon, 12 Mar 2012 22:08:20 +0800</pubDate><description><![CDATA[int parseurl(char * url, char * protocol, char * host, char * port, char * path)
{
	int n = sscanf(url, "%15[^\n:]://%[^\n/?]%[^\n]", protocol, host, path);
	char * p = strchr(host, ':');
	if (p)
	{]]></description><category></category></item><item><title><![CDATA[Diagnosing Hidden ODR Violations in Visual C++]]></title><link>https://blog.csdn.net/leechiyang/article/details/7253316</link><guid>https://blog.csdn.net/leechiyang/article/details/7253316</guid><author>leechiyang</author><pubDate>Sun, 12 Feb 2012 21:44:34 +0800</pubDate><description><![CDATA[http://blogs.msdn.com/b/vcblog/archive/2007/05/17/diagnosing-hidden-odr-violations-in-visual-c-and-fixing-lnk2022.aspx
 
Hi, my name is Andy Rich, and I’m a tester on the front-end compiler. Last ti]]></description><category></category></item><item><title><![CDATA[制作ECC证书]]></title><link>https://blog.csdn.net/leechiyang/article/details/7252393</link><guid>https://blog.csdn.net/leechiyang/article/details/7252393</guid><author>leechiyang</author><pubDate>Sun, 12 Feb 2012 13:42:33 +0800</pubDate><description><![CDATA[生成ECC证书。
Debian:/home/test# openssl ecparam -out EccCA.key -name prime256v1 -genkey
Debian:/home/test# openssl req -key EccCA.key -new -out EccCA.req
Debian:/home/test# openssl x509 -req -in EccCA.]]></description><category></category></item><item><title><![CDATA[金山词霸竟然有错别字。]]></title><link>https://blog.csdn.net/leechiyang/article/details/7250920</link><guid>https://blog.csdn.net/leechiyang/article/details/7250920</guid><author>leechiyang</author><pubDate>Sat, 11 Feb 2012 14:57:57 +0800</pubDate><description><![CDATA[有图有真相！

蔚监的！]]></description><category></category></item><item><title><![CDATA[看不懂的windows电源管理选项。]]></title><link>https://blog.csdn.net/leechiyang/article/details/7250826</link><guid>https://blog.csdn.net/leechiyang/article/details/7250826</guid><author>leechiyang</author><pubDate>Sat, 11 Feb 2012 14:25:07 +0800</pubDate><description><![CDATA[“超级节能”模式竟然有利于提高性能，而且还要增加功耗。怎么这个说明和“高性能”选项一样呢？]]></description><category></category></item><item><title><![CDATA[屏蔽迅雷看看广告]]></title><link>https://blog.csdn.net/leechiyang/article/details/7039904</link><guid>https://blog.csdn.net/leechiyang/article/details/7039904</guid><author>leechiyang</author><pubDate>Sun, 04 Dec 2011 19:49:36 +0800</pubDate><description><![CDATA[127.0.0.1       localhost
127.0.0.1 activate.adobe.com
127.0.0.1 practivate.adobe.com
127.0.0.1 ereg.adobe.com
127.0.0.1 activate.wip3.adobe.com
127.0.0.1 wip3.adobe.com
127.0.0.1 3dns-3.adobe.c]]></description><category></category></item><item><title><![CDATA[解决exe和DLL直接传递FILE 指针崩溃的问题。]]></title><link>https://blog.csdn.net/leechiyang/article/details/6873952</link><guid>https://blog.csdn.net/leechiyang/article/details/6873952</guid><author>leechiyang</author><pubDate>Fri, 14 Oct 2011 16:31:01 +0800</pubDate><description><![CDATA[EXE程序和DLL之间可能传递FILE指针，但是可能会造成程序崩溃。这是由于_lock_file引起的
void __cdecl _lock_file (
        FILE *pf
        )
{
        /*
         * The way the FILE (pointed to by pf) is locked depends on whether]]></description><category></category></item><item><title><![CDATA[Linux控制台禁用PC-speaker]]></title><link>https://blog.csdn.net/leechiyang/article/details/6788155</link><guid>https://blog.csdn.net/leechiyang/article/details/6788155</guid><author>leechiyang</author><pubDate>Sun, 18 Sep 2011 22:14:47 +0800</pubDate><description><![CDATA[Linux控制台的喇叭是在是太吵了，只要之心下面的命令，就可以把它关掉
 rmmod pcspkr
 
在使用终端或者vim 时PC有时会发出讨厌的巴巴声,可通过如下方法去掉:
#vim /etc/inputrc 
将代码:
  set bell-style none]]></description><category></category></item></channel></rss>