自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (2)
  • 收藏
  • 关注

原创 C/C++ Log function source code

// log error info to file.void Log(char *szInfo, ...){ va_list args = NULL; FILE *fp = NULL; if (NULL == szInfo) { return; } fp = fopen("ad.log", "a+"); if (NULL ==

2014-03-24 23:11:55 590

原创 URLDownloadToFile

URLDownloadToFilehttp://msdn.microsoft.com/en-us/library/ms775123%28VS.85%29.aspx

2014-03-17 20:36:31 653

原创 simple HTTP server - python

# -*- coding:utf-8 -*-import sysreload(sys)sys.setdefaultencoding('gb18030')import SimpleHTTPServerimport SocketServerPORT = 8000Handler = SimpleHTTPServer.SimpleHTTPRequestHandlerhttpd =

2014-03-11 00:19:04 2079

转载 wget function of python

#wget_cmd.py#!/usr/bin/pythonimport sys, urllibdef reporthook(*a): print afor url in sys.argv[1:]: i = url.rfind('/') file = url[i+1:] print url, "->", file urllib.urlretriev

2014-03-06 15:35:26 637

原创 git cannot work in windows cmd shell : try git-credential-winstore

you can not use git for network operation, due to the authentication problem.solution: install git-credential-winstore.exe点击打开链接

2014-03-05 22:56:45 687

转载 Simple SSL cert - HOWTO

You will need openssl.Make a new ssl private key:Generate a new unencrypted rsa private key in PEM format: openssl genrsa -out privkey.pem 1024You can create an encrypted key by addi

2014-03-04 00:01:12 700

转载 python psutil

import psutilPROCNAME = "python.exe"for proc in psutil.process_iter(): if proc.name == PROCNAME: proc.kill()

2014-03-03 16:56:55 2074

转载 get proc list by python

use the pywin32 module.import win32pdh, string, win32apidef procids(): #each instance is a process, you can have multiple processes w/same name junk, instances = win32pdh.EnumObjectIte

2014-03-03 16:50:00 975

UPX文件压缩工具

PE文件(EXE/DLL等)压缩、解压缩工具。

2014-04-07

git-credential-winstore.exe

解决windows中使用git工具,不能输入用户名和密码的问题。原理是使用windows的“凭据管理器”。

2014-04-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除