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

     

  • 相关阅读:
    webpack的安装与配置
    npm初始化
    gitignore的配置
    git本地已有文件夹和远程仓库对应
    git 配置
    开发环境和开发工具
    git 码云使用教程
    递归
    LeetCode 392. 判断子序列
    MongoDB基本操作
  • 原文地址:https://www.cnblogs.com/awiki/p/5521792.html
Copyright © 2011-2022 走看看