Skip to content

Instantly share code, notes, and snippets.

import path from 'path';
import { processToDisposable, spawnLanguageServer } from "../../utils/process";
import { forwardConnection, LSPConnection } from "../../utils/connection";
import { captureError } from "@codesandbox/pitcher-node-common";
import { Disposable } from "@codesandbox/pitcher-common";
import { InitializeParams } from "vscode-languageserver";
import { LSPServer, LSPServerOptions } from "../server";
export class AstroServer extends LSPServer {
lspConnection: LSPConnection | null = null;
@loganvolkers
loganvolkers / Byte Formatting for Google Sheets.md
Last active April 16, 2024 10:42
Byte formatting for Google Sheets
@darktable
darktable / MiniJSON.cs
Created November 30, 2011 23:08
Unity3D: MiniJSON Decodes and encodes simple JSON strings. Not intended for use with massive JSON strings, probably < 32k preferred. Handy for parsing JSON from inside Unity3d.
/*
* Copyright (c) 2013 Calvin Rien
*
* Based on the JSON parser by Patrick van Bergen
* http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html
*
* Simplified it so that it doesn't throw exceptions
* and can be used in Unity iPhone with maximum code stripping.
*
* Permission is hereby granted, free of charge, to any person obtaining