会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
8823
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
2018年3月12日
spilt
摘要: java split函数结尾空字符串被丢弃的问题 转载 2016年11月29日 10:09:51 标签: java / split 2265 转载 2016年11月29日 10:09:51 标签: java / split 2265 参考: http://yinny.iteye.com/blog/1
阅读全文
posted @ 2018-03-12 14:40 88123
阅读(315)
评论(0)
推荐(0)
编辑
2018年3月8日
redis sentinel模式
摘要: https://segmentfault.com/a/1190000002680804
阅读全文
posted @ 2018-03-08 13:23 88123
阅读(106)
评论(0)
推荐(0)
编辑
2018年3月5日
关于JAVA项目中CLASSPATH路径详解
摘要: 在dos下编译java程序,就要用到classpath这个概念,尤其是在没有设置环境变量的时候。classpath就是存放.class等编译后文件的路径。 javac:如果当前你要编译的java文件中引用了其它的类(比如说:继承),但该引用类的.class文件不在当前目录下,这种情况下就需要在jav
阅读全文
posted @ 2018-03-05 14:57 88123
阅读(6962)
评论(0)
推荐(0)
编辑
Java绝对/相对路径获取与getResourceAsStream()方法
摘要: Java路径 Java中使用的路径,分为两种:绝对路径和相对路径。具体而言,又分为四种: 一、URI形式的绝对资源路径 如:file:/D:/java/eclipse32/workspace/jbpmtest3/bin/aaa.b URL是URI的特例。URL的前缀/协议,必须是Java熟悉的。UR
阅读全文
posted @ 2018-03-05 14:51 88123
阅读(763)
评论(0)
推荐(0)
编辑
2017年2月9日
shell学习笔记。
摘要: 第二章: 1.分号隔开多条命令。 2.变量赋值中间没有任何空格。 3.构造管道时,尽量让每个阶段的数据量变得更少。如果两个任务与次序无关,那么先进行能让数据量变得更少的操作。 4.位桶 /dev/null 传到此文件的数据都会被系统丢掉 5./dev/tty 打开此文件时,unix 会自动将它重定向
阅读全文
posted @ 2017-02-09 22:30 88123
阅读(91)
评论(0)
推荐(0)
编辑
2017年1月17日
RPC服务的发布订阅实现(基于Zookeeper服务) 转载
摘要: 前言: Thrift作为Facebook开源的RPC框架, 通过IDL中间语言, 并借助代码生成引擎生成各种主流语言的rpc框架服务端/客户端代码. 不过Thrift的实现, 简单使用离实际生产环境还是有一定距离, 本系列将对Thrift作代码解读和框架扩充, 使得它更加贴近生产环境. 本文讲述如何
阅读全文
posted @ 2017-01-17 17:23 88123
阅读(467)
评论(0)
推荐(0)
编辑
2015年7月17日
关于UIApplicationMain
摘要: Themain.mFileandtheUIApplicationMainFunctionThemainfunctioninmain.mcallstheUIApplicationMainfunctionwithinanautoreleasepool.@autoreleasepool{returnUIA...
阅读全文
posted @ 2015-07-17 03:56 88123
阅读(154)
评论(0)
推荐(0)
编辑
滑动手势。
摘要: -(void)viewDidLoad{UISwipeGestureRecognizer *recognizer; recognizer = [[UISwipeGestureRecognizer alloc]initWithTarget:self action:@selector(handleSwip...
阅读全文
posted @ 2015-07-17 03:40 88123
阅读(168)
评论(0)
推荐(0)
编辑
2015年6月8日
59 N Queens
摘要: 研究了一夜,各种bug。看到了大神的代码,简洁明了。学习了。class Solution { public: void printQueen(vector &A,int n,vector> &result){ vector r; for(int i=0;iA,...
阅读全文
posted @ 2015-06-08 05:40 88123
阅读(178)
评论(0)
推荐(0)
编辑
2015年6月1日
26 Remove Duplicates from Sorted Array
摘要: Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
阅读全文
posted @ 2015-06-01 10:05 88123
阅读(127)
评论(0)
推荐(0)
编辑
1
2
下一页