2020年6月23日

Protocol Buffers And GRPC with Go

摘要: 1 定义: Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data. 2 编译protobuf 安装Protob Compiler h 阅读全文

posted @ 2020-06-23 15:10 ygshen 阅读(260) 评论(0) 推荐(0) 编辑

2018年2月2日

Windows安装NVMW, Node, NPM, CNPM

摘要: 一: 首先说一下各个组件的概念 1. NVMW: Windows上安装Node多版本(一定注意多版本支持的哦)的工具 2. Node : 不说了。 有N个版本。 具体可以参照国内的镜像 https://npm.taobao.org/mirrors/node 3. NPM: 包管理器。NPM不需要具体 阅读全文

posted @ 2018-02-02 12:37 ygshen 阅读(421) 评论(0) 推荐(0) 编辑

2017年11月26日

Webpack搭建项目 Demo

摘要: 构建、打包工具简介: Gulp、Grunt、Browserify、Webpack、Rollup Gulp、Grunt: 构建流程管理工具,通过定义和执行任务的方式构建工作。如预编译语言的处理、模块打包、代码压缩等 Browserify、Webpack、Rollup属于打包工具,把模块按照特定的规则合 阅读全文

posted @ 2017-11-26 00:01 ygshen 阅读(259) 评论(0) 推荐(0) 编辑

2017年6月9日

Linux远程登陆

摘要: 1. 远程机器root账号(也可以是自定义的账号abc). 进入.ssh/authorized_keys 文件。没有的话在用户下新建一个相同目录的文件出来 2. 将本地登陆机的%userprofile%/.ssh/id_rsa.pub文件内容 (ssh-rsa 打头的) append到上面_keys 阅读全文

posted @ 2017-06-09 16:35 ygshen 阅读(171) 评论(0) 推荐(0) 编辑

2017年6月5日

Javascript设计模式

摘要: 面向对象 封装。 静态语言依靠private, protected等方式实现封装;javascript没有这些机制。靠变量作用域来实现封装。实例: 使用闭包实现变量的私有化、访问的公有化 单例模式: 简单单例 - 以上单例用户使用时需要知道getSingle方法是为了单例而设计的方法。现在实现一种透 阅读全文

posted @ 2017-06-05 08:54 ygshen 阅读(169) 评论(0) 推荐(0) 编辑

2017年2月9日

Jetty + Jersey 构建JAVA Restful

摘要: http://www.importnew.com/23342.html https://jersey.java.net/ http://www.importnew.com/23286.html http://www.importnew.com/12773.html 阅读全文

posted @ 2017-02-09 08:41 ygshen 阅读(761) 评论(0) 推荐(0) 编辑

2016年11月26日

JSP学习

摘要: 1.项目格式: IDEA中使用archetypeweb的构建就可以生成的,但是在Apple MAC上貌似不能用。IDEA中手动穿件标准的mvn项目,因为有web-app目录,IDEA会提示是否转成WEB项目选是。这里介绍一下WEB项目的目录结构 src/main/java: 放一些servlet之类 阅读全文

posted @ 2016-11-26 22:43 ygshen 阅读(367) 评论(0) 推荐(0) 编辑

2016年11月1日

Maven

摘要: 入门 Maven install: 1. 安装jdk,下载Maven包 2.设置环境变量 JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home PATH=$JAVA_HOME/bin:$PATH:. CL 阅读全文

posted @ 2016-11-01 00:32 ygshen 阅读(118) 评论(0) 推荐(0) 编辑

2016年10月22日

Android开发环境搭建

摘要: Mount 一个windows盘 因为要获取的api, vm images 太大建议外挂一个硬盘作为专门的存储 下载ntfs3g: http://www.linuxfromscratch.org/blfs/view/svn/postlfs/ntfs-3g.html 安装-http://eagoogl 阅读全文

posted @ 2016-10-22 19:47 ygshen 阅读(210) 评论(0) 推荐(0) 编辑

2016年7月24日

Java Spring MVC

摘要: Spring MVC的实现包括 实现Controller类和基于注解的Controller RequstMapping方式 依赖: <!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc --> <depen 阅读全文

posted @ 2016-07-24 19:41 ygshen 阅读(327) 评论(0) 推荐(0) 编辑

导航