Coder Social home page Coder Social logo

doc's Introduction

备忘、文档存档、笔记、命令等

备忘 🗻

文档 ✨

笔记 🔥

文件 🎉

命令 🏜️

  • 实时查看文件尾部输出的日志

    `tail -f file`
    docker :
    `sudo docker logs -f --tail 20 sentinel_1`
  • github代理,加速访问速度
    设置代理

    # 临时设置代理:
    `export https_proxy=127.0.0.1:7890`
    `export http_proxy="127.0.0.1:7890`
    临时取消代理:
    unset http_proxy
    unset https_proxy
    查看代理:
    env | grep xxx
    # 如果想要使代理服务器永久生效,可以修改 /etc/profile文件 ,在profile 中添加或者删除。
  • 将pip3环境中的包,添加到conda环境中

    # 在pip3环境中使用以下命令查看torch包的安装路径
    pip3 show torch
    #在输出中找到Location字段,记录下路径
    #在conda环境中使用以下命令添加路径到PYTHONPATH环境变量:
    export PYTHONPATH=$PYTHONPATH:~/.local/lib/python3.8/dist-packages
    #路径为show出的路径

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.