Vincent's Blog


  • Home

  • Categories

  • Archives

  • Tags

golang-uuidv4

Posted on 2018-09-11   |   In Golang
源码解读 github.com/satori/go.uuid 从头开始跟踪 u2 := uuid.NewV4()  NewV4 函数调用 // NewV4 returns random generated UUID.func (g *generator) NewV4() UUID  ...
Read more »

Docker - SonarQube搭建

Posted on 2018-09-04   |   In Docker
前提 搭建 gitlab 搭建 jenkins 准备镜像sonarqube 生成 sonar server token docker run -d –name sonarqube -p 9000:9000 -p 9092:9092 sonarqube 使用默认 admin/admin 登录, ...
Read more »

VSC - TAL-FE-Helper

Posted on 2018-08-30   |   In Tools
READMEthis plugin is used for FE team in TAL, we want have a tool to generate some template code and follow our code standard. Features init project ...
Read more »

vsc - TAL-FE-ElementUI-Snippets

Posted on 2018-08-30   |   In Tools
READMETo have a better coding efficiency, we need a tool to help us repreat lots of code template, based on element-ui RequirementsJust for TAL group ...
Read more »

前端质量思考

Posted on 2018-08-28   |   In Thinking
上周参加了来自百度同行的代码扫描平台的分享.总结如下:百度的代码扫描平台主要方式是对源代码的静态扫码, 做的比较突出的是 java 和 C++.对于我们这种绝大部分技术栈是 php 的现状还不太适用.通过对分享者的提问,了解到他们对其他语言 php, golang, js,py 等扫码基本上都是对开 ...
Read more »

Sentry - node-express

Posted on 2018-08-17   |   In Docker
直接上代码吧: import * as express from "express"import { NextFunction, Request, Response } from "express"import * as path from "path"import * as f ...
Read more »

Docker-Sentry

Posted on 2018-08-15   |   In Docker
Docker  搭建 Sentry 监控 vue 前端报错基本镜像 redis postgres sentry 生成 sentry 的 secret key docker run –rm sentry config generate-secret-key 这个 key 要保存好 启动 red ...
Read more »

golang - compare struct/slice/map

Posted on 2018-08-08   |   In Golang
遇到一道 leecode 的 对比 tree 的题, 一层层对比下去当然可以, 但是我想怎么才能对 struct 进行比较呢? 确实貌似没想到什么 api. 搜到结果如下 reflect 包 func DeepEqual(x, y interface{}) boolDeepEqual report ...
Read more »

Newton's method

Posted on 2018-08-07   |   In Algorithm
简易入门了解: https://jingyan.baidu.com/article/f79b7cb31082079144023ebb.html wiki: https://baike.baidu.com/item/%E7%89%9B%E9%A1%BF%E8%BF%AD%E4%BB%A3%E6%B3% ...
Read more »

圈复杂度衡量

Posted on 2018-07-25   |   In Tools
定义https://en.wikipedia.org/wiki/Cyclomatic_complexity#Definition 简单的理解就是这段代码流程的复杂度, 假设需要单元测试覆盖,需要的 case 数量.主要体现在 if … else … 分支 loop && / || ...
Read more »
<i class="fa fa-angle-left"></i>1…567…29<i class="fa fa-angle-right"></i>
Vincent Guo

Vincent Guo

the blog to remeber all things about code

290 posts
44 categories
103 tags
RSS
github twitter facebook google weibo
Links
  • KunLin
  • Rx Introduction
  • 三哥
  • 元龙
© 2024 Vincent Guo
Powered by Hexo
Theme - NexT.Mist