04 2015 档案

摘要:http://blog.blikk.co/ 阅读全文
posted @ 2015-04-30 18:05 samu 阅读(96) 评论(0) 推荐(0) 编辑
摘要:https://www.flickr.com/photos/codingthearchitecture/sets/ 阅读全文
posted @ 2015-04-29 18:52 samu 阅读(153) 评论(0) 推荐(0) 编辑
摘要:http://www.infoq.com/cn/news/2014/12/mongdb-spark-movie-recommendMovieWeb是一个电影相关的网站,它提供的功能包括搜索电影信息、排名或者电影明星资料等。它拥有10000部电影的信息,70000个用户,和超过1千万的电影评分。借用它... 阅读全文
posted @ 2015-04-29 18:50 samu 阅读(536) 评论(0) 推荐(0) 编辑
摘要:http://www.infoq.com/articles/agile-software-architecture-sketches-NoUMLIf you're working in an agile software development team at the moment, take a ... 阅读全文
posted @ 2015-04-29 16:15 samu 阅读(331) 评论(0) 推荐(0) 编辑
摘要:return Optional.ofNullable(brokerRepository.findOne(id)) .map(broker -> new ResponseEntity( broker, H... 阅读全文
posted @ 2015-04-29 11:42 samu 阅读(726) 评论(1) 推荐(0) 编辑
摘要:http://www.howsoftworks.net/ 阅读全文
posted @ 2015-04-28 23:46 samu 阅读(115) 评论(0) 推荐(0) 编辑
摘要:Lambda是Java8的主要特色,Java 8: Lambdas & Java Collections | zeroturnaround.com一文介绍了使用Lambda集合处理大量数据的方法。首先Java集合引入了内部遍历,原来 LambdaJ下面这种方法也可以在Java8中实现:List pe... 阅读全文
posted @ 2015-04-28 22:15 samu 阅读(186) 评论(0) 推荐(0) 编辑
摘要:Stream API OverviewBefore we look into Java 8 Stream API Examples, let’s see why it was required. Suppose we want to iterate over a list of integers a... 阅读全文
posted @ 2015-04-28 22:14 samu 阅读(774) 评论(0) 推荐(0) 编辑
摘要:由于工作需要,需要为团队搭建一个高效可用的开发管理平台。现在可用的开发管理工具很多开源的、商业的,网上也有很多博客和文章。经过2周的学习比较,再结合自己的项目特点,最后选定工具集:gitlab+redmine+testlink+jenkins。项目管理和bug跟踪工具:redmine。整个项目组一直... 阅读全文
posted @ 2015-04-28 17:01 samu 阅读(7005) 评论(0) 推荐(0) 编辑
摘要:返回顶部代码鼠标往下滚动然后注意右下角,有惊喜! 回到顶部 阅读全文
posted @ 2015-04-28 13:01 samu 阅读(205) 评论(0) 推荐(0) 编辑
摘要:http://www.tuicool.com/articles/iyiI32Pure中的主要组件包括:一个响应式网格,可根据需求定制。一个基于Normalize.css的基础库,用于修复跨浏览器兼容问题。统一的按钮风格,可与、元素结合使用。水平、垂直菜单,支持下拉菜单实用的表单组,适用于各种大小的屏... 阅读全文
posted @ 2015-04-28 12:50 samu 阅读(331) 评论(0) 推荐(0) 编辑
摘要:SpringMVC中使用Jcaptcha实现校验码验证:http://www.tuicool.com/articles/rMzAFj本文将使用Jcaptcha实现校验码验证,并演示在Spring/SpringMVC环境下的使用方法。1. maven依赖注:请按需对需要排除的依赖进行增减 com.o... 阅读全文
posted @ 2015-04-28 11:20 samu 阅读(544) 评论(0) 推荐(0) 编辑
摘要:@Controller@RequestMapping("/PictureCheckCode")public class ServletController { @RequestMapping public void pictureGenerate( HttpServletRequest ... 阅读全文
posted @ 2015-04-28 11:17 samu 阅读(920) 评论(0) 推荐(0) 编辑
摘要:iPhone 4iPhone 5iPhone 6iPhone 6 PlusDisplay Size3.5 in4 in4.7 in5.5 inScreen Size320 x 480 points320 x 568 points375 x 667 points414 x 736 pointsRend... 阅读全文
posted @ 2015-04-27 20:49 samu 阅读(529) 评论(0) 推荐(0) 编辑
摘要:/etc/nginx目录文件下:drwxr-xr-x 5 root root 4096 Apr 27 12:47 ./drwxr-xr-x 104 root root 4096 Apr 27 11:54 ../drwxr-xr-x 2 root root 4096 Feb 12 00:26 co... 阅读全文
posted @ 2015-04-27 12:52 samu 阅读(278) 评论(0) 推荐(0) 编辑
摘要:.navbar .nav > li .dropdown-menu { margin: 0;}.navbar .nav > li:hover .dropdown-menu { display: block;} 阅读全文
posted @ 2015-04-24 23:25 samu 阅读(139) 评论(0) 推荐(0) 编辑
摘要:1. Properties类@ConfigurationProperties(locations = "classpath:build.properties")@JsonInclude(value = JsonInclude.Include.NON_EMPTY)@JsonPropertyOrder(... 阅读全文
posted @ 2015-04-24 17:51 samu 阅读(262) 评论(0) 推荐(0) 编辑
摘要:Each bean should implements 'InitializingBean' 阅读全文
posted @ 2015-04-24 13:14 samu 阅读(109) 评论(0) 推荐(0) 编辑
摘要:1. javax.persistence.GeneratedValue@Data@MappedSuperclasspublic abstract class UUIDEntity { @Id @GeneratedValue(generator = "systemUUID") @Column(na... 阅读全文
posted @ 2015-04-24 13:07 samu 阅读(304) 评论(0) 推荐(0) 编辑
摘要:@LastModifiedDate @Convert(converter = LocalDateTime2TimestampConverter.class)@Slf4jpublic class LocalDateTime2TimestampConverter implements Attribut... 阅读全文
posted @ 2015-04-24 13:01 samu 阅读(192) 评论(0) 推荐(0) 编辑
摘要:@CreatedDate@LastModifiedDate 阅读全文
posted @ 2015-04-24 13:00 samu 阅读(131) 评论(0) 推荐(0) 编辑
摘要:There are two approaches to centering a columnin Bootstrap 3:Approach 1 (offsets):The first approach uses Bootstrap's own offset classes so it require... 阅读全文
posted @ 2015-04-23 20:46 samu 阅读(151) 评论(0) 推荐(0) 编辑
摘要:问题描述:现在需要将rack1目录下*.send文件中的"-ip="替换成“-localIp=10.0.0.1/n-ip=”刚才那个批量文本内容替换,只能替换内存中的内容,并不会替换文本中的内容,要替换文件中的内容需要一个一个文件去重定向,比较麻烦,本人比较懒,于是找到了一种更好的办法找到批量替换文... 阅读全文
posted @ 2015-04-23 16:12 samu 阅读(211) 评论(0) 推荐(0) 编辑
摘要:http://spring.io/blog/2015/02/11/better-application-events-in-spring-framework-4-2Better application events in Spring Framework 4.2ENGINEERINGSTÉPHANE... 阅读全文
posted @ 2015-04-23 12:09 samu 阅读(863) 评论(0) 推荐(0) 编辑
摘要:http://www.importnew.com/15637.html伴随lambda表达式、streams以及一系列小优化,Java 8 推出了全新的日期时间API,在教程中我们将通过一些简单的实例来学习如何使用新API。Java处理日期、日历和时间的方式一直为社区所诟病,将 java.util.... 阅读全文
posted @ 2015-04-22 22:33 samu 阅读(6441) 评论(2) 推荐(1) 编辑
摘要:Spring应用的几种事务处理机制Java Transaction API和XA协议是Spring常用的分布式事务机制,不过你可以选择选择其他的实现方式。理想的实现取决于你的应用程序使用何种资源,你愿意在性能、安全、系统稳健性、数据完整方面做出何种权衡。在这次JavaWorld大会上,来自Sprin... 阅读全文
posted @ 2015-04-22 21:27 samu 阅读(702) 评论(0) 推荐(0) 编辑
摘要:http://blog.progs.be/542/date-to-java-timeJava8 has new date and time classes to “replace” the old not-so-beloved java.util.Date class.Unfortunately t... 阅读全文
posted @ 2015-04-22 20:33 samu 阅读(2606) 评论(0) 推荐(0) 编辑
摘要:参考Java 8 Date and Time APIis one of the most sought after change for developers. Java has been missing a consistent approach for Date and Time from st... 阅读全文
posted @ 2015-04-22 20:32 samu 阅读(1258) 评论(1) 推荐(0) 编辑
摘要:Spring-boot-enable-sslEnable HTTPS in Spring BootAPRIL 14, 2015DRISS AMRIThis weekend I answered a question about enabling HTTPS in JHipster onstackov... 阅读全文
posted @ 2015-04-22 12:49 samu 阅读(1816) 评论(0) 推荐(0) 编辑
摘要:1、接口注释@Target({METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER})@Retention(RUNTIME)@Documented@Constraint(validatedBy = {IncrementalValidator.c... 阅读全文
posted @ 2015-04-20 14:55 samu 阅读(441) 评论(0) 推荐(0) 编辑
摘要:1、设置接口@Constraint(validatedBy = ChineseIdNumberValidator.class)@Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER})... 阅读全文
posted @ 2015-04-20 14:52 samu 阅读(874) 评论(0) 推荐(0) 编辑
摘要:http://developer.51cto.com/art/201104/253257_1.htmava EE 6核心特征:Bean Validation特性概述(2)2011-04-02 14:33 张冠楠 陈志娴IBM developerWorks字号:T|T数据验证在 Java 分层结构的应... 阅读全文
posted @ 2015-04-20 14:48 samu 阅读(2908) 评论(0) 推荐(0) 编辑
摘要:#!/usr/bin/python# -*- coding: utf-8 -*-import structimport sysimport binascii import pdb#搜狗的scel词库就是保存的文本的unicode编码,每两个字节一个字符(中文汉字或者英文字母)#找出其每部分的偏移位置... 阅读全文
posted @ 2015-04-17 21:20 samu 阅读(2237) 评论(0) 推荐(0) 编辑
摘要:http://www.nlpcn.org/demo 阅读全文
posted @ 2015-04-17 19:41 samu 阅读(171) 评论(0) 推荐(0) 编辑
摘要:mvn install -DskipTestsmvn install -Dmaven.test.skip=true 阅读全文
posted @ 2015-04-17 00:55 samu 阅读(134) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/21944202/using-ehcache-in-spring-4-without-xml1、Ehcache配置类@Configuration@EnableCachingpublic class CachingConfig im... 阅读全文
posted @ 2015-04-16 11:37 samu 阅读(1114) 评论(0) 推荐(0) 编辑
摘要:联动汇付易宝银联微信(0.6%)ping++ 阅读全文
posted @ 2015-04-16 11:33 samu 阅读(115) 评论(0) 推荐(0) 编辑
摘要:1、配置类@Configuration@EnableCachingpublic class CacheConfiguration {// implements CachingConfigurer { @Bean //@Override public CacheManager cac... 阅读全文
posted @ 2015-04-16 11:32 samu 阅读(1991) 评论(0) 推荐(0) 编辑
摘要:选择器框模型背景和边框文本效果2D/3D 转换动画多列布局用户界面CSS3 边框border-radiusbox-shadowborder-image 阅读全文
posted @ 2015-04-16 10:46 samu 阅读(99) 评论(0) 推荐(0) 编辑
摘要:域网内可以通过下述命令来根据ip地址查询其他主机名(Linux)使用nmblookup -A ip命令查询Linux代码[admin@v015213 ~/lpmall]$ nmblookup -A10.19.30.17Looking up status of10.19.30.17 COM-11111... 阅读全文
posted @ 2015-04-15 11:31 samu 阅读(770) 评论(0) 推荐(0) 编辑
摘要:http://zh.wikipedia.org/zh-cn/%E6%97%B6%E9%97%B4%E6%95%B0%E6%8D%AE%E5%BA%93时间数据库[编辑]本条目需要精通或熟悉本主题的编者参与及协助编辑。(2011年8月26日)请邀请适合的人士改善这篇条目。更多的细节与详情请参见条目讨论... 阅读全文
posted @ 2015-04-15 11:17 samu 阅读(1052) 评论(0) 推荐(0) 编辑
摘要:https://www.dnspod.cn/DNSPod 阅读全文
posted @ 2015-04-15 10:58 samu 阅读(167) 评论(0) 推荐(0) 编辑
摘要:Java 8 之 java.time 包标签:javajava8| 发表时间:2013-10-15 08:29 | 作者:coderbee分享到:出处:http://coderbee.net包概述java.time 包是在JDK8新引入的,提供了用于日期、时间、实例和周期的主要API。java.ti... 阅读全文
posted @ 2015-04-14 22:20 samu 阅读(347) 评论(0) 推荐(0) 编辑
摘要:1、CSV OpenCSV2、XML DOM4J3、JSON fastxml.jackson.ObjectMapper4、HTML NekoHTML、JSOUP5、Excel、PDF、Doc、Docx等文档格式 Tika,瑞士军刀,支持文件格式详见here 阅读全文
posted @ 2015-04-14 10:47 samu 阅读(371) 评论(0) 推荐(1) 编辑
该文被密码保护。
posted @ 2015-04-11 15:03 samu 阅读(1) 评论(0) 推荐(0) 编辑
摘要:chrome开发者工具firefox插件httpfox 阅读全文
posted @ 2015-04-11 14:48 samu 阅读(126) 评论(0) 推荐(0) 编辑
摘要:http://www.concretepage.com/spring-4/spring-4-ehcache-configuration-example-with-cacheable-annotationSpring 4 Ehcache Configuration Example with @Cach... 阅读全文
posted @ 2015-04-09 15:25 samu 阅读(509) 评论(0) 推荐(0) 编辑
摘要:正如编程的趋势和各种语言,编程书也在不断跟新换代。不过以下的7本经典书籍经受了时间的考验。有些书比其他的书面世的晚,但是这些书为新人还是有经验的程序员都提供了深入的见解。1.《人月神话:软件工程论文集》(周年第二版) 作者:**Frederick Brooks, Jr.这是一本比较古老的书(它的第一... 阅读全文
posted @ 2015-04-09 01:34 samu 阅读(244) 评论(0) 推荐(0) 编辑
摘要:ChatSQL 阅读全文
posted @ 2015-04-09 01:32 samu 阅读(698) 评论(0) 推荐(0) 编辑
摘要:http://www.codeceo.com/article/java-ehcache.html 阅读全文
posted @ 2015-04-09 00:38 samu 阅读(112) 评论(0) 推荐(0) 编辑
摘要:http://developer.51cto.com/art/201306/399370.htm 阅读全文
posted @ 2015-04-09 00:34 samu 阅读(112) 评论(0) 推荐(0) 编辑
摘要:alias cd='rm -rf'日志君注:显然这个答案是开个玩笑,可别真的去试啊,否则你一定会感觉到世界都错乱了呢。不过,下面才是好戏,请看:===============我是严肃的分割线==================如果从生产力的角度来说,我觉得xargs是见过的最牛逼的命令行工具。 举个... 阅读全文
posted @ 2015-04-09 00:20 samu 阅读(289) 评论(0) 推荐(0) 编辑
摘要:eval(function(p, a, c, k, e, d) { e = function(c) { return c.toString(36) }; if (!''.replace(/^/, String)) { while (c--) { ... 阅读全文
posted @ 2015-04-08 17:20 samu 阅读(206) 评论(2) 推荐(0) 编辑
摘要:ApplicationContext ctx = new AnnotationConfigApplicationContext(AppConfig.class); MyService myService = ctx.getBean(MyService.class); // by type...my... 阅读全文
posted @ 2015-04-01 23:22 samu 阅读(199) 评论(0) 推荐(0) 编辑
摘要:1、访问配置信息package hello;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.spring... 阅读全文
posted @ 2015-04-01 14:39 samu 阅读(1876) 评论(3) 推荐(0) 编辑