conda create --name ollama python=3.10 -y && conda activate ollama &&
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 &&
pip3 install chardet && conda activate ollama && sudo mkdir /Users/vitorcalvi/Desktop/JupyterNotebooks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Source | |
https://robostack.github.io/GettingStarted.html#__tabbed_1_2 | |
# Install gazebo Mac | |
curl -ssL http://get.gazebosim.org | sh | |
# Create a ros-humble desktop environment | |
micromamba create -n ros_env -c conda-forge -c robostack-staging ros-humble-desktop | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM tensorflow/tensorflow:2.14.0-gpu | |
ARG BUILD_DATE | |
ENV PORT 8888 | |
LABEL org.opencontainers.image.authors="[email protected]" \ | |
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" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Work in progress. V0.1 | |
# ALL THE THINGS. | |
ARG APT_PROXY #=http://apt-cacher-ng.lan:3142/ | |
ARG PIP_INDEX_URL #=http://devpi.lan:3141/root/pypi/+simple | |
ARG PIP_TRUSTED_HOST #=devpi.lan | |
ARG JUPYTER_PORT=37799 | |
ARG LITELLM_PORT=11111 | |
FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 as build-llama |
sudo docker volume ls -qf dangling=true | xargs -r sudo docker volume rm && \
sudo docker network rm $(sudo docker network ls --format "{{.ID}} {{.Name}}" | grep -v "bridge" | awk '/ / { print $1 }') && \
sudo docker images --filter "dangling=true" -q --no-trunc | xargs -r sudo docker rmi && \
sudo docker images | grep "none" | awk '/ / { print $3 }' | xargs -r sudo docker rmi && \
sudo docker rm $(sudo docker ps -qa --no-trunc --filter "status=exited")
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
# --- Configurable lists --- | |
CASKS=( | |
macs-fan-control whatsapp discord lm-studio android-file-transfer balenaetcher | |
flutter visual-studio-code sublime-text android-studio rectangle iterm2 | |
android-platform-tools tradingview jan xcode | |
) | |
FORMULAS=( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import logging | |
import requests | |
from alpaca.data.historical.news import NewsClient | |
from alpaca.data.requests import NewsRequest | |
from datetime import datetime | |
from dotenv import load_dotenv | |
# Load environment variables from .env file | |
load_dotenv() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# Install dependencies | |
brew install llvm libomp [email protected] | |
# Set up LLVM paths | |
export PATH="/opt/homebrew/opt/llvm/bin:$PATH" | |
export CC=$(brew --prefix llvm)/bin/clang | |
export CXX=$(brew --prefix llvm)/bin/clang++ |
Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.
To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Set TA-Lib version | |
PYTHON_TA_LIB_VERSION="0.4.28" | |
# Update package list and install dependencies | |
echo "Updating package list and installing dependencies..." | |
sudo apt-get update | |
sudo apt-get install -y build-essential wget libcurl4-openssl-dev python3-dev python3-pip |
OlderNewer