apt update && upgrade flatpak install vim curl htop
sudo snap refresh
flatpak brave vscode edge mpv spotify slack zoom
apt update && upgrade flatpak install vim curl htop
sudo snap refresh
flatpak brave vscode edge mpv spotify slack zoom
yay -S conda (anaconda or miniconda3)
https://github.com/randaller/llama-chat/blob/main/README.md
First add this line to your ~/.zshrc file:
export PATH="/opt/miniconda3/bin:$PATH"
import os | |
from langchain_community.llms import Ollama | |
llm = Ollama(model="solar") | |
project = 'auth-service' | |
directory = '/home/alber/repo/apps/' + project + '/kubernetes/chart/templates' | |
prompt = "given these helm templates make a values.yaml file with all the variables that appears in the templates. Output just the yaml file : \n" |
curl http://plytix-charts.core.private-plytix.com:8080/api/charts -o charts.json
cat charts.json | yq e -P ' .[].[] | select(.name =="mongo*") | (.name + "," + .version)'
yq eval-all --inplace 'select(fileIndex == 0) * select(fileIndex == 1)' f1.yml f2.yml
hazme un pequeño programa que use rust, svelte y tailwind css ¡Vamos a crear algo emocionante!
Aquí te presento un ejemplo de aplicación simple que utiliza Rust como backend, Svelte como frontend y Tailwind CSS para estilizar la interfaz de usuario.
Backend (Rust)
use actix_web::{web, App, HttpResponse};
xdg-mime default firefox.desktop x-scheme-handler/http xdg-mime default firefox.desktop x-scheme-handler/https
xdg-mime default brave.desktop x-scheme-handler/http xdg-mime default brave.desktop x-scheme-handler/https
xdg-mime default microsoft-edge.desktop x-scheme-handler/http xdg-mime default microsoft-edge.desktop x-scheme-handler/https
if ! docker ps -a --format json | jq -r .Names | grep kind-control-plane ; then # if kind-control-plane dont exists! bin/kind-create-cluster.sh fi
git config empty=> en el check
&& newgrp docker