Giter Site home page Giter Site logo

tag's Introduction

tag

grep

  • egrep '正则表达式' file (grep -E)
  • -n print linenum

sed

  • p print
  • d delete
  • s replace
  • q quit
  • -i 回写文件
  • -n 打印处理行
  • s g全部替换

查找

  • n1,n2
  • /正则表达式/

通用

  • sed -i '/root/{s/uu/hhh/g;p;q}' file
  • sed -i '3,5{s/uu/hhh/g;p;q}' file

###php

  • ./ext_skel –extname=yourext
  • config.m4

dnl PHP_ARG_WITH(myext, for myext support, dnl Make sure that the comment is aligned: dnl [ --with-myext Include myext support])

PHP_ARG_WITH(myext, for myext support, [ --with-myext Include myext support])

  • ext目录下依次执行phpize、./configure 、make、make install。然后修改php.ini加入extension={your ext.so}

  • git add

  • git add .

  • git reset HEAD file

  • git remote add origin(远程名) [email protected]:name/res

  • git branch newbranch

  • git checkout branch

  • git merge branch 合并当前和branch

  • git pull <远程主机名> <远程分支名>:<本地分支名>

  • git push <远程主机名> <本地分支名>:<远程分支名>

tag's People

Contributors

dingdangmao123 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.