Easter79 Easter79
3年前
tcp编程、socket编程、redis
tcp编程(需要建立连接,三次握手,四次挥手,然后发送信息流,数据包是有序的)udp编程(知道IP、端口直接发送数据,数据包可能是无序的)1、客户端和服务器客!(http
Stella981 Stella981
3年前
Android 和风天气SDK获取天气
在编写app的时候遇到了记录天气的情况,所以将使用和风天气的过程记录下来。一、导入和风天气的jar包以及依赖jar包的下载链接https://dev.heweather.com/docs/sdk/android(https://www.oschina.net/action/GoToLink?urlhttps%
Wesley13 Wesley13
3年前
Ubuntu Server 安全补丁、版本升级
Ubuntu安装完毕,要做的第一件事就是升级、打补丁。要安装安全补丁,需要先用aptgetupdate命令更新软件包列表,然后运行aptgetupgrade命令升级软件包:$ sudo aptget update$ sudo aptget upgrade在运行上述aptgetupgrade命令后,如果
可莉 可莉
3年前
10.6 监控io性能 10.7 free命令 10.8 ps命令 10.9 查看网络状态 10.10 linux下抓包
10.6监控io性能关于磁盘监控更详细的查看磁盘的状态iostat是在安装sysstat这个包的时候就跟着安装了,和sar的用同一个包iostatx1root@localhost~iostatx1Linux3.10.0514.el7.x86_64
Stella981 Stella981
3年前
ERROR StatusLogger Log4j2 could not find a logging implementation.
今天在学习structs2 2.5.5的版本的时候碰到2个问题。第一个网上下的包里面差log4jcore这个包。虽然程序可以运行,但控制台会报这个错误。ERRORStatusLoggerLog4j2couldnotfindaloggingimplementation.Pleaseaddlog4jcoretothecl
Stella981 Stella981
3年前
Spring Boot(二):web应用开发,实现CRUD
一、开发web应用SpringBootWeb开发非常的简单,其中包括常用的json输出、filters、property、log等二、json接口开发以前使用spring开发项目,需要提供json接口时需要做什么呢?1、添加jackjson等相关的jar包2、配置springcontroller扫描包3
Stella981 Stella981
3年前
CentOS7 安装 redis
1、安装部署redis需要用到的工具具体情况来安装,可能还有有其他的工具和依赖包需要安装。yumyinstallwgetvimgcc2、下载redis安装包这里拿5.0.5版本举例。wgethttp://download.redis.io/releases/redis5.0.5.tar.g
Stella981 Stella981
3年前
Android文件操作
Android文件操作私有文件备注因为手机内部存储的根目录是只读的,所以需要根据规范(/data/data/报名/...)创建文件到APP私有文件夹filesDir(data/data/包名/files)用来保存重要的配置文件cacheDir(data/data/包名/cache)
Stella981 Stella981
3年前
Mybatis源码学习(一)
一、对源码先上一个结构图:!(http://static.oschina.net/uploads/space/2014/0722/073928_N712_1458864.png)源代码主要在org.apache.ibatis目录下,18个包,其中在应用中主要的包有:builder、session、cache、type、transaction、da
Stella981 Stella981
3年前
Android中GreenDao对数据库进行升级操作笔记
一、修改app中build.gradle的greendao的配置的schemaVersiongreendao{//指定数据库schema版本号,迁移等操作会用到schemaVersion1//通过gradle插件生成的数据库相关文件的包名,默认为你的entity所在的包名