File tree 4 files changed +103
-0
lines changed
4 files changed +103
-0
lines changed Original file line number Diff line number Diff line change @@ -37,3 +37,25 @@ git branch --delete BRANCH_NAME
37
37
```
38
38
39
39
40
+ ## .gitignore file
41
+
42
+ - .gitignore command [ guide] ( https://www.atlassian.com/git/tutorials/saving-changes/gitignore )
43
+
44
+
45
+ ## Troubleshooting
46
+
47
+ ### Git Push is frozen
48
+
49
+ - Fix: Use this in order to increase the buffer size
50
+
51
+ ``` bash
52
+ git config --global http.postBuffer 157286400
53
+ ```
54
+
55
+
56
+ ### How to remove files that are listed in the .gitignore but still on the repository?
57
+
58
+ [ source: StackOverflow] ( https://stackoverflow.com/questions/13541615/how-to-remove-files-that-are-listed-in-the-gitignore-but-still-on-the-repositor )
59
+ ``` bash
60
+ git rm --cached ` git ls-files -i -c --exclude-from=.gitignore`
61
+ ```
Original file line number Diff line number Diff line change
1
+ ---
2
+ tags : 📝/🌱
3
+ aliases :
4
+ -
5
+ cssclass :
6
+ ---
7
+
8
+ # [[ makefile]]
9
+
10
+ ---
11
+
12
+ > [ Makefile tutorial] ( https://makefiletutorial.com/ )
13
+
14
+ - These are files which automate bash script commands with simple commands as such: ` make build `
15
+
16
+ - Name your file ` Makefile ` so that way it appears near top of the directory
17
+
18
+
19
+
20
+ ---
21
+
22
+
23
+
24
+ Tags:
25
+
26
+ Reference:
27
+
28
+ Related:
29
+
30
+
31
+ 🔗 Links to this page:
32
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ tags : 📝/🌱
3
+ aliases :
4
+ -
5
+ cssclass :
6
+ ---
7
+
8
+ # [[ pylint]]
9
+
10
+ ---
11
+
12
+ ## In VS Code
13
+
14
+ ### Disable linter for any line in .py file
15
+
16
+ Add ` # noqa ` in-line:
17
+ ``` python
18
+ a = code_you_want_to_disable_linter_for() # noqa
19
+ ```
20
+
21
+ ---
22
+
23
+
24
+
25
+ Tags:
26
+
27
+ Reference:
28
+
29
+ Related:
30
+
31
+
32
+ 🔗 Links to this page:
33
+
Original file line number Diff line number Diff line change @@ -32,6 +32,22 @@ pip list
32
32
deactivate
33
33
```
34
34
35
+ ## Setting up venv with MacOS
36
+
37
+ ``` bash
38
+ # Initialize virtual environment
39
+ python3.9 -m venv .venv
40
+
41
+ # Enter the venv
42
+ source .venv/bin/activate
43
+
44
+ # Update pip
45
+ pip install --upgrade pip
46
+
47
+ # Connect to remote aws pip
48
+ ./connect_pip.sh
49
+ ```
50
+
35
51
36
52
🔗 Links to this page:
37
53
[[ Python]]
You can’t perform that action at this time.
0 commit comments