The following guide will show you how to connect a local model served with MLX to OpenCode for local coding.
1. Install OpenCode
curl -fsSL https://opencode.ai/install | bash
| ; Tronxy Crux1 Start Code | |
| ; Forked from the Tronxy XY 2 Pro Start code on cura | |
| ; Improvement: Start nozzle and bed heating together | |
| ; Imorovement: Fixed purge line (XY2 version was for a bigger bed and would draw out of build area) | |
| ; Bugfix: On glass bed Crux 1, the nozzle would bump on the retainer trying to draw the purge line. Fixed in this version. | |
| ; Cleanup: Removed all ABL related code since Crux 1 does not have ABL. | |
| G21 ; Set units to millimeters | |
| G90 ; Set all axis to Absolute | |
| M82 ; Set extrusion to Absolute | |
| M107 ; Disable all fans |
| #!/usr/bin/env node | |
| /** | |
| * This script removes trailing newlines and carriage returns from files. | |
| * | |
| * Read related issue | |
| * https://github.com/prettier/prettier/issues/6360#issuecomment-3380097220 | |
| * | |
| * By default, SFDX installs a prettier pre-commit git hook. Prettier always adds | |
| * newlines to the end of files. Salesforce strips those newlines away. This leads |
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
Launch a new agent that has access to the following tools: Bash, Glob, Grep, LS, exit_plan_mode, Read, Edit, MultiEdit, Write, NotebookRead, NotebookEdit, WebFetch, TodoRead, TodoWrite, WebSearch. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries, use the Agent tool to perform the search for you.
When to use the Agent tool:
When NOT to use the Agent tool:
| // ==UserScript== | |
| // @name Probot daily script | |
| // @namespace https://quartzwarrior.xyz/ | |
| // @version 0.1 | |
| // @description A script to automatically claim probot daily. | |
| // @author QuartzWarrior | |
| // @match http*://quartzwarrior.xyz/* | |
| // @match http*://probot.io/daily | |
| // @icon http://probot.io/favicon.ico | |
| // @grant unsafeWindow |
| #!/usr/bin/env bash | |
| PATCHFILE="patch.list" | |
| # Sorts files by descending file sizes | |
| sort_by_size() { | |
| ls -S --ignore "series" ./patches > ./patches/series | |
| } | |
| cleanup() { |
| - var site_name = "Nombre del sitio." | |
| - var titulo = "Titulo del sitio." | |
| - var theme_color = "#color" | |
| - var descripcion = "Descripcion de hasta 155 caracteres." | |
| //- Facebook Vars | |
| - var url_site = "http://www.example.com" | |
| //- Twitter Vars | |
| - var username = "@username" |