- 博客(216)
- 资源 (68)
- 收藏
- 关注
原创 java MemoryStream
package org.rx.io;import io.netty.buffer.ByteBuf;import lombok.NonNull;import lombok.Setter;import lombok.SneakyThrows;import org.rx.bean.$;import org.rx.annotation.ErrorCode;import org.rx.b...
2021-06-25 18:37:00 867
原创 java RedoHandler
package org.rx.bot.util;import lombok.Getter;import lombok.Setter;import org.jetbrains.annotations.NotNull;import org.rx.core.Disposable;import org.rx.core.Tasks;import org.rx.util.functi...
2021-02-26 13:51:00 204
原创 java execShell
public static List<String> execShell(String workspace, String... shellStrings) { List<String> resultList = new ArrayList<>(); StringBuilder msg = new StringBuil...
2021-01-03 09:46:00 262
原创 java ShellExecutor
package org.rx.service;import lombok.Getter;import lombok.SneakyThrows;import lombok.extern.slf4j.Slf4j;import org.apache.commons.io.FilenameUtils;import org.rx.core.exception.InvalidExcep...
2020-12-22 13:43:00 320
原创 简单ddns的实现
coredns +package org.rx.service;import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.JSONObject;import lombok.RequiredArgsConstructor;import lombok.extern.slf4j.Slf4j;import org.a...
2020-12-05 09:11:00 420
原创 java 京东登录
package org.rx.service.media;import io.netty.channel.Channel;import io.netty.handler.codec.http.HttpHeaderNames;import io.netty.handler.codec.http.HttpRequest;import io.netty.handler....
2019-12-11 10:34:00 326
原创 java 11 已移除 javax.xml.bind
@SneakyThrows public static <T> String convertToXml(T obj) { require(obj); JAXBContext jaxbContext = JAXBContext.newInstance(obj.getClass()); Marshal...
2019-12-10 10:23:00 831
原创 java LogWriter
package org.rx.core;import lombok.Getter;import lombok.Setter;import lombok.SneakyThrows;import lombok.extern.slf4j.Slf4j;import org.jetbrains.annotations.NotNull;import java.io...
2019-12-09 14:36:00 869
原创 selenium.Cookie 转 okhttp3.Cookie
package org.rx.util;import lombok.SneakyThrows;import okhttp3.HttpUrl;import org.openqa.selenium.Cookie;import org.rx.core.NQuery;import org.rx.socks.http.HttpClient;import java...
2019-12-08 21:23:00 359
原创 java com.db4o 类
<!--juan_zhai--> <dependency> <groupId>com.db4o</groupId> <artifactId>com.db4o</artifactId> <versi...
2019-12-08 20:39:00 155
原创 java sigar 系统监控
<dependency> <groupId>org</groupId> <artifactId>sigar</artifactId> <version>1.6.4</version> <...
2019-12-08 18:37:00 243
原创 Gson extend 思路
package org.rx.core.internal;import com.google.gson.*;import net.sf.cglib.proxy.Enhancer;import net.sf.cglib.proxy.MethodInterceptor;import net.sf.cglib.proxy.MethodProxy;import org...
2019-12-06 14:48:00 127
原创 java BufferSegment
package org.rx.util;import java.util.function.Consumer;import static org.rx.core.Contract.require;public class BufferSegment { private final byte[] buffer; private final i...
2019-10-23 10:54:00 135
原创 Java BIO socket
package org.rx.socks;import lombok.extern.slf4j.Slf4j;import org.rx.core.LogWriter;import org.rx.core.NQuery;import org.rx.beans.DateTime;import java.io.IOException;import java....
2019-10-21 18:17:00 206
原创 netty 优化
http://normanmaurer.me/presentations/2014-facebook-eng-netty/slides.html#40.0
2019-10-17 13:48:00 169
原创 f-li.cn
package org.rx.service.command.impl;import lombok.Getter;import lombok.Setter;import org.rx.core.NQuery;import org.rx.core.dto.media.MediaType;import org.rx.core.dto.media.AdvFoundS...
2019-09-22 22:19:00 132
原创 java 简单 SocketPool
package org.rx.socks;import lombok.extern.slf4j.Slf4j;import org.rx.common.LogWriter;import org.rx.common.NQuery;import org.rx.beans.DateTime;import java.io.IOException;import java.n...
2019-08-07 18:13:00 510
原创 java Logger 类
package org.rx.common;import org.slf4j.LoggerFactory;import java.util.Collections;import java.util.List;import java.util.function.Function;import java.util.regex.Pattern;import sta...
2019-08-04 20:10:00 2573 1
原创 基于V8的JsonMapper
<dependency> <groupId>com.eclipsesource.j2v8</groupId> <artifactId>j2v8_win32_x86_64</artifactId> <version>4.6.0</version> <scope>compile<...
2019-07-12 17:05:00 287
原创 爬虫要违法了吗?小编告诉大家:守住规则,大胆去爬
最近我学习和实践网络爬虫,总想着在这儿抓点数据在那儿抓点数据。但不知为什么,抓取别人网站数据时,总会产生莫名恐慌生怕自己一不小心就侵权了,然后被关在监狱摩擦所以我想现在这个时候,非常有必要仔细研究一下有关网络爬虫的规则和底线。我们生活中几乎每天都在爬虫应用,如百度,你在百度中搜索到的内容几乎都是爬虫采集下来的(百度自营的产品除外,如百度知道、百科等...
2019-06-17 20:47:00 297
原创 java 轻量级 RestClient
java 轻量级 RestClient package org.rx.socks.http;import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.JSONObject;import net.sf.cglib.proxy.Enhancer;import net.sf.cg...
2019-05-18 22:16:00 2147
原创 java 原生 HttpClient
java 原生 HttpClient package org.rx.socks.http;import com.google.common.base.Strings;import lombok.SneakyThrows;import org.rx.common.App;import org.rx.common.Contract;im...
2019-05-18 21:55:00 714
原创 《将博客搬至CSDN》
《将博客搬至CSDN》 《将博客搬至CSDN》 posted on 2019-03-19 11:07 RockyLOMO 阅读(...) 评论(...) 编辑 收藏
2019-03-19 11:07:00 69
原创 java LRUCache
java LRUCache package org.rx.cache;import org.rx.common.*;import org.rx.beans.DateTime;import java.util.Collections;import java.util.LinkedHashMap;import java.util.M...
2019-02-06 09:53:00 262
原创 java proxy 转包
java proxy 转包 package org.rx.socks.proxy;import io.netty.channel.Channel;import io.netty.channel.ChannelFuture;import io.netty.channel.ChannelHandlerContext;import io.ne...
2019-02-02 10:58:00 135
原创 java LRUCache
java LRUCache package org.rx.cache;import org.rx.common.*;import org.rx.beans.DateTime;import java.util.Collections;import java.util.LinkedHashMap;import java.util.M...
2019-01-10 16:48:00 265
原创 org.springframework.cloud FeignInterceptor
org.springframework.cloud FeignInterceptor package org.rx.feign;import org.apache.commons.lang3.ArrayUtils;import org.aspectj.lang.ProceedingJoinPoint;import org.aspectj.l...
2018-07-09 11:39:00 92
原创 Java randomString
Java randomString public static String randomString(int strLength) { Random rnd = ThreadLocalRandom.current(); StringBuilder ret = new StringBuilder(); ...
2017-10-24 17:38:00 536
原创 Java NStruct
Java NStruct package org.rx.bean;import org.rx.Lazy;import org.rx.SystemException;import java.io.Serializable;import java.lang.reflect.Field;public abstract class ...
2017-09-30 22:00:00 95
原创 java xml 转 json
java xml 转 json <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> ...
2017-09-30 10:09:00 73
原创 java readProperties
java readProperties @Deprecatedpublic static Map<String, String> readProperties(String propertiesFile) { Properties prop = new Properties(); try { prop....
2017-09-29 16:52:00 159
原创 Java log4j
Java log4j <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> ...
2017-09-19 15:59:00 59
原创 Java 1.7 NQuery
Java 1.7 NQuery package org.rx.common;import java.lang.reflect.Array;import java.util.*;/** * Created by wangxiaoming on 2016/3/3. * https://msdn.microsoft.com/en-us...
2017-09-06 16:55:00 197
原创 Java RedisClient
Java RedisClient package org.rx.util;import org.redisson.Redisson;import org.redisson.api.RedissonClient;import org.redisson.config.Config;import org.springframework.bea...
2017-08-24 13:06:00 524
原创 Java EntityMapper
Java EntityMapper package org.rx.util;import org.rx.common.Func2;import org.rx.common.Action2;import org.rx.common.Func1;import org.rx.common.NQuery;import org.rx.secu...
2017-08-10 17:22:00 868
原创 Java 获取class method parameter name
Java 获取class method parameter name package org.rx.util;import org.objectweb.asm.*;import java.io.IOException;import java.io.InputStream;import java.lang.reflect.Method...
2017-07-04 14:42:00 455
原创 Java InMemoryCache
Java InMemoryCache package pay.infrastructure.helper;import org.apache.commons.collections.MapIterator;import org.apache.commons.collections.map.LRUMap;import java.util....
2016-09-07 12:02:00 344
原创 JAVA开发相关
JAVA开发相关 JAVA开发相关1. IntelliJ IDEA开发工具熟练使用2. Maven3. Spring框架(IoC、AOP) 1)数据库相关MyBatis 2)数据库连接池 3)事务、多数据源、跨数据库分布式事务4. Servlet相关 1)前端相关开发 2)数据库连接池 3)事务、多数据源、跨数据库分布式事务5. CXF分布式服务应用框架 1)...
2016-04-21 19:59:00 75
原创 Java Base64 类
Java Base64 类 package org.yp.ypfinancing.core.service.payV2.domain.service.Sdp.utils;public final class Base64 { static private final int BASELENGTH = 128; static ...
2016-04-12 17:06:00 121
LinQ to Memcached with SQL Server Change Tracking
2013-01-11
C# socket 多线程多管道可断点传送大文件(附单线程单管道传送)
2010-06-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人