微信多媒体下载接口的使用示例

$mediaId = 'xxxxxxxxxx'; $accessToken = getAccessToken($_C['appId'],$_C['appSecret']); $downloadApi = "http://file.api.weixin.qq.com/cgi-bin/media/get?access_token={$accessToken}&media_id

利用线程ping主机

  • yiqingpeng
  • 2015-04-09
  • 0
  •  
winform.btnPing.oncommand = function(id,event){ winform.btnPing.text = "稍候..." winform.btnPing.disabled = true; var result = win.invoke( function(host){ import process.popen; s

Inno程序打包脚本示例

  • yiqingpeng
  • 2015-04-08
  • 0
  •  
; 脚本由 Inno Setup 脚本向导 生成! ; 有关创建 Inno Setup 脚本文件的详细资料请查阅帮助文档! #define MyAppName "IP解析插件" #define MyAppVersion "1.0" #define MyAppPublisher "你的剑就是我的

excel 行列转置

  • yiqingpeng
  • 2015-04-08
  • 0
  •  
方法一:复制->选择性粘贴->转置 方法二:利用transpose公式:Worksheets("sheet1").Range("A39:E42") = WorksheetFunction.Transpose(Worksheets("sheet1").Range("A33:D37")) 

微信分享js-sdk的使用

微信利用jssdk进行分享的大概步骤如下: 1、公众号中配置安全域名,一般填写一级域名变可。 2、后台通过appId和appSecret向微信端获取accessToken。 3、用第二步得到的accessToken通过接口换取jsTicket。 4、计算

Javascript如何定义函数参数的默认值

function Test(a){ var b=arguments[0]?arguments[0]:50 return a+":"+b }

php之printf()小析

好吧,把printf()梳理一遍 : $num = 5; $location = "tree"; $format = "There are %d monkeys in the %s"; printf($format,$num,$location); //output:There are 5 monkeys in the tree //%d 表示

联系我

  • yiqingpeng
  • 2014-07-27
  • 0
  •