Easter79 Easter79
4年前
tomcat NIOEndpoint中的Acceptor实现
EndPoint的组件就是属于连接器Connector里面的。它是一个通信的端点,就是负责对外实现TCP/IP协议。EndPoint是个接口,它的具体实现类就是AbstractEndpoint,而AbstractEndpoint具体的实现类就有AprEndpoint、Nio2Endpoint、NioEndpoint。AprEndpoint:对应
Wesley13 Wesley13
4年前
java通过sina端口提取股票历史数据并存入MySQL
 1.提取股票代码代码见:http://www.oschina.net/code/snippet\_2688840\_55337(http://www.oschina.net/code/snippet_2688840_55337) 2抓取sina股票的json页面数据;代码见:http://www.oschina.net/code/snip
Wesley13 Wesley13
4年前
java 短信接口开发之获取当前网络IP地址工具类
publicclassIpAddress{   /\\    \获取当前网络ip    \@param(http://my.oschina.net/u/2303379)request    \@return(http://my.oschina.net/u/556800)    \/
Stella981 Stella981
4年前
Mac下使用终端连接远程使用ssh协议的git服务器
最近换了台新电脑,MacBookpro,拿到新电脑之后小小心喜了一下(终于解脱windows的束缚拥抱mac啦),然后就开始苦逼的安装各种开发环境了。之前在windows上使用tortoiseGit作为git客户端,使用putty作为ssh代理工具获取公司自己搭建的私有git服务器上,putty下的秘钥文件格式为\.ppk,这样在拉取项目时只需
Stella981 Stella981
4年前
Python_爬虫笔记_2018.3.19
Python\_爬虫\_笔记1.前言1.1爬虫用途:网站采集、接口采集(地图(jis热力学屋里端口/协议)、微信、知乎、)1.2基本流程:网页下载(requests)网页解析爬虫调度网页解析:在当前网站找信息、下一个入口等信息调度:调度器/
Stella981 Stella981
4年前
Git 技巧:恢复到前一次提交 (图示分析)
对这篇文章的试验:http://www.oschina.net/translate/gittipsrevertwithnewcommit(http://www.oschina.net/translate/gittipsrevertwithnewcommit), FYIprerequisites:gitinitt
Wesley13 Wesley13
4年前
Mysql环境搭建之解压方式安装
转自:http://www.cnblogs.com/wangfengming/articles/7880595.html一.MySQL服务安装1.下载: 地址:http:
Stella981 Stella981
4年前
Go语言实现UDP服务端和客户端
Go语言实现UDP服务端和客户端UDP协议(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fccf19881030.blog.csdn.net%2Farticle%2Fdetails%2F109198887%23UDP_2)UDP服务端(https://
Stella981 Stella981
4年前
MongoDB高级查询[聚合Group]
接上一篇...见: http://my.oschina.net/zhzhenqin/blog/97949(http://my.oschina.net/zhzhenqin/blog/97949)Group为了方便我还是把我的表结构贴上来:!(http://static.oschina.net/uploads/space/2012/
Stella981 Stella981
4年前
Linux下批量管理工具pssh安装和使用
Linux下批量管理工具pssh安装和使用pssh工具包安装:yumyinstallpsshpssh:在多个主机上并行地运行命令pscp:把文件并行地复制到多个主机上prsync:通过rsync协议把文件高效地并行复制到多个主机上