Skip to content

Instantly share code, notes, and snippets.

@olimorris
olimorris / nvim-treesitter.rb
Created April 12, 2026 08:52
Tree-sitter in Neovim without nvim-treesitter
#!/usr/bin/env ruby
# frozen_string_literal: true
require "fileutils"
require "tmpdir"
TREESITTER_DIR = File.expand_path("~/.local/share/nvim/treesitter")
PARSER_DIR = File.join(TREESITTER_DIR, "parser")
QUERIES_DIR = File.join(TREESITTER_DIR, "queries")
@olimorris
olimorris / Dockerfile
Last active May 31, 2024 16:23
Use Docker to install MS-SQL Server 2017 with Full Text Search and MS-SQL Tools
# mssql-agent-fts-ha-tools
# Maintainers: Microsoft Corporation (twright-msft on GitHub)
# GitRepo: https://github.com/Microsoft/mssql-docker
# Base OS layer: Latest Ubuntu LTS
FROM ubuntu:16.04
# Install curl since it is needed to get repo config
# Get official Microsoft repository configuration
RUN export DEBIAN_FRONTEND=noninteractive && \