随笔分类 -  工具

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页

ansible playbook 使用
摘要:ansible playbook 格式是json yaml 1. 执行方法 ansible-playbook deply.yml 2. playbook 格式 关键字 hosts 主机ip 主机组名 remote_user 用户身份 vars 变量 tasks 定义顺序执行的action 每个act 阅读全文

posted @ 2017-11-12 14:28 荣锋亮 阅读(202) 评论(0) 推荐(0) 编辑

ansible安装基本使用
摘要:备注使用yum (centos7) 1. 安装 yum install -y ansible 2. 免密登录(ssh,最好使用dns 解析) // create ssh key ssh-keygen // copy ssh key to remote host ssh-copy-id -i /roo 阅读全文

posted @ 2017-11-12 14:28 荣锋亮 阅读(224) 评论(0) 推荐(0) 编辑

gulp 集成其他基于流的工具
摘要:1. 流、缓冲、vinyl 文件对象 gulp 的流是虚拟文件对象 包含的属性有 base 文件名 path 文件路径 content 缓冲、nodejs 流 2. gulp 集成 browserify browserify 基于文本流,缺少的是base 以及path,可以使用的工具 vinyl-s 阅读全文

posted @ 2017-11-11 18:18 荣锋亮 阅读(425) 评论(0) 推荐(0) 编辑

gulp 合格插件评判标准
摘要:官方插件列表: https://gulpjs.com/plugins/ 合格插件的判断标准 1. 不修改内容 如果一个插件一个文件都修改(无论是文案内容,文件路径),那么它就不是一个gulp 插件 2. 一个工具基于流的 那么就不需要使用这个gulp 插件了,直接使用这个工具就行 3. 做了太多的事 阅读全文

posted @ 2017-11-11 17:48 荣锋亮 阅读(145) 评论(0) 推荐(0) 编辑

gulp 流处理
摘要:包含的内容: 穿插流 流合并 流队列 流筛选 1. 穿插流 // passthrough stream 把流传递给其他的 // use gulp.src(glob,{passthrough:true}) // function 进行流的合并处理,避免多余配置以及冗余代码 2. 合并流 // 使用me 阅读全文

posted @ 2017-11-11 17:29 荣锋亮 阅读(929) 评论(0) 推荐(0) 编辑

browser-sync 服务器使用
摘要:1. 安装 npm install browser-sync or yarn add browser-sync 2. 使用(集成gulp) 备注: gulp 安装使用此处不介绍 默认的端口是3000,默认的ui界面端口3001 可以进行修改 Gulpfile.js 内容 var bSync = re 阅读全文

posted @ 2017-11-11 15:51 荣锋亮 阅读(417) 评论(0) 推荐(0) 编辑

gulp 基本使用
摘要:1. 安装 npm install -g gulp-cli && npm install --save-dev gulp or with yarn yarn global gulp-cli && yarn add gulp 2. 使用 基本流程 1. gulp cli 启动命令行工具 2. 本地gu 阅读全文

posted @ 2017-11-11 13:08 荣锋亮 阅读(701) 评论(0) 推荐(0) 编辑

rpm 软件包离线安装
摘要:1. 插件安装(可选) yum install yum-plugin-downloadonly 2. 只下载不安装(perl 演示) yum install --downloadonly --downloaddir=/opt/perl perl 3. 查看下载文件 ├── perl-5.16.3-2 阅读全文

posted @ 2017-11-10 18:09 荣锋亮 阅读(5192) 评论(0) 推荐(0) 编辑

npm 私服工具verdaccio 安装配置试用
摘要:1. 安装 npm install -g verdaccio 2. 启动 verdaccio // 界面显示信息 Verdaccio doesn't need superuser privileges. Don't run it und warn config file - /root/.confi 阅读全文

posted @ 2017-11-09 22:40 荣锋亮 阅读(4775) 评论(0) 推荐(0) 编辑

yarn 管理nextjs 项目
摘要:预备环境 nodejs npm 1. yarn 安装 npm install -g yarn 2. nextjs 项目初始化 yarn add next react react-dom 3. 配置nextjs 项目 "scripts":{ "dev": "next", "build": "next 阅读全文

posted @ 2017-11-09 16:42 荣锋亮 阅读(1283) 评论(0) 推荐(0) 编辑

jfrog artifactory jenkins pipeline 集成
摘要:1. 预备环境 artifactory ( 开源版本 ) maven jenkins jenkins artifactory plugin (在插件管理安装即可) 2. 配置artifactory a. maven local 仓库 b. jenkins 配置(添加 artifactory 账户信息 阅读全文

posted @ 2017-11-09 15:26 荣锋亮 阅读(11474) 评论(3) 推荐(1) 编辑

jfrog artifactory docker 安装试用
摘要:预备环境(docker 安装模式,使用的免费版本): docker-ce (启用镜像加速) 1. 镜像拉取 docker.bintray.io/jfrog/artifactory-oss 2. 启动 docker run -d -p 8081:8081 docker.bintray.io/jfrog 阅读全文

posted @ 2017-11-08 20:04 荣锋亮 阅读(1760) 评论(0) 推荐(0) 编辑

goreplay(gor) golang 流量拷贝工具试用
摘要:1. 项目地址 https://github.com/buger/goreplay 2. 安装 wget https://github.com/buger/goreplay/releases/download/v0.16.1/gor_0.16.1_x64.tar.gz tar xvf gor_0.1 阅读全文

posted @ 2017-11-07 14:30 荣锋亮 阅读(3363) 评论(0) 推荐(0) 编辑

xcomponent web 跨域组件介绍
摘要:1. 项目地址: https://github.com/krakenjs/xcomponent 2. 支持的特性 a. Render an iframe or popup on a different domain, and pass down props, including objects an 阅读全文

posted @ 2017-11-07 10:18 荣锋亮 阅读(453) 评论(0) 推荐(0) 编辑

Webpack-dashboard 简单使用
摘要:1. 安装 npm install webpack-dashboard --save-dev 2. 配置说明 webpack config // Import the plugin: var DashboardPlugin = require('webpack-dashboard/plugin'); 阅读全文

posted @ 2017-11-06 14:24 荣锋亮 阅读(3598) 评论(0) 推荐(0) 编辑

gatsbyjs 了解
摘要:1. 模型 2. 总结&&资料 从模型上可以看出和jamstack 提出的架构模型比较相似,可以看成是一个具体的实现,功能还是比较强大的 https://www.gatsbyjs.org 阅读全文

posted @ 2017-11-03 22:29 荣锋亮 阅读(513) 评论(0) 推荐(0) 编辑

Dawn 简单使用
摘要:1. install npm install dawn -g 2. create project # 1. Create & Initialize $ dn init -t front # 2. Development & Real-time compilation $ dn dev # 3. Li 阅读全文

posted @ 2017-11-03 21:51 荣锋亮 阅读(244) 评论(0) 推荐(0) 编辑

Dawn 阿里开源前端开发构建工具
摘要:Dawn 取「黎明、破晓」之意,原为「阿里云·业务运营团队」内部的前端构建和工程化工具,现已完全开源。它通过pipeline 和 middleware 将开发过程抽象为相对固定的阶段和有限的操作,简化并统一了开发人员的日常构建与开发相关的工作。 特点 采用中间件技术,封装常用功能,易于扩展,方便重用 阅读全文

posted @ 2017-11-03 21:24 荣锋亮 阅读(654) 评论(0) 推荐(0) 编辑

next.js 简单使用
摘要:1. 介绍 一个react.js 服务器端渲染开源项目(不只是服务器端渲染,直接也可以生成纯静态站点) 类似的解决方案有好多,比如react.js 自身的服务器渲染方案(但是使用起来就是比较怪异) gatsbyjs 也是一个不错的解决方案 2. 初始化项目 // 依赖 npm install --s 阅读全文

posted @ 2017-11-03 21:14 荣锋亮 阅读(13816) 评论(0) 推荐(1) 编辑

terraform 阿里云基本使用
摘要:1. 预备环境 安装了terraform 的软件的操作系统(windows linux mac 均可) 具有阿里云账户的 access_key secret_key 2. 配置 // terraform 的配置相对比较随意,但是有几个必须注意的,文件后缀 tf 文件名不需要进行特殊说明 // 以下为 阅读全文

posted @ 2017-11-01 19:51 荣锋亮 阅读(8153) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页

导航