jasikpark’s gists · GitHub
Skip to content Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert Instantly share code, notes, and snippets. 🏳️🌈 happy pride month Caleb Jasik jasikpark 🏳️🌈 happy pride month vibin' 124 followers · 575 following @DefinedNet Texas jasik.xyz @calebjasik.jasik.xyz @calebjasik@mas.to View GitHub Profile Recently created Least recently created Recently updated Least recently updated 1 file 0 forks 0 comments 0 stars jasikpark / omlx-provider.ts Created May 27, 2026 22:23 letta-code extension: register oMLX as a pi provider using /v1/models/status as the source of truth for per-model capabilities (modality, context window, max tokens, thinking default).
Requires letta-code with PR #2552 merged. // Registers oMLX (https://github.com/jundot/omlx) as a letta-code pi provider, // using oMLX's /v1/models/status endpoint as the source of truth for per-model // capabilities (modality, context window, max tokens, thinking default). // // Without this, letta-code falls back to substring heuristics on the model id // (llava / vision / vl for VLMs, gpt-oss / qwen3 / deepseek-r1 for reasoning, // 128K context default) — see https://github.com/letta-ai/letta-code/issues/2541. // // Requires letta-code with PR #2552 merged (the `letta.registerProvider()` API).
2 files 0 forks 0 comments 0 stars jasikpark / src-pages-links.astro Created February 12, 2026 17:57 implementing a links page w/ atproto (coded w/ Claude Sonnet 4.5) --- import Card from "#components/Card.astro"; import FitWidthText from "#components/FitWidthText.astro"; import Pagination from "#components/Pagination.astro"; import { Icon } from "astro-icon/components"; import Layout from "src/layouts/Layout.astro"; import { fetchAllLinks, LINKS_PAGE_SIZE } from "#utils/atproto.ts"; export const prerender = false; 2 files 0 forks 0 comments 0 stars jasikpark / _getPostcards.ts Created June 27, 2025 17:12 Postcards page export const getPostcards = async () => { const files = import.meta.glob<ImageMetadata>( "/src/assets/postcard-images/*.{jpeg,jpg,JPG,png,gif}", { import: "default", eager: true } ); const featuredFiles = import.meta.glob<ImageMetadata>( "/src/assets/featured-postcard-images/*.{jpeg,jpg,JPG,png,gif}", {import: "default", eager: true } ); 1 file 0 forks 0 comments 0 stars jasikpark / update-dnclient-desktop.sh Created May 15, 2025 18:05 Update DNClient Desktop via the cli #!/bin/bash set -eo pipefail IFS=$'\n\t' # Script to update DNClient Desktop.app # Usage: ./update_dnclient.sh <download_url> # Check if download URL is provided if [ -z "$1" ]; then echo "Error: Download URL is required" 1 file 0 forks 0 comments 0 stars jasikpark / OptionSelector.stories.tsx Last active April 11, 2025 21:11 import type { Meta, StoryObj } from "@storybook/react"; import { expect, userEvent, waitFor, within } from "@storybook/test"; import fc from "fast-check"; import { useState } from "react"; import { SMORGASBORD_OPTIONS } from "./contants"; import { OptionSelector } from "./OptionSelector"; const meta = { title: "components/OptionSelector", component: OptionSelector, 1 file 0 forks 0 comments 0 stars jasikpark / upgrade-nebula-network-to-cert-v2-and-ipv6.md Last active March 17, 2025 21:18 Upgrading your IPv4 Cert V1 network to an IPv4/IPv6 Cert V2 network Upgrade to nebula nightly First of all, download the updated nebula version that has v2 certs and IPv6 support from nightly releases, and move all of the hosts in your network to it. https://hub.docker.com/r/nebulaoss/nebula-nightly 1 file 0 forks 0 comments 0 stars jasikpark / ipv6-quick-start.md Created March 17, 2025 18:57 Seting up an IPv6 nebula network Building an IPv6 network with the nebula nightly builds: ❯ nebula - cert ca - name "Nebula IPv6 Tutorial CA" - encrypt Enter passphrase : # typed in my password and pressed enter .
1 file 0 forks 0 comments 0 stars jasikpark / prefetch.ts Created January 17, 2024 17:57 `usePrefetchQuery` with types import { useQueryClient, type DefaultError, type FetchQueryOptions, type QueryKey } from '@tanstack/react-query'; // Type specified by `ensureQueryData` definition. // Pulled from <https://tanstack.com/query/latest/docs/react/guides/prefetching> export function usePrefetchQuery< TQueryFnData, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, >(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>, { enabled = false }: { enabled?: boolean } = {}) { 1 file 0 forks 0 comments 0 stars jasikpark / are-we-formatting-yet.md Created December 8, 2023 17:36 WIP list of all possible formatters w/ support for different languages Rust rustfmt Go gofmt Javascript/Typescript prettier biome Markdown prettier Python 1 file 0 forks 0 comments 0 stars jasikpark / flake.nix Created July 29, 2023 20:45 use an old hugo version via nix flakes { inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; old-hugo-nixpkgs.url = "github:NixOS/nixpkgs/4fe31ab170bbbdd089b05b268b681542886eb642"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, old-hugo-nixpkgs, flake-utils, }: flake-utils.lib.eachDefaultSystem (system: let Newer Older You can’t perform that action at this time.