zoukankan      html  css  js  c++  java
  • 常用git命令和工具

    0. ln -s src_dir  //一个参数即可在当前目录下生成一个软链接
     
    1.git command
    --clone/push a branch 
        git clone <url> --branch <branch> --single-branch [<folder>]
        git push  remote branch/branch
    --set upstream 
    git config push upstream

    2. generate RSA key

     ssh-keygen -t rsa -C "dizhonghu@gmail.com" 

    3. tcpdump 

    tcpdump -n host 173.39.168.250 or host 192.168.0.5
    tcpdump tcp and port 1270
    tcpdump tcp and port 1270 -s 0 -w tcp.dat
    tcpdump -i eth0 -vnn host 10.224.166.211 -w test.cap

    4. wireshark filter

    ip.src==10.224.173.43 && udp.srcport==7901
    ip.dst==10.224.173.43
    ip.src==10.224.173.43 && udp.srcport==7901 && ip.dst==10.224.173.91 && udp.dstport==58504
    (ip.src==10.224.173.43 && ip.dst==10.224.173.91)||(ip.src==10.224.173.91  && ip.dst==10.224.173.43)
    (ip.src==10.224.173.43 && udp.srcport ==1202 && ip.dst==10.224.173.91 && udp.dstport==17237)||(ip.src==10.224.173.91 && udp.srcport==17237 && ip.dst==10.224.173.43&& udp.dstport ==1202)
    (ip.src == 10.224.82.94) || (ip.src == 10.224.55.66) || (ip.dst == 10.224.82.94 )||( ip.dst == 10.224.55.66)

     5. vi shortcut

     

    6. iTerm shortcut

     

     7. opensource lisence

     

    8. UML

     

  • 相关阅读:
    pom.xml配置
    Eclipse将引用了第三方jar包的Java项目打包成jar文件的两种方法
    jar文件运行打断点
    prim算法
    Kruscal algorithm
    递归程序设计思想(看图思考2小时)
    广义表的实现(法二)
    广义表的实现
    有错误的地宫寻宝问题
    写一个数的所有加法算式
  • 原文地址:https://www.cnblogs.com/awiki/p/5521792.html
Copyright © 2011-2022 走看看