加载中
Spring Boot 备忘

快速构建工程 使用官方提供的Spring Initializr,来快速生成Spring boot应用骨架 打开网址:https://start.spring.io/ 搜索并添加依赖 生成并下载 Web 核心依赖包 <dependency>   <groupId>o...

2018/02/09 15:48
188
运行jar时xxx.class.getResource("/")为null的解决方法

很简单…… 打包的时候,在MANIFEST中加入一个. Manifest-Version: 1.0 Class-Path: . commons-collections4-4.1.jar xmlbeans-2.6.0.jar objenesi s-2.1.jar jconsole.jar jackson-core-2...

2017/08/14 09:21
565
通过 IntelliJ IDEA 去 Debug Jar包

代码打成Jar之后,要如何进行Debug呢? 下面以 IDEA 来例进行说明: 1、在IntelliJ IDEA的run/debug configuration中增加一个remote类型的配置 2、以以下方式来启动 Jar包 $java -Xdebug -X...

2017/08/14 01:01
935
JFianl整合Shiro

Apache Shiro是Java的一个安全框架,也是我第一个使用的Java安全框架。在我的入门级开源项目JFinal-Paladin中,我进行了一些实践,总体感觉还是非常棒的,该考虑到的都感觉已经考虑到。对比之...

2016/08/30 17:18
322
mac下使用brew安装mysql

##【安装】 brew install mysql 下载完成以后需要编译,此时需要占用很大的cpu,风扇会狂叫,没事,完了就好 #使用 【启动】 sudo mysql.server start 此时可能会报错: Starting MySQL ....

2016/07/28 12:47
694
Installing Tomcat 8 on OS X 10.11 El Capitan

By far the easiest way to install and configure an Apache Tomcat server on a mac is using thehomebrew package management suite. If you’re not already using homebrew, you should...

2016/07/27 14:19
154
MYSQL中取当前周/月/季/年的第一天与最后一天

#当年第一天: SELECT DATE_SUB(CURDATE(),INTERVAL dayofyear(now())-1 DAY); #当年最后一天: SELECT concat(YEAR(now()),'-12-31'); #当前week的第一天: select date_sub(curdate(...

2016/06/21 10:03
3.3K
mysql/Java服务端对emoji的支持

【导出utf8mb4的数据】 sudo ./mysqldump --default-character-set=utf8mb4 -uroot -proot yuansu > ~/Downloads/yuansu.sql 前言: 最近开发的iOS项目因为需要用户文本的存储,自然就遇到了...

2016/05/21 13:20
125
Log4j中conversionPattern的含义

%a -- 表示礼拜几,英文缩写形式,比如“Fri” %A -- 表示礼拜几,比如“Friday” %b -- 表示几月份,英文缩写形式,比如“Oct” %B -- 表示几月份,“October” %c -- 标准的日期+时间格式...

2016/04/19 12:11
89
对于ApiCloud和React Native的选择

开发App已经有两个星期了。第一个星期主要尝试了下用ApiCloud、这周最主要尝试了下React Native。各有千秋吧。 ##ApiCloud ###优点: 1、上手简单,对于做过web开发的人来说,上手非常容易。...

2016/03/23 15:11
688
设置React Native自定义字体

IOS的问题比较少,直接使用客户端同事给出的字体名称就可以直接使用 { fontFamily: 'customFont' } 这个字体名称是他们在外层客户端里面已经打包好了的,我可以直接通过名称调用 自己打包字体...

2016/03/21 10:29
6.4K
CentOS上安装redis

###安装tcl支持 yum install tcl 安装redis我们以最新的2.8.9为例 $ wget http://download.redis.io/releases/redis-2.8.9.tar.gz $ tar xzf redis-2.8.9.tar.gz $ cd redis-2.8.9 $ make $...

2016/02/29 09:43
150
nodejs通过session实现身份验证

###1)引入模块 var session = require('express-session'); var cookieParser = require('cookie-parser'); ###2)应用cookie及session app.use(cookieParser()); app.use(session({ re...

2016/02/29 09:36
151
Data-only container madness

Data-only containers are a pattern for managing your docker volumes with containers instead of manually with host-mounted volumes. For more info on the pattern, see Data-only co...

2015/11/18 14:52
37
Docker实现Tengine+php-fpm的多容器协作的web应用环境

http://git.oschina.net/zx0211/zx_docker ------------------ 2015-11-15 做的比较基础。其实镜像构建好了,多容器应用使用docker-compose进行组织启动,比较方便。 ------------------ 201...

2015/11/14 13:53
385
Docker Cleanup Commands

I've been working quite a bit with Docker these last few weeks and one thing that I found really annoying was all these unused containers and images taking up precious disk spac...

2015/11/11 15:15
147

没有更多内容

加载失败,请刷新页面

返回顶部
顶部