Skip to content

Instantly share code, notes, and snippets.

@atodev
atodev / REACT
Created November 7, 2023 03:28
REACT
https://www.youtube.com/watch?v=xoh_L3KPpks
@atodev
atodev / 3d Graph
Last active November 7, 2023 03:27
3D Graph
https://www.youtube.com/watch?v=uszt88Z-0Fc
paraview
https://www.youtube.com/watch?v=BsK_WwoSKDM&t=1s
good
https://www.idtools.com.au/3d-network-graphs-with-python-and-the-mplot3d-toolkit/
https://networkx.org/documentation/stable/auto_examples/3d_drawing/plot_basic.html
AR
https://openreview.net/pdf?id=VtYxuiX_UQ
https://www.nature.com/articles/s41467-021-22570-w
https://github.com/topics/graph-theory?l=html&o=desc&s=forks
@atodev
atodev / base file
Last active July 11, 2023 00:00
[HTML]
<!DOCTYPE html>>
<html lang="eng">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatable" content="IE=edge">
<meta name="'viewport" content = "width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
Hi!
@atodev
atodev / venv
Last active December 12, 2023 03:19
[VENV]
cd to your dir
virtualenv .venv
mac
source .venv/bin/activate
win
.venv/Scripts/activate
pip freeze > requirements.txt
# To activate this environment, use
#
# $ conda activate py10
#
# To deactivate an active environment, use
#
# $ conda deactivate
conda activate py3.9
#convert class to int
df['class'] = (df['class']=='g').astype(int)
@atodev
atodev / image back
Created April 22, 2023 22:41
[image bkrnd remove]
from rembg import remove
from PIL import Image
input_path = 'cl.jpg'
output_path = 'output.png'
input = Image.open(input_path)
output = remove(input)
output.save (output_path)
@atodev
atodev / load key
Last active April 20, 2023 00:32
[environ]
import os
from apikey import apikey
os.environ['OPEN_API_KEY'] = apikey
@atodev
atodev / lil
Last active April 11, 2023 21:55
[Linkedin learning]
https://saleshub.app.bigtincan.com/story/1234158433
Click this activation link: https://lnkd.in/gMaQSM2K
https://www.linkedin.com/learning/machine-learning-with-python-foundations/using-the-exercise-files?autoSkip=true&autoplay=true&resume=false&u=111978458
msoft
https://www.linkedin.com/learning/paths/become-a-data-analyst?u=111978458
https://www.linkedin.com/learning/learning-python-14393370/learning-python?autoplay=true&contextUrn=urn%3Ali%3AlyndaLearningPath%3A5ebaefdc498e440b07b53ea1&u=111978458
aws
@atodev
atodev / envs
Last active May 28, 2023 20:49
[Conda]
conda activate py3.9
if it doesn't start
conda init bash'
cloes and repopen the terminal
try activate again