自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 Linux Shell脚本实现根据进程名杀死进程

#!/bin/sh #根据进程名杀死进程 if [ $# -lt 1 ] then echo "缺少参数:procedure_name" exit 1 fi   PROCESS=`ps -ef|grep $1|grep -v grep|grep -v PPID|awk '{ print $2}'` for i in $PROCESS do echo "Kill the $1 proce

2015-07-23 15:07:09 1179

原创 分布式数据处理解决方案

@Test public void testIndex() { int amount = 3; int index = 2; if(amount==index){ index=0; } int[] ids = new int[] { 1, 2, 3, 4, 5, 6, 7, 8, 9 ,10,11}; for (int id : ids) { if (amount > 1) {

2015-07-15 19:11:45 743

原创 git 忽略提交文件.gitignore

## .gitignore for Grails 1.2 and 1.3 # .gitignore for maven target/ *.releaseBackup # web application files #/web-app/WEB-INF # IDE support files /.classpath /.launch /.project /.settings /

2015-07-13 14:25:01 1882

原创 Spring boot 学习笔记—带来的好处(二)

Spring框架对于很多Java开发人员来说都不陌生。自从2002年发布以来,Spring框架已经成为企业应用开发领域非常流行的基础框架。有大量的企业应用基于Spring框架来开发。Spring框 架包含几十个不同的子项目,涵盖应用开发的不同方面。如此多的子项目和组件,一方面方便了开发人员的使用,另外一个方面也带来了使用方面的问题。每个子项 目都有一定的学习曲线。开发人员需要了解这些子项目和组件的

2015-07-12 23:25:21 8399

原创 Spring boot 学习笔记 ---分分钟构建一个web程序(一)

Springboot 学习笔记 1.分分钟创建一个简单springmvc项目 基本环境 jdk1.7+ maven 3.3+ eclipse 使用创建一个maven项目 2.添加pom依赖 <project xmlns="http

2015-07-12 22:54:27 975

转载 Dos命令查看端口占用及关闭进程

Dos命令查看端口占用及关闭进程 1. 查看端口占用2. 关闭进程3. 端口状态 1. 查看端口占用 在windows命令行窗口下执行: netstat -aon|findstr "8080" TCP 127.0.0.1:80 0.0.0.0:0 LISTENING 2448

2015-07-11 16:32:08 815

原创 GIT学习笔记

git 命令: git版本号:     git --version 设置用户名及邮箱地址     git config --global user.name "zhanghongwei"     git config --global user.email zhanghongwei@shangpin.com 自动创建一个工作目录并创建版本库     git init demo

2015-07-02 16:22:27 274

原创 定时任务框架搭建

定时任务框架搭建   1.        创建maven项目quartz-spring-demo 2.        添加maven依赖配置 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=

2015-07-02 15:34:48 418

原创 spring 注解扫描bean配置

1. 在applicationContext.xml配置如下: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema

2015-07-02 14:36:05 2564

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除