Skip to content

Instantly share code, notes, and snippets.

View ravenac95's full-sized avatar
💭
🎶

Reuven Gonzales ravenac95

💭
🎶
View GitHub Profile
@z3z1ma
z3z1ma / sql_ls.py
Last active January 25, 2025 22:10
A simple language server implementation for SQLMesh using PyGLS
#!/usr/bin/env python
"""A Language Server Protocol (LSP) server for SQL with SQLMesh integration."""
import asyncio
import gc
import io
import logging
import re
import typing as t
import weakref
@kof
kof / inherits.js
Created March 24, 2011 13:10
nodejs like utility method for inheritance
/**
* Inherit prototype properties
* @param {Function} ctor
* @param {Function} superCtor
*/
_.mixin({
inherits: (function(){
function noop(){}
function ecma3(ctor, superCtor) {