ITeye博客

Ctrl+C&Ctrl+V

knight_black_bob · 共 487 篇文章

windows redis sentinel install

windows redis sentinel install 1.下载 Redis-x64-2.8.2400 https://github.com/ServiceStack/redis-windows/tree/master/downloads 存在 一个 windows service documentation.docx 里面有安装教程,不过是非 哨兵模式 redis-server --service-install redis.windows.conf --loglevel verbose redis-server --service-uninstall redis-server --…

2018-09-14 18:01 · redis · win · 评论(0) · Redis · Windows · install

hexo 搭建 自己的博客系统(hexo, github,maupassant)

查看效果 https://curoiusby.github.io/ https://curoiusby.github.io/2018/07/17/%E7%AC%AC%E4%B8%80%E7%AF%87-linux-hexo-%E5%AE%89%E8%A3%85%E8%AF%A6%E7%BB%86/ hexo 搭建 Jul 17, 2018 | linux 文章目录 1. 准备工作 1.1. 安装 node 1.2. 安装 git 1.3. 安装 python 2. 安装 hexo 2.1. 安装hexo本地 2.2. 安装hexo 发步到github 准备工作 1 2 3 安装 node 安…

2018-07-17 14:54 · linux · 评论(0) · Git · Linux · Github

springboot docker jenkins 部署 对比 tomcat

---------------------------------------------------------------------------------------------------------------- springboot 详解 (一) helloworld 下载demo springboot 详解 (二) crud 下载demo springboot 详解 (三) 多数据源 下载demo springboot 详解 (四)redis & filter 下载demo springboot 详解 (五)interceptor 下载demo springboot 详解 (…

2018-06-26 18:58 · spring · jenkins · springboot · docker · 评论(0) · Tomcat · 部署 · jenkins

常用正则表达式

转载自:https://sunsian.github.io/2014/03/08/first4/ 匹配中文字符的正则表达式: [\u4e00-\u9fa5] 评注:匹配中文还真是个头疼的事,有了这个表达式就好办了 匹配双字节字符(包括汉字在内):[^x00-xff] 评注:可以用来计算字符串的长度(一个双字节字符长度计2,ASCII字符计1) 匹配空白行的正则表达式:ns*r 评注:可以用来删除空白行 匹配HTML标记的正则表达式:< (S?)[^>]>.?|< .? /> 评注:网上流传的版本太糟糕,上面这个也仅仅能匹配部分,对于复杂的嵌套标记依旧无能为力 匹配首尾空白字符的正则表达式:^…

2018-06-22 16:04 · 工具 · 评论(0) · 正则

特定用户部署 tomcat

0.创建用户 useradd byprojecttest passwd byprojecttest 1.添加 jdk tomcat scp -r ./ byprojecttest@10.153.29.77:/home/byprojecttest/ ls jdk1.8.0_121 tomcat 2.配置jdk vi ~/.bash_profile # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and star…

2018-05-23 16:45 · linux · java · tomcat · 评论(0) · Java · Tomcat · Linux · 用户 · 部署

git push 100m error

git push 100m error #git push origin master Counting objects: 215, done. Delta compression using up to 4 threads. Compressing objects: 100% (176/176), done. Writing objects: 100% (215/215), 43.86 MiB | 2.52 MiB/s, done. Total 215 (delta 92), reused 0 (delta 0) remote: Resolving deltas: 100% (92/92)…

2018-05-15 18:54 · git · exception · 评论(0) · Git · Exception · error · push

The VMware Authorization Service is not running.

The VMware Authorization Service is not running. 右击启动 捐助开发者 在兴趣的驱动下,写一个 免费 的东西,有欣喜,也还有汗水,希望你喜欢我的作品,同时也能支持一下。 当然,有钱捧个钱场(支持支付宝和微信 以及扣扣群),没钱捧个人场,谢谢各位。 个人主页 : http://knight-black-bob.iteye.com/ 谢谢您的赞助,我会做的更好!

2018-05-15 18:52 · exception · win · 评论(0) · Vmware · Service · authorization

851001: PFXFile encoding decoding failure(Maven编译后证书 变小)

851001: PFXFile encoding decoding failure(Maven编译后证书 变小) 851001: PFXFile encoding decoding failure 851001: encoding required base64 encoding java.lang.IllegalArgumentException: java.io.IOException: invalid characters encountered in base64 data: 63 编译后,证书文件大小从1942 到1939 解决方法: 修改mvn resources 的 plugi…

2018-05-15 18:48 · maven · exception · 评论(0) · maven · Exception · 过大

(在线等。。。)这是出现死锁了吗 ?

求大神解释下。。。 java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:150) at java.net.SocketInputStream.read(SocketInputStream.java:121) at java.io.BufferedInputStream.fill(BufferedInputStream.ja…

2018-04-25 13:41 · exception · 评论(0) · Java · Spring · Exception · netty

jvm memcache 问题(求助)

谁遇到过麻烦解释下 2018-04-24 13:55:31 Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.31-b07 mixed mode): "RMI TCP Connection(idle)" #157 daemon prio=5 os_prio=0 tid=0x000000001c07f000 nid=0x2b3c waiting on condition [0x000000003d0be000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Un…

2018-04-24 18:03 · exception · 评论(0) · JVM · memcache · 问题

hibernate 报错 SQL Error: 1062, SQLState: 23000

hibernate 报错 SQL Error: 1062, SQLState: 23000 第一次插入成功,第二次失败 2018-04-12 10:50:35.163 INFO 10708 --- [pool-1-thread-1] s.spider.govZone.task.SchedulerTask : ===================== scheduled ==================== 2018-04-12 10:50:35.164 INFO 10708 --- [cTaskExecutor-5] s.s.govZone.linstener.EventListene…

2018-04-12 13:56 · spring · hibernate · exception · 评论(0) · Java · Spring · Hibernate · Web

最小栈 三种实现(面试...)

问题:实现一个栈,带有出栈(pop),入栈(push),取最小元素(getMin)三个方法。要保证这三个方法的时间复杂度都是O(1)。 1.使用 两个栈实现 public class MinStackWithStack { public static void main(String[] args) { Student s = new Student(); s.stuAge = 28; s.stuName ="baoyou"; Student s2 = new Student(); s2.stuAge = 1; s2.stuName ="baoyuqi"; MinStack<Student>…

2018-04-02 12:47 · java · 评论(0) · Java · 实现 · 最小栈

springboot 同步解耦 异步化

---------------------------------------------------------------------------------------------------------------- springboot 详解 (一) helloworld 下载demo springboot 详解 (二) crud 下载demo springboot 详解 (三) 多数据源 下载demo springboot 详解 (四)redis & filter 下载demo springboot 详解 (五)interceptor 下载demo springboot 详解 (…

2018-03-23 11:38 · spring · springboot · 评论(0) · Spring · 同步 · 解耦

mongodb windows install

mongodb windows install 下载 mongodb-win32-x86_64-2008plus-ssl-3.4.5-signed.msi 1.安装install 本人安装位置 D:\soft\MongoDB 2. install 命令 mongod.exe --logpath D:\soft\MongoDB\data\log\mongodb.log --logappend --dbpath D:\soft\MongoDB\data\db --directoryperdb --serviceName MongoDB -install 出现 就算成功了 2018-03-21T1…

2018-03-21 15:02 · mongodb · 评论(0) · Windows · MongoDB · install

java 代码混淆 proguard exception

错误信息 [DEBUG] (f) classpathElements = [D:\cache\git-repos\showandshare\showandshare\showandshare.gateway\showandshare.gateway.netty.dispacther\target\test-classes, D:\cache\git-repos\showandshare\showandshare\showandshare.gateway\showandshare.gateway.netty.dispacther\target\classes, F:\repository\re…

2018-03-12 15:04 · java · exception · 评论(0) · Java · 代码 · Exception · proguard · 混淆