- 浏览: 357398 次
- 性别:
- 来自: 北京
-
最新评论
-
xushenkun4:
至今仍然有这个bug,0.9.1无法传输中文utf8。
thrift使用出现诡异问题 -
feiniao2029:
[i][/i][u][/u]引用
spring 配置init方法 -
wt811004:
非常感谢朋友慷慨指导
dotproject项目管理工具使用 -
hackpro:
这将是一个经典,就像大话西游...
javaeye怀旧 -
raymond2006k:
个人更偏好 Velocity。我觉得还有个对比点,就是编程方式 ...
jsp freemarker velocity 比较
文章列表
1.说明
php 调用jira的soap接口代码:
<?php
$server_url = "http://******.44/s3c/samples/";
$cur_url = "http://******.14/s3c/";
// Jira WSDL
$wsdl = "http://******.14:8080/rpc/soap/jirasoapservice-v2?wsdl";
$login = "******";
$p ...
1.php保留两位小数例子 四舍五入
A.number_format
$number = 1234.5678;
$nombre_format_francais = number_format($number, 2, ',', ' ');
// 1 234,57
$english_format_number = number_format($number, 2, '.', '');
// 1234.57
B.round
$number = 1234.5678; ...
1.在开放中,有时候为方便将日期时间以long类型(秒钟)存在数据库,这里要查询数据就需要进行转换。
在mysql中只要使用from_unixtime函数就可以了。
附mysql的两个转换函数:
在mysql 数据库中,“2009-09-15 00:00:00”转化为列为长整型的函数:
select unix_timstamp("2009-09-15 00:00:00")*1000,
这里要注意,mysql数据库中的长整型,比java中的长整型少了秒后面的毫秒数,所以要乘以1000,这样只有几毫秒之差
2、在mysql数据库中,“1252999488000”(java中的 ...
Python IDE--Wing IDE的安装和破解
以下内容针对wingIDE 3系列,并且在3.2.9版本测试通过。
1.安装Wing IDE
下载路径:http://wingware.com/downloads
破解包下载路径: http://download.csdn.net/source/766664
2.破解流程
a.将解压后的wingide.exe 和Python25.dll Copy到安装目录的Bin下;
b.运行wing.exe,出现license窗口,输入类似这样的字符CNxxx-xxxxx-xxxxx-xxxxx (x =1-9);点击“con ...
1.简介
JIRA是一个优秀的问题(or bugs,task,improvement,new feature )跟踪及管理软件。
它由Atlassian开发,采用J2EE技术.它正被广泛的开源软件组织,以及全球著名的软件公司使用,它堪称是J2EE的Bugzilla。
JIRA提供了全面的功能,界面十分友好,可用性以及可扩展性方面都十分出色,如果购买商业版许可,还可以得到JIRA的源码(在开发许可协议下可以定制自己的JIRA系统)。
2.下载资源
JIRA 3.6 下载:
http://www.atlassian.com/software/jira/download ...
1.依赖包
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-feign</artifactId>
<version>1.4.1</version>
</dependency>
<!-- 引入接入包 -->
...
1.依赖包
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-feign</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId> ...
1、下载安装包
http://www.rabbitmq.com/releases/erlang/erlang-19.0.4-1.el6.x86_64.rpm
http://www.rabbitmq.com/releases/erlang/esl-erlang-compat-18.1-1.noarch.rpm
2、安装 Erlang
yum localinstall -y erlang-19.0.4-1.el6.x86_64.rpm
yum localinstall -y esl-erlang-compat-18.1-1.noarch.rpm
3、安装socat
yum i ...
MAC 安装php+nginx支持oci8等
- 博客分类:
- php
1. 安装 php
brew install php55 --with-imap --with-tidy --with-debug --with-pgsql --with-mysql --with-fpm --with-gd=/usr/local/Cellar/gd --with-zlib --with-libpng --with-jpeg=/usr/local/Cellar/jpeg --with-freetype-dir=/usr/local/Cellar/freetype/2.6_1 --with-ttf --with-xpm --enable-gd-native-ttf
2. 安 ...
spring mvc 前台到后台时间类型处理
- 博客分类:
- spring
Controller类里面:
@InitBinder
protected void initBinder(HttpServletRequest request,
ServletRequestDataBinder binder) throws Exception {
// DateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
DateFormat format = new SimpleDateFormat("y ...
iphone web页跳转回app应用处理
- 博客分类:
- IOS
1. 获悉IOS应用的CFBundleURLSchemes(plist文件里面含有)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<d ...
java代码检测checkstyle.xml
- 博客分类:
- maven
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.2//EN"
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<module name="Checker">
<!--<property name="severity ...
前言:这篇文章涉及到很多专业术语,例如密钥对,私钥,公钥,证书等等,关于加密的理论和概念请参考我之前写的 《SSL 与数字证书》,我在这篇文章中就不重复这些概念了。 1. 申请 SSL 证书 你可以从很多网站购买到SSL证书,我经常使用的是 GeoTrust 。证书都是收费的(据说有免费的,没试过),价格有贵的有便宜的。它们
用yum安装MySql
打入如下命令:
[root@mysql ~]# yum -y install mysql-server //自动从网上搜索资源并自动下载安装
[root@mysql ~]# chkconfig mysqld on //设置开机启动MySql服务
检查是否为开机启动
打入命令:[root@mysql ~]# chkconfig –list
看到:mysqld 0:off 1:off 2:on 3:on 4:on 5:on 6:off 即表示已设置为开机启动,2、3、4、5为on
启动 ...
centos直接yum安装nginx三部曲
- 博客分类:
- linux
第一步:
CentOS 6,获取资源,先执行:rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
第二步:
检查nginx
yum info nginx
第三步:
安装:
yum install nginx
启动:
service nginx start
验证:
http://ip/