上一页 1 ··· 46 47 48 49 50

2016年9月2日

php post请求http接口

摘要: 这里用的是curl方式,所以要先保证curl函数库开启:在php.ini文件里;extension=php_curl.dll前面的;分号去掉 上代码: /** * 模拟post进行url请求 * @param string $url * @param arr... 阅读全文

posted @ 2016-09-02 23:09 愤怒的苹果ext 阅读(46) 评论(0) 推荐(0) 编辑

Python爬虫(3),Python3.x

摘要: #!/usr/bin/env python# -*- coding: utf-8 -*-import urllib.request;#中文注释def load_page(url): ''' 发送URL请求 ''' user_agent="Mozilla/... 阅读全文

posted @ 2016-09-02 22:56 愤怒的苹果ext 阅读(12) 评论(0) 推荐(0) 编辑

Python爬虫(2),Python3.x

摘要: #!/usr/bin/env python# -*- coding: utf-8 -*-#中文注释import urllib.request;url = "http://www.baidu.com";#头信息user_agent="Mozilla/5.0 (c... 阅读全文

posted @ 2016-09-02 22:54 愤怒的苹果ext 阅读(10) 评论(0) 推荐(0) 编辑

Python爬虫(1),Python3.x

摘要: 直接上代码: import urllib.request;//引入包response = urllib.request.urlopen("http://www.baidu.com");//加载网页html=response.read();//读取print('... 阅读全文

posted @ 2016-09-02 22:52 愤怒的苹果ext 阅读(17) 评论(0) 推荐(0) 编辑

svn执行clean up失败后提示 cleanup failed–previous operation has not finished; run cleanup .....解决办法

摘要: 大多原因是由于没有先去更新多次操作文件引起的。解决方案找到你.svn目录下的wc.db文件下载sqlite3.exe这个工具为了方便可以放在.svn目录下:然后运行cmd:启动cmd执行sqlite3 wc.db "select * from work_que... 阅读全文

posted @ 2016-09-02 22:08 愤怒的苹果ext 阅读(31) 评论(0) 推荐(0) 编辑

2016年4月14日

微信支付异步回调的坑,调用成功了回调地址却没有数据

摘要: 今天遇上了微信扫码支付成功,调用回调地址也成功,但是就是打印不出数据 开始在controller里写了这个代码看它返回的数据 Map data = new HashMap(); Enumeration paramNames ... 阅读全文

posted @ 2016-04-14 16:12 愤怒的苹果ext 阅读(124) 评论(0) 推荐(0) 编辑

2016年4月10日

Ubuntu环境下编译so-jni调用c语言

摘要: 首先确保电脑要安装了jdk和gcc编译环境。 1.这是我写的一个Java程序: public class TestJNI { static{ System.loadLibrary("diaoyong"); //程序在加... 阅读全文

posted @ 2016-04-10 11:09 愤怒的苹果ext 阅读(31) 评论(0) 推荐(0) 编辑

2016年2月26日

解决window平台下JNI生成头文件找不到"xxx"类文件

摘要: 想写一个java调用C的小程序。 java代码: package edu.netcom.jni; public class WinMsgDll { static{ System.loadLibrary("WinMsgDll"); // (1)第一步,加载动态库 } public native voi 阅读全文

posted @ 2016-02-26 23:13 愤怒的苹果ext 阅读(3) 评论(0) 推荐(0) 编辑

解决window平台下JNI生成头文件找不到"xxx"类文件

摘要: 想写一个java调用C的小程序。 java代码: package edu.netcom.jni; public class WinMsgDll { static{ System.loadLibrary("WinMsgDll"); //... 阅读全文

posted @ 2016-02-26 23:13 愤怒的苹果ext 阅读(40) 评论(0) 推荐(0) 编辑

2015年6月11日

redhat钰硕ar8151网卡配置(驱动安装)教程

摘要: 钰硕ar8151网络配置纠结了我三天,最后终于解决了,一般的Linux系统安上了不需要安网络驱动的,但是钰硕ar8151网卡好像不一样。 首先下载AR81Family-linux-v1.0.1.14 .tar.gz 安装ar8151网卡注意gcc编译环境和... 阅读全文

posted @ 2015-06-11 22:54 愤怒的苹果ext 阅读(150) 评论(0) 推荐(0) 编辑

上一页 1 ··· 46 47 48 49 50

导航