π
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
| # ~/.oh-my-zsh/custom/gemma4.zsh | |
| # Auto-sourced by oh-my-zsh (top-level *.zsh in $ZSH_CUSTOM). | |
| # | |
| # Helper for the Gemma 4 E2B GGUF model served by llama.cpp. | |
| # | |
| # | |
| # When using this with OpenCode set up the following field in opencode.json | |
| # | |
| # "provider": { | |
| # "llamacpp": { |
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 | |
| # Script to find Raspberry Pi on local network | |
| # Uses network scanning and MAC address detection | |
| echo "π Finding Raspberry Pi on network..." | |
| echo "" | |
| # Step 1: Detect local IP and network range | |
| echo "[1/4] Detecting local network..." |
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
| alias ls="eza --color=always --long --no-filesize --icons=always --no-time --no-user --no-permissions" |
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
| [env] | |
| TERM = "xterm-256color" | |
| # this connects to another script that controsl the daytime switch of themes | |
| # https://github.com/alacritty/alacritty/issues/5999#issuecomment-2053664635 | |
| ALACRITTY_THEME_SYSTEM_SWITCH = "true" | |
| ALACRITTY_THEME_SYSTEM_DAY = "dayfox" | |
| ALACRITTY_THEME_SYSTEM_NIGHT = "nightfox" | |
| [window] | |
| padding.x = 10 |
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 datetime | |
| import os | |
| import shutil | |
| import pandas as pd | |
| from loguru import logger | |
| DATE_FORMAT = "%Y-%m-%d" | |
| DEFAULT_FOLDER = "" | |
| DAILY_TEMPLATE_FILE = "" |
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 time | |
| import wave | |
| from dataclasses import asdict, dataclass | |
| import pyaudio | |
| import torch | |
| from transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipeline | |
| @dataclass |
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
| { | |
| "notebook.formatOnSave.enabled": true, | |
| "notebook.codeActionsOnSave": { | |
| "notebook.source.fixAll": "explicit", | |
| "notebook.source.organizeImports": "explicit" | |
| }, | |
| "[python]": { | |
| "editor.formatOnSave": true, | |
| "editor.codeActionsOnSave": { | |
| "source.fixAll": "explicit", |
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
| if [[ -z $ZSH_THEME_CLOUD_PREFIX ]]; then | |
| ZSH_THEME_CLOUD_PREFIX='π₯' #β‘' | |
| fi | |
| PROMPT='%{$fg_bold[cyan]%}$ZSH_THEME_CLOUD_PREFIX%{$fg_bold[green]%} %{$fg[green]%}%c %{$fg_bold[cyan]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}' | |
| ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}[%{$fg[cyan]%}" | |
| ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
| ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}] %{$fg[yellow]%}'%{$reset_color%}" | |
| ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}]" |
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 nvidia/cuda:12.1.1-devel-ubuntu20.04 | |
| ARG DEBIAN_FRONTEND=noninteractive | |
| # install git, python3.10 and pip | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| curl \ | |
| software-properties-common \ | |
| && add-apt-repository ppa:deadsnakes/ppa \ | |
| && apt install -y python3.10 \ | |
| && rm -rf /var/lib/apt/lists/* \ |
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
| plugins=( | |
| git | |
| zsh-autosuggestions | |
| alias-finder | |
| dotenv | |
| poetry | |
| python | |
| macos | |
| gitignore | |
| web-search |
NewerOlder