Skip to content

Instantly share code, notes, and snippets.

View andrescevp's full-sized avatar
🏠
Working from home

Andres Cevallos andrescevp

🏠
Working from home
View GitHub Profile
@andrescevp
andrescevp / chat_template_gemma_large_fixed.jinja
Created November 7, 2026 02:34 — forked from bbrowning/chat_template_gemma_large_fixed.jinja
gemma 4 chat template that works with opencode - download the .jinja file and tell vllm to use it via `--chat-template chat_template_gemma_large_fixed.jinja`
{%- macro format_parameters(properties, required) -%}
{%- set standard_keys = ['description', 'type', 'properties', 'required', 'nullable'] -%}
{%- set ns = namespace(found_first=false) -%}
{%- for key, value in properties | dictsort -%}
{%- set add_comma = false -%}
{%- if key not in standard_keys -%}
{%- if ns.found_first %},{% endif -%}
{%- set ns.found_first = true -%}
{{ key }}:{
{%- if value['description'] -%}
@andrescevp
andrescevp / gitflow-breakdown.md
Last active September 29, 2021 14:27 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

@andrescevp
andrescevp / generate-ssh-key.sh
Created March 23, 2020 16:32 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa
@andrescevp
andrescevp / Hashtable_Clone_Example.ps1
Created March 2, 2017 22:10 — forked from PlagueHO/Hashtable_Clone_Example.ps1
Clone a Hashtable PowerShell Example
$Car = [Hashtable]::New()
$Car.Add('Make','Lamborghini')
$Car.Add('Model','Aventador')
$NewCar = $Car.Clone()