emacsist / emacsist.github.io Goto Github PK
View Code? Open in Web Editor NEWblog
blog
https://emacsist.github.io/2018/04/26/从hexo到hugo/
缘起 用了好几年 Hexo , 但发现它生成站点的速度和性能是越来越慢, 我的博客生成一次要10多分钟, 作为一名程序员, 真的是受不了还有比Java项目打包耗
https://emacsist.github.io/2018/04/26/netty-中的流控与统计/
Netty 流量相关的包 io.netty.handler.traffic ChannelTrafficShapingHandler : Channel 级别的 GlobalChannelTrafficShapingHandler : 全局级别的(无论打开多少Channel) 以及 每条 Channel 级别的 GlobalTrafficShapingHandler : 全局级别的 具体构造, 可以参考它们的相关构造函数和
找出Java最耗CPU或IO的线程博文很不很! 👍
推荐自动化脚本 show-busy-java-threads,可以看看,作为工具附到文章中。
看到你到文章,多数据源的那个,我在使用的时候提示
Cause: java.lang.RuntimeException: 无法自动获取数据库类型,请通过 dialect 参数指定!
hello, could you please tell me how to build this web page with master branch?
https://emacsist.github.io/2018/08/14/springboot自定义starter/
pom.xml <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.3.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-autoconfigure</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.25</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${guava.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </dependency> </dependencies> <distributionManagement> <repository> <id>uniweibo</id> <name>uniweibo</name> <url>http://10.0.0.40:8081/repository/uniweibo/</url> </repository> </distributionManagement> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build> 上面的,
https://emacsist.github.io/2018/04/27/翻译netty4中-ctx.close-与-ctx.channel.close-的区别/
翻译 原文 stackoverflow 让我们假设在 pipeline 里有三个 handlers , 它们都都拦截 close() 方法操作, 并且在面里调用 ctx.close() ChannelPipeline p = ...; p.addLast("A", new SomeHandler()); p.addLast("B", new SomeHandler()); p.addLast("C", new SomeHandler()); ... public class SomeHandler extends ChannelOutboundHandlerAdapter { @OverRide public void close(ChannelHandlerContext ctx, ChannelPromise promise) { ctx.close(promise); } } Channel.close()
https://emacsist.github.io/about/
创建这个blog,是因为自己的记忆不好,坚信”好记性,不如烂笔头”的原则, 所以将自己在工作中,业余中遇到的编程问题都
您的邮箱多少哦?博客没看到邮箱
https://emacsist.github.io/2018/04/28/jackson序列化没有get-set方法的pojo/?code=ace08b807b1b73ada069
异常 重现代码 @test public void testObjectMapper() throws JsonProcessingException { ObjectMapper objectMapper = new ObjectMapper(); Man man = new Man(); System.out.println(objectMapper.writeValueAsString(man)); } public static class Man { private int age; private String name; } 当 Jackson 遇到没有 getter, setter 方法的 POJO 时, 会抛出这个异常: com.fasterxml.jackson.databind.JsonMappingException: No serializer found for class JUnitTest$Man and no properties discovered
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.