Wesley13 Wesley13
4年前
java 实现PHP gzcompress 功能
为了直观加了base64 PHP代码:<?php$agzcompress("abc");echobase64_encode($a);//输出:eJxLTEoGAAJNASc解码:gzuncompress();源码提示默认使用的是zlib的 deflate进行编码的;
Wesley13 Wesley13
4年前
iOS 网易新闻用户头像翻转效果核心代码
1.首先要先分清实现的过程,目测应该是使用了苹果自带的UIview类方法:(void)transitionFromView:(UIView\)fromViewtoView:(UIView\)toViewduration:(NSTimeInterval)durationoptions:    (UIViewAnimatio
虾米大王 虾米大王
3年前
java代码056
code056.jsp保存调查问卷调查结果你经常使用的编程语言你目前掌握的技术在学习中感觉困难的部分
Stella981 Stella981
4年前
Docker 安装
(CentOS7)使用yum方式安装docker:root@localhost~$curlhttps://download.docker.com/linux/centos/dockerce.repoo/etc/yum.repos.d/docker.reporoot@localhost~$yum
Stella981 Stella981
4年前
Feign请求响应结果被截取com.fasterxml.jackson.core.io.JsonEOFException
在生产环境使用feign调用外部接口时,偶尔会出现下面错误2020101511:00:18,535ERRORcom.shein.abc.rmp.controller.RecExplainConfigControllerrec_explain_query.failffeign.codec.DecodeExc
Wesley13 Wesley13
4年前
Ubuntu下为Firefox安装Adobe Flash Player
Ubuntu下为Firefox安装AdobeFlashPlayer使用环境:  OS:Ubuntu12.04LTS  Browser:Firefox12.0  AdobeFlashPlayer:install\_flash\_player\_11\_linux.x86\_64.tar.gz安装方法:  
Wesley13 Wesley13
4年前
NIO阻塞与非阻塞IO
一、使用NIO完成网络通信的三个核心1、通道(Channel):负责连接java.nio.channels.Channel接口|–SelectableChannel|–SocketChannel|–ServerChannel|–DatagramChannel|–Pipe.SinkChannel|–Pipe
Easter79 Easter79
4年前
Tidb数据库导入数据出现oom问题
今天使用insert操作向tidb中插入数据,发现正在导入的过程中出现如下错误:mysql:WarningUsingapasswordonthecommandlineinterfacecanbeinsecure.ERROR2003(HY000):Can'tconnecttoMySQLserver
Stella981 Stella981
4年前
Hibernate通用序列化方案,避免延迟加载问题及序列化整个数据库至
在使用Ajax:HibernateEntityjson, FlexRemoteObject: HibernateEntityActionScriptObject的过程,经常碰到如下问题:问题:1.Hibernate碰到延迟加载的属性访问时如果session被关闭则抛出LazyInitializationException
Wesley13 Wesley13
4年前
MyBatis学习总结(四)——解决字段名与实体类属性名不相同的冲突
一、准备演示需要使用的表和数据!复制代码(http://static.oschina.net/uploads/img/201512/27162409_Fm1W.gif)CREATETABLEorders(order_idINTPRIMARYKEYAUTO_INCREMENT,