Skip to content

Instantly share code, notes, and snippets.

@melMass
melMass / !massive panel (by Alexey Kuchinski).md
Last active February 2, 2025 15:19
massive panel (from 2017 converted to py3)

massive panel by Alexey Kuchinski converted to python 3 (nuke 13+)

@melMass
melMass / Auto InspectTree.md
Last active February 2, 2025 15:15
Helper to automatically open `InspectTree`
auto-inspect.mp4

Usage

I usually put this in a local config of my tree-sitter grammars (./.nvim.lua, requires vim.opt.exrc = true, see :h exrc)

For instance:

  • .nvim.lua
@melMass
melMass / README.md
Last active January 17, 2025 22:00
Nushell syntax for bat

AI Framework Tensor Shape Reference Guide

This guide provides a comprehensive reference for tensor shapes across different AI frameworks and data types.

Important

These are common conventions, not enforced rules

Note

  • Batch dimension (B) is typically the first dimension when present
  • Some frameworks allow flexible dimension ordering through configuration
@melMass
melMass / tree-sitter-grammars.json
Created June 1, 2024 17:24
tree-sitter grammar list
{
"ada": "https://github.com/briot/tree-sitter-ada",
"agda": "https://github.com/tree-sitter/tree-sitter-agda",
"angular": "https://github.com/dlvandenberg/tree-sitter-angular",
"apex": "https://github.com/aheber/tree-sitter-sfapex",
"arduino": "https://github.com/ObserverOfTime/tree-sitter-arduino",
"asm": "https://github.com/RubixDev/tree-sitter-asm",
"astro": "https://github.com/virchau13/tree-sitter-astro",
"authzed": "https://github.com/mleonidas/tree-sitter-authzed",
"awk": "https://github.com/Beaglefoot/tree-sitter-awk",
@melMass
melMass / overseer-nu_provider.lua
Created May 17, 2024 23:55
Very crude nu overlay provider for overseer.nvim. It doesn't take arguments so only works on nu defs that don't have args. It only looks for env.nu at the root of the project
local overseer = require('overseer')
local nushell = require('mtb.nushell')
local mtb_shell = require('mtb.utils.shell')
---@type overseer.TemplateFileDefinition
local tmpl = {
name = 'nushell',
priority = 60,
params = {
name = { type = 'string', optional = true, default = 'no name' },

Houdini

19.5.682: 3.9.10
20.0.547: 3.10.10

Nuke

14.0: 3.9.1
15.1: 3.10.10

@melMass
melMass / update_nu.ps1
Last active May 5, 2024 14:44
Powershell script to update nushell and its plugins.
<#
.SYNOPSIS
Creates a new directory if it doesn't exist.
.DESCRIPTION
The New-Directory function creates a new directory at the specified path
if it doesn't already exist.
.PARAMETER Path
Specifies the path of the directory to create.
@melMass
melMass / firefox-no-tab-bar.md
Last active January 24, 2024 20:12
Firefox remove tab bar (115+)

Preview

Screenshot 2024-01-24 204854