摘要: echo "Shell 传递参数实例!"; echo "执行的文件名:$0"; echo "第一个参数为:$1"; echo "第二个参数为:$2"; echo "第三个参数为:$3"; $ chmod +x test.sh $ ./test.sh 1 2 3 Shell 传递参数实例! 执行的文件 阅读全文
posted @ 2019-01-04 10:53 姩澕 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 参考地址 http://blog.csdn.net/fyj568213959/article/details/51643888 阅读全文
posted @ 2018-11-14 17:21 姩澕 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 一、 本地初始化 git init 本地关联远程 git remote add origin http://gitlab. .com:520/zdl/httpclient.git git add ./ git commit m '第一次提交' 之后进行推送 git push origin maste 阅读全文
posted @ 2018-11-14 16:37 姩澕 阅读(135) 评论(0) 推荐(0) 编辑
摘要: ``` org.apache.maven.plugins maven-compiler-plugin 2.3.2 1.8 1.8 ... 阅读全文
posted @ 2018-09-14 13:54 姩澕 阅读(224) 评论(0) 推荐(0) 编辑
摘要: http://archive.apache.org/dist/ 阅读全文
posted @ 2018-09-11 14:01 姩澕 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 方法1: 用SET PASSWORD命令 首先登录MySQL。 格式:mysql set password for 用户名@localhost = password('新密码'); 例子:mysql set password for root@localhost = password('123'); 阅读全文
posted @ 2018-07-19 10:39 姩澕 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 1、实现线程的三种方式 (extends Thread , Implements runnable , implements Callable new FutureTask(Callable) new Thread(futuretask)) 2、线程让步yield(让线程由运行状态变为就绪状态,不会 阅读全文
posted @ 2018-07-05 19:46 姩澕 阅读(208) 评论(0) 推荐(0) 编辑
摘要: cas机制 cas和synchronized 区别,场景,有缺点 cas底层实现、ABA问题场景、解决办法 场景:公共内存值v=10,线程a,b分别对10进行5次++操作,最后结果20。 问题如果不加锁,a得到内存值10在进行++操作时,b也获得内存值10进行++操作。 此时就会出现结果 cas三个 阅读全文
posted @ 2018-07-05 19:28 姩澕 阅读(1785) 评论(0) 推荐(0) 编辑
摘要: ``` package com.spider.utils; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.atomic.A 阅读全文
posted @ 2018-06-26 15:17 姩澕 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Spring Cloud构建微服务系统性源码 spring cloud:https://github.com/yinjihuan/spring cloud Smconf专注于分布式环境下配置的统一管理 smconf:https://github.com/yinjihuan/smconf Elasti 阅读全文
posted @ 2018-06-22 12:26 姩澕 阅读(249) 评论(0) 推荐(0) 编辑