Skip to content

Instantly share code, notes, and snippets.

View vitorcalvi's full-sized avatar
🎯
Focusing

Carlos Vitor Botti Calvi vitorcalvi

🎯
Focusing
View GitHub Profile
@vitorcalvi
vitorcalvi / gist:ed9146a62aef937e05223817c15c6ace
Created January 30, 2024 08:32
TensorFlow and Pytorch via JupyterLab on Dockerc no password
FROM tensorflow/tensorflow:2.14.0-gpu
ARG BUILD_DATE
ENV PORT 8888
LABEL org.opencontainers.image.authors="rinconyanezd@gmail.com" \
org.opencontainers.image.vendor="Diego, Rincon-Yanez" \
org.opencontainers.image.title="Tensorflow GPU Jupyter" \
org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.version="2.9.3" \
@vitorcalvi
vitorcalvi / MultipleDevicesOverTCP.md
Created January 14, 2024 12:41 — forked from teocci/MultipleDevicesOverTCP.md
How to connect multiple Android devices with ADB over TCP

#How to connect multiple Android devices with ADB over TCP

From your device, if it is rooted

According to a post on xda-developers, you can enable ADB over Wi-Fi from the device with the commands:

su
setprop service.adb.tcp.port 5555
stop adbd
start adbd
@vitorcalvi
vitorcalvi / vaiiii.txt
Created November 30, 2023 15:20
micromamba Ros2 MAC
# Create a ros-humble desktop environment
micromamba create -n ros2_env_galactic -c conda-forge -c robostack-staging ros-galactic-desktop && micromamba activate ros_env && micromamba install -c conda-forge compilers cmake pkg-config make ninja colcon-common-extensions
micromamba create --name alpaca_micromamba -y && micromamba activate alpaca_micromamba && micromamba install -c alpaca-trade-api && micromamba install -c apple tensorflow-deps && pip install tensorflow-macos && pip install tensorflow-metal && conda install jupyter pandas numpy matplotlib scikit-learn
@vitorcalvi
vitorcalvi / jupyter-tf-GPU.md
Last active April 3, 2023 13:27
Jupyter Notebook Tensorflow MAC & Linux

TF JUPYTER LAB MAC METAL

conda create --name tf_mac_m5 python=3.8 -y && conda activate tf_mac_m5 

conda install -c apple tensorflow-deps -y && pip install tensorflow-macos && pip install tensorflow-metal && conda install notebook -y && pip install numpy  --upgrade && pip install pandas  --upgrade && pip install matplotlib  --upgrade && pip install scikit-learn  --upgrade && pip install scipy  --upgrade && pip install plotly  --upgrade && pip install jupyterlab

Jupiter lab

@vitorcalvi
vitorcalvi / webp-convert-directory.sh
Created March 27, 2023 10:14 — forked from tabrindle/webp-convert-directory.sh
Convert all files in directory to webp, with default params, or standard cwebp params passed from command
#!/bin/bash
PARAMS=('-m 6 -q 70 -mt -af -progress')
if [ $# -ne 0 ]; then
PARAMS=$@;
fi
cd $(pwd)