Git Product home page Git Product logo

alpaca_snippets's Introduction

Git

Init

git init
git add .
git commit -m "initial commit"

git remote add origin https...
git branch -M main
git push -u origin main

Maintain

git add -A
git commit -m "Update"
git push

Update local content from Github:

git pull origin main

Conda Virtual Environments for Windows:

Activating

View all our virtual environments: conda env list Create virtual environment: conda create -n alpaca_env Activate environment: conda activate alpaca_env  Instal pip inside the environment: conda install pip If the above didn't work, try like this: go to base environment and do conda install -n alpaca_env python Install needed package: pip install -r requirements.txt Check which package are installed inside the environment: conda list Exit the environment: conda deactivate Delete the environment: conda env remove -n alpaca_env

Interactiv window

I got a problem when in activated environment in VS Code I do "shift+Enter" (Interactive Window) for a specific line of code... ... it doesn't execute it in selected environment, but in "base", where needed packages are NOT installed. To solve this: Option (A): (1) Press Ctrl + Shift + P and select Terminal Configuration (2) Search for "python.conda", and paste your conda path: "C:\ProgramData\Anaconda3\Scripts\conda.exe" Option (B): (1) Go to Anaconda Prompt; (2) Do "conda activate alpaca_env"; (3) Do "code" - this will open VS Code in alpaca_env; (4) Now Shift+Enter will send a command to alpaca_env

alpaca_snippets's People

Contributors

alexanu avatar jcoffi avatar

Stargazers

 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.