ITeye博客

Ctrl+C&Ctrl+V

knight_black_bob · 共 487 篇文章

retrofit rxjava android 封装 使用

本人使用 github 现成封装 modules rxretrofitlibrary 一步步封装 移步 http://blog.csdn.net/wzgiceman/article/details/51939574 专栏 移步 http://blog.csdn.net/column/details/13297.html 该博主 三个 版本的 gitbub 成果: https://github.com/wzgiceman/RxjavaRetrofitDemo-string-master https://github.com/wzgiceman/RxjavaRetrofitDemo-master…

2017-04-12 11:07 · android · 评论(0) · Android · 使用 · 封装

as android 打包

1. build -> Generate Signed APK 2. next -》 next 3. 多渠道打包 <meta-data android:name="UMENG_CHANNEL" android:value="${UMENG_CHANNEL_VALUE}" /> signingConfigs { debug { keyAlias 'curiousby' keyPassword '123456' storeFile file('C:\\Users\\cmcc-B100036\\Desktop\\android\\iteyeblog-as\\iteyeblog-as.jks') s…

2017-04-11 17:01 · as · 评论(0) · Android · Apk · 打包 · as · stdio

curiousby iteye csdn 每周记录

curiousby 每周记录 时间 iteye浏览总人数 iteye 新增人数 csdn总积分 csdn 积分增长 2017/3/29 119605 3540 2017/4/5 121955 2350 3610 70 2017/4/11 123971 2016 3676 66 2017/4/17 126014 2043 3714 42 2017/4/28 131115 5101 3847 133 2017/5/8 133875 2360 3954 107 2017/6/5 142978 9103 4225 271 2017/6/23 150180 7202 5464 1239 2017/12…

2017-04-11 09:33 · other · 评论(0) · ITeye · csdn · 记录

as 引用模块 ( android stdio modules )

as 模块 使用 android stdio modules 1.在gradle 中添加 变量 # Project-wide Gradle settings. # IDE (e.g. Android Studio) users: # Gradle settings configured through the IDE *will override* # any settings specified in this file. # For more details on how to configure your build environment visit # http://www.gra…

2017-04-05 13:48 · android · as · 评论(0) · Android · 模块 · as · modules · stdio

svn 创建 分支 branches

merge 移步: Svn branch trunk merge 操作文档 svn 安装 移步: java,mysql,hadoop,cdh,hive,spark,ntp,zookeeper,kafka,storm,redis,flume,git 安装详解 项目 结构 一般是 project |-branches |- tags |-trunk svn 创建 分支 branches 及把 trunk 中内容复制到 branches ,及copy 一份连同svn节点复制过去 1.右击项目 -》 分支标记 2. 填入 branches/自己命名的branch 最好修改下 pom中小版本的vers…

2017-04-05 10:38 · svn · 评论(0) · SVN · 分支 · 创建 · branches

fastdfs java 使用

fastdfs 安装详解 <!-- fastdfs start --> <dependency> <groupId>org.csource</groupId> <artifactId>fastdfs-client-java</artifactId> <version>1.25</version> </dependency> <!-- fastdfs end --> <!-- fdfs文件系统相关配置 fdfs_client.conf--> <connect_timeout>2</connect_timeout> <network_timeout>30</network_timeout> <c…

2017-03-28 15:12 · java · fastdfs · 评论(0) · Java · 使用 · FastDFS

freemarker 页面静态化

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </head> <body> <#if users?size != 0> <div class=”user”> <strong>user info:</strong> <#list users as user> <p> ${user.userName } </p> </#list> </div> <#else> <div class=”user”></di…

2017-03-25 09:47 · freemarker · 评论(0) · freemarker · 页面静态化

NIO 详解 (尚硅谷 学习代码)

/* * 一、缓冲区(Buffer):在 Java NIO 中负责数据的存取。缓冲区就是数组。用于存储不同数据类型的数据 * * 根据数据类型不同(boolean 除外),提供了相应类型的缓冲区: * ByteBuffer * CharBuffer * ShortBuffer * IntBuffer * LongBuffer * FloatBuffer * DoubleBuffer * * 上述缓冲区的管理方式几乎一致,通过 allocate() 获取缓冲区 * * 二、缓冲区存取数据的两个核心方法: * put() : 存入数据到缓冲区中 * get() : 获取缓冲区中的数据 * * 三…

2017-03-25 09:42 · java · 评论(0) · nio · 详解

AES 加密 解密

package com.curiousby.util; import java.security.Key; import java.security.NoSuchAlgorithmException; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.SecretKey; import javax.crypto.spec.SecretKeySpec; import org.apache.commons.codec.binary.Hex; /** * AES Coder<br/> …

2017-03-24 14:47 · java · 评论(0) · Java · 解密 · 加密 · AES

spring security 详解

spring security 详解 spring-security.xml <beans:beans xmlns="http://www.springframework.org/schema/security" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.sprin…

2017-03-24 13:22 · spring · 评论(0) · Spring · Security

mybatis pagehelp

使用 github 上 分页 插件 <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> </dependency> 在mybatis-config.xml 中添加 plugin <plugin interceptor="com.curiousby.util.PagePluginWrapper"> <property name="dialect" value="mysql"/> <property name="pageSqlId" value=".*listPage.…

2017-03-24 13:18 · mybatis · 评论(0) · MyBatis

fastdfs 安装 使用

fastdfs 安装 使用 libfastcommon 下载地址: http://download.csdn.net/download/knight_black_bob/9779317 FastDFS 下载地址:http://download.csdn.net/download/knight_black_bob/9780315 27.安装 fastdfs libfastcommon下载地址: http://download.csdn.net/download/knight_black_bob/9779317 FastDFS的下载地址:http://download.csdn.net/down…

2017-03-24 11:03 · fastdfs · 评论(0) · 安装 · 使用 · FastDFS

jenkis 配置 ftp 手动部署

jenkis 配置 ftp 手动部署 1.安装 ftp vsftpd jar包安装 安装移步http://knight-black-bob.iteye.com/blog/2244731 下面介绍 yum 安装 yum install vsftpd yum install ftp 启动 关闭 service vsftpd start service vsftpd stop 重启服务器 /etc/init.d/vsftpd restart 修改配置文件 vim /etc/vsftpd/vsftpd.conf 打开注释 chroot_list_file=/etc/vsftpd/chroot_lis…

2017-03-24 10:57 · maven · jenkins · ftp · tftp · 评论(0) · ftp · 配置 · 部署 · 手动

ios nscfnumber nsinvalidargumentException 异常

自己 撸了一个 ios 的糗百 ,调用 了 糗百官方的 api ,总是 运行报错 断点 打印 就是不理解为啥 报错 开放接口 #define LastestURLString(count,page) [NSString stringWithFormat:@"http://m2.qiushibaike.com/article/list/latest?count=%d&page=%d",count,page] #define ImageURLString(count,page) [NSString stringWithFormat:@"http://m2.qiushibaike.com/arti…

2017-03-23 14:02 · ios · exception · 评论(0) · iOS · Exception · nsinvalidargumentexception

maven 构建一个 多pom 的工程(module)

demo 下载 http://download.csdn.net/download/knight_black_bob/9796647 项目搭建 1.获取svn http://127.0.0.1/opp/project/code/trunk/a aa 2.新建svn 项目目录 创建code doc 等目录 完成后svn 目录结构为(下图),我们在 trunk中编码,branches 中做分支,tag中做版本 3.新建多pom 结构项目 3.1 新建pom 总项目工程 右击 –> new -> other 选择 maven project -> next -> 选择 maven-archetyp…

2017-03-23 13:15 · maven · 评论(0) · maven · module · 构建