Git Product home page Git Product logo

tools's Introduction

# tools
git-cclone: put it in /usr/lib/git-core/  , and you can use git cclone ssh://xxx.xxx.xxx/yorrepo.git
time git cclone https://github.com/torvalds/linux.git linux
real    8m20.159s
user    8m36.355s
sys     1m21.557s

time git cclone https://github.com/torvalds/linux.git linux2
real    0m7.436s
user    0m4.271s
sys     0m2.339s



ipns.sh: exec ip netns by select netns
dkns.sh: select docker name and re-create ip ns, then can list net

cd_history.sh :
  Install:
    #cp cd_history.sh ~/.local/cd_history.sh
    wget -O ~/.local/cd_history.sh https://raw.githubusercontent.com/joely1101/tools/master/cd_history.sh 
    add below in ~/.profile
    #####source cd_history.sh when login #####
    if [ -f $HOME/.local/cd_history.sh ] ;then
        . $HOME/.local/cd_history.sh
    fi
    ###########################################
  USAGE:
	cd /work/1
	cd /work/2
	cd /work/3
	cds
	0:/work/3
	1:/work/2
	2:/work/1
	cd -2  ===> cd /work/1
	cd -1 ===> cd /work/2
	cd -c ===> clear hostory
	

tools's People

Contributors

joely1101 avatar joel-hk 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.