Giter Site home page Giter Site logo

autobackup's Introduction

πŸ‘‹ Hi, I'm Eric! Github

  • πŸ‘¨β€πŸ’» A programmer who loves the beauty of PHP;
  • 🌱 A writer who likes to share something with people;

Experience

  • πŸ›° SAT. KNOWLEDGE, Senior developer, 2020/03/10 ~ Present
  • πŸ”§ GoodLinker, developer, 2018/02/12 ~ 2020/03/10
  • πŸ₯― 5breakfast, chatbot developer, 2017/10/23 ~ 2018/12/10
  • 🎯 δΈ­θ―ζ°‘εœ‹ζ΅·θ»ι™Έζˆ°ιšŠ, δΊŒε…΅ 2017/6/28 ~ 2017/10/19
  • πŸ‘¨β€πŸ’» η«Ήθ²“ζ˜Ÿηƒζ•Έδ½θ‚‘δ»½ζœ‰ι™ε…¬εΈ, developer, 2017/3/19 ~ 2017/10/1

Stats

autobackup's People

Contributors

codeall9 avatar eric0324 avatar qhsiaw avatar s1023350 avatar

Watchers

 avatar  avatar  avatar

autobackup's Issues

Read path

".config" There is a line "DESTDIR = Path"

recovery.py

def python():
cmd = "apt-get install python-pip"
ι€™ε€‹ζœƒζη€Ίζ²’ζœ‰ζ¬Šι™

recovery.py

line 93&75
def vim()
cmd = "cp -p" + path[1] + "/vim ~/.vimrc"

def git()
cmd = "cp -p" + path[1] + "/git ~/.gitconfig"

Change the path

Because it is with "ps" to prompt the user to restore the environment to which
So do string processing

Read file

vim_plugins = open('.vimrc', 'r')

    for line in vim_plugins:
        if line == "Plugin \'Valloric/YouCompleteMe\'":
            ***
            cmd = "sudo apt-get install build-essential cmake"
            result = subprocess.check_output(cmd, shell=True)
            cmd = "sudo apt-get install python-dev python3-dev"
            result = subprocess.check_output(cmd, shell=True)

            cmd = "cd -"
            result = subprocess.check_output(cmd, shell=True)

            cmd = "cd ~/.vim/bundle/YouCompleteMe"
            result = subprocess.check_output(cmd, shell=True)
            cmd = "./install.py --all"
            result = subprocess.check_output(cmd, shell=True)
            ***
            print "YES!"
            break

    vim_plugins.close()

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.