Skip to content

Commit e356165

Browse files
committed
Update devlog
1 parent f7add1f commit e356165

File tree

4 files changed

+103
-0
lines changed

4 files changed

+103
-0
lines changed

git.md

+22
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,25 @@ git branch --delete BRANCH_NAME
3737
```
3838

3939

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+
```

makefile.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+

pylint.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+

virtualenv.md

+16
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,22 @@ pip list
3232
deactivate
3333
```
3434

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+
3551

3652
🔗 Links to this page:
3753
[[Python]]

0 commit comments

Comments
 (0)