首页 > 技术文章 > 项目工具笔记

judesheng 2019-03-29 16:54 原文

Mac安装软件

官网

home brew

  • item2
    1. brew install item2
  • git
    1. brew install git
  • postman
    1. brew install postman

Git

  • ssh key: https://segmentfault.com/a/1190000002645623
    1. git config --global user.name "shengxiaoqi"
    1. git config --global user.email "shengxiaoqi@yy.com"
    1. ssh-keygen -t rsa -C 'shengxiaoqi@yy.com'
    1. ssh-add ~/.ssh/id_rsa
    1. 添加公钥到站点
    1. ssh -T git@gitlab.com

Idea

mvn

  1. override Maven setting and repo

kotlin

  1. enable or update kotlin plugin
  2. set kotlin compiler

Eclipse

设置

  • 设置Unix and UTF-8
    1. General -> Workspace
  • 设置代理
    Window.Preperences.General.Network Connections -> Manual > Proxy entries 设置host,prot
  • 测试覆盖率插件 in Eclipse Marketplace
    • EclEmma Java Code Coverage
  • JRE版本 49=1.5 | 50=1.6 | 51=1.7
    1. Window.Preperences.Java.Installed JREs
      • 项目默认运行JRE
    2. Bindpath更换JRE
      • 自定义运行JRE
    3. Window.Preperences.Java.Compiler
      • 项目编译JRE版本
    4. 项目Properties.Project Facets
      • 服务器(Tomcat)运行环境JRE版本,需要与Compiler保持一致
  • eclipse分配内存大小
    • eclipse.ini : -Xms256m -Xmx1024m

插件

  • EclEmma Java Code Coverage : JaCoCo
  • Eclipse UML Generators
  • Bash Edotor
  • Spring Tools : STS

Exception

  • Cannot open Eclipse Marketplace
    • 为Eclipse设置代理 选择Manual

Tomcat

让Tomcat服务器支持中文URL

  • service.xml

Webligic

  • 启动weblogic服务器报错java.lang.NumberFormatException: null
    1. Delete the file /servers/<server_name>/data/ldap/config/replicas.prop
    2. Alter the replicas.prop file and add ‘replica.num=0′ to it.

Windows

  • Windows下生成文件的.md5和.sha1/.sha256校验文件
    1. certutil -hashfile D:\test.jar MD5
    2. certutil -hashfile D:\test.jar SHA1
    3. certutil -hashfile D:\test.jar SHA256

推荐阅读