2.0 KiB
2.0 KiB
Table of Contents for 6 Researching Techniques
Files
- Highlighting Colors and What they Mean.md
- Learning How to Use Github.md
- Pandoc and Going from Markdown to LaTeX.md
- Setting up a virtual python environment (venv).md
- Setting up Neovim for Python.md
- Useful VIM commands.md
- What is a vision paper (Q).md
Summary
Here is the code and documentation from the provided markdown files:
Learning How to Use Github
git init
git add .
git commit -m "Initial Commit"
git remote add origin https://github.com/danesabo/python_environments.git
git push -u origin master
Setting up Neovim for Python
- Install
nodejsandnpm:sudo apt install nodejsandsudo apt install npm - Install
pyrightwithmason:npm install pyright - Install
ruffas the primary LSP: replacepyrightin the init.lua config - Remove
pyrightfrom the environment
Useful VIM commands
- Work with prose:
- `( ) - move to the previous or next sentence
- {} - move to the previous or next paragraph
- vis - select the current sentence
- c) or c( - change to the beginning or end of the sentence
- f'x' and F'x' - find forwards and find backwards. Move to next or prev 'x'.
- J - join lines
- Work with tabs and windows:
- ':tabnew' to open a new tab
- ':tabc(lose)' to close a tab
- 'gt' cycle between tabs
- 'alt-v' to vertically split with a terminal
- ':terminal' opens a new terminal
Setting up a virtual python environment (venv)
- Create a new virtual environment:
python3 -m venv beaglebone_env - Activate the environment:
source beaglebone_env/bin/activate - Install dependencies:
pip freeze > env_req.txt - Create a
requirements.txtfile to recreate the environment - Use
pip install -r env_req.txtto install from the requirements list - Create a new project and install dependencies:
python3 -m venv my_project/venvandpip install -r env_req.txt
Note that these are just some of the instructions provided in the markdown files, and may not be an exhaustive guide.
Generated by llama3.2:latest