Skip to content

Instantly share code, notes, and snippets.

View ngscheurich's full-sized avatar
🛠️
Making video games and web things

N. G. Scheurich ngscheurich

🛠️
Making video games and web things
View GitHub Profile
layout {
default_tab_template {
pane size=1 borderless=true {
plugin location="zellij:tab-bar"
}
children
}
tab_template name="strider_tab" {
}
tab name="Code" focus=true {
local ts_utils = require("nvim-treesitter.ts_utils")
local M = {}
local function set_add(set, item)
if not vim.tbl_contains(set, item) then
table.insert(set, item)
end
end
local function get_def_node(node)
#!/bin/bash
EMBED=~/tmp/santyl-embed
STATIC=build/static
npm run build
rm $EMBED/*.{css,js}
cp $STATIC/css/main.*.css $EMBED/santyl-calculator.min.css
cp $STATIC/js/main.*.js $EMBED/santyl-calculator.min.js
#!/bin/bash
EMBED=~/tmp/santyl-embed
STATIC=build/static
npm run build
rm $EMBED/*.{css,js}
cp $STATIC/css/main.*.css $EMBED/santyl-calculator.min.css
cp $STATIC/js/main.*.js $EMBED/santyl-calculator.min.js
(local lspconfig (require :lspconfig))
(local nvim-setup
(fn [config]
(let [rtp (vim.split package.path ";")]
(table.insert rtp "lua/?.lua")
(table.insert rtp "lua/?/init.lua")
(lspconfig.sumneko_lua.setup
(vim.tbl_extend :force config
title author date
Tales of a Shell Dweller
N. G. Scheurich
2010-04-06

Zsh

Zsh is a shell designed for interactive use, although it is also a powerful scripting language.

@ngscheurich
ngscheurich / Makefile
Last active November 17, 2020 06:39
Makefile for PICO-8 dev
CART_NAME = $(shell basename $(PWD))
CART_DIR = ~/Library/Application\ Support/pico-8/carts
.PHONY: compile minify run reload
compile:
@cat src/*.lua > build.lua
@p8tool build $(CART_DIR)/$(CART_NAME).p8 --lua build.lua
minify:

Keybase proof

I hereby claim:

  • I am ngscheurich on github.
  • I am ngscheurich (https://keybase.io/ngscheurich) on keybase.
  • I have a public key ASCLub-EDBweKEwj8xygyd04sa-s7F1DOL25-K5PQI8k9Ao

To claim this, I am signing this object:

scriptencoding utf-8
" __
" __ __/\ \__ __
" /\_\ ___ /\_\ \ ,_\ __ __ /\_\ ___ ___
" \/\ \ /' _ `\/\ \ \ \/ /\ \/\ \\/\ \ /' __` __`\
" \ \ \/\ \/\ \ \ \ \ \_ __\ \ \_/ |\ \ \/\ \/\ \/\ \
" \ \_\ \_\ \_\ \_\ \__\/\_\\ \___/ \ \_\ \_\ \_\ \_\
" \/_/\/_/\/_/\/_/\/__/\/_/ \/__/ \/_/\/_/\/_/\/_/
"
@ngscheurich
ngscheurich / tasks.json
Created February 7, 2019 03:02
My VS Code Test Tasks for Elixir
{
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"command": "mix",
"group": "build",
"args": ["compile"],
"problemMatcher": ["$mixCompileError", "$mixCompileWarning"],
"presentation": {