Skip to content

Instantly share code, notes, and snippets.

View pruthvi6767's full-sized avatar
📺
Working from home

pruthvi6767

📺
Working from home
View GitHub Profile

chat gpt limitations:

Experience emotions or personal feelings Make decisions or take actions based on my own will Have access to information that is not contained in my training data Provide information or make predictions about the future with 100% accuracy Interact with the physical world beyond generating text-based responses

@pruthvi6767
pruthvi6767 / docker.md
Last active September 29, 2020 16:49
docker troubleshooting guide
# Cloud Possee (sweet ops)
## Template
```
Date:
Keywords to Follow up:
new features:
```
^[+-]?\d{1,2}((?=\.).\d{1,5}|)?\,[+-]?\d{1,3}((?=[.]).\d{1,5}|)?$
@pruthvi6767
pruthvi6767 / sum_matrix_auxillary.py
Created February 23, 2020 02:16
finds matrix B from cumulative sum of given matrix A(mxn)
a = [[1,2,3,4],[3,4,5,6],[234,456,555,6789]]
b = [[0 for _ in range(len(a[0]))] for _ in range(len(a)) ]
def build_b(pos):
i, j = pos
if i ==0 and j == 0:
b[i][j] = a[0][0]
return b[i][j]
elif b[i][j] !=0:
return b[i][j]