- 博客(16)
- 资源 (4)
- 收藏
- 关注
原创 c#remoting的配置文件方式
ConsoleServer:配置文件:App.config:<?xml version="1.0" encoding="utf-8" ?><configuration> <system.runtime.remoting> <application> <service> <well...
2019-04-02 00:50:44
580
原创 c#中的remoting demo
ConsoleServer : 创建控制台应用,把生成的ConsoleServer.exe放到桌面上的dll文件夹下。代码如下(MarshalByRefObject一定要继承,否则报异常):using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.T...
2019-04-02 00:05:42
328
原创 itcast-crawler-first(HttpGetParamTest)
package cn.itcast.crawler;import org.apache.http.client.methods.CloseableHttpResponse;import org.apache.http.client.methods.HttpGet;import org.apache.http.client.utils.URIBuilder;import org.apac...
2019-02-25 08:12:32
272
原创 itcast-crawler-first(HttpConfigTest)
package cn.itcast.crawler;import org.apache.http.client.config.RequestConfig;import org.apache.http.client.methods.CloseableHttpResponse;import org.apache.http.client.methods.HttpGet;import org....
2019-02-25 08:11:41
222
原创 itcast-crawler-first(HttpClientPoolTest)
package cn.itcast.crawler;import org.apache.http.client.methods.CloseableHttpResponse;import org.apache.http.client.methods.HttpGet;import org.apache.http.impl.client.CloseableHttpClient;import ...
2019-02-25 08:10:47
185
原创 itcast-crawler-first(CrawlerFirst)
package cn.itcast.crawler;import org.apache.http.HttpEntity;import org.apache.http.client.methods.CloseableHttpResponse;import org.apache.http.client.methods.HttpGet;import org.apache.http.impl....
2019-02-25 08:09:42
262
原创 dianshiju.py
import requestsimport json# https://m.douban.com/rexxar/api/v2/subject_collection/filter_tv_english_hot/items?os=android&for_mobile=1&callback=jsonp1&start=0&count=18&loc_id=108...
2019-02-22 08:24:11
152
原创 01_douban.py
# coding=utf-8import requestsimport jsonclass Douban: def __init__(self): self.url_temp = 'https://m.douban.com/rexxar/api/v2/subject_collection/filter_tv_american_hot/items?start={}&...
2019-02-22 08:23:33
142
原创 Fanyi
import requestsimport jsonclass Fanyi: def __init__(self,query_string): self.url = "http://fanyi.baidu.com/basetrans" self.query_string = query_string self.headers = {"...
2019-02-18 08:11:54
303
1
原创 TiebaSpider04
import requestsclass TiebaSpider: def __init__(self,tieba_name): self.tieba_name = tieba_name self.url_temp = "https://tieba.baidu.com/f?kw=" + tieba_name + "&ie=utf-8&...
2019-02-18 08:11:25
226
原创 tieba_spider03
import requeststieba_name = input(":")#1. 准备Url列表url_temp = "https://tieba.baidu.com/f?kw=" + tieba_name + "&ie=utf-8&pn={}"url_list = [url_temp.format(i*50) for i in range(1000)]hea...
2019-02-18 08:10:52
186
原创 context.xml
<?xml version="1.0" encoding="UTF-8"?><Context><!-- <Resource name="jdbc/eesy_mybatis" 数据源的名称type="javax.sql.DataSource" 数据
2019-01-11 21:06:19
1443
1
原创 jsp
<%@ page import="java.io.InputStream" %><%@ page import="org.apache.ibatis.io.Resources" %><%@ page import="org.apache.ibatis.session.SqlSessionFactoryBuilder" %><%@ page imp
2019-01-11 20:44:12
112
原创 我的
ts only appender to CONSOLE.#log4j.rootCategory=INFO, CONSOLE debug info warn error fatallog4j.rootCategory=debug, CONSOLE, LOGFILE# Set the enterprise logger category to FATAL and ...
2019-01-11 19:49:58
134
原创 Spring整合jdbcTemplate模板报错
org.springframework.beans.NotWritablePropertyException: Invalid property 'jt' of bean class
2017-05-26 17:01:57
1456
Put JSF to work(使用JSF, Spring, Hibernate构建一个实际的web应用)
2007-12-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人