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

     

  • 相关阅读:
    JAVA视频网盘分享
    IntelliJ IDEA 2016 完美破解+汉化补丁
    献给java求职路上的你们
    java集合类
    MyEclipse编码设置
    国内外有名的java论坛
    百度编辑器ueditor的简单使用
    工厂模式
    Java静态工厂的理解
    git clone index-pack failed
  • 原文地址:https://www.cnblogs.com/awiki/p/5521792.html
Copyright © 2011-2022 走看看