/scriptorium

A collection of code snippets and scripts in various languages designed for task automation, workflow enhancement, and other miscellaneous/experimental or fun purposes

Primary LanguageShellGNU General Public License v3.0GPL-3.0

About

A collection of code snippets and scripts in various languages designed for task automation, workflow enhancement, and other miscellaneous/experimental or fun purposes.

Reference

Shell/Bash

Nix

  • alejandra - The Uncompromising Nix Code Formatter. It applies the feedback of developers who have used Nix at scale for several years, producing a very well-grounded style guide.

  • statix - lints and suggestions for the nix. Able to highlight anti-patterns in Nix code and fix them.

  • deadnix - Scan Nix files for dead code. Able to automatically remove unused code.

Python

  • black - The uncompromising Python code formatter. It makes code review faster by producing the smallest diffs possible.

Ruby

  • rufo - An opinionated ruby formatter. It offers little in the way of configuration.

Nim

  • nph - An opinionated code formatter for Nim, following the great tradition of black, prettier, clang-format and more.

Lua

  • StyLua - An opinionated code formatter for Lua, inspired by by the likes of prettier.

Notable mentions

  • magika - A novel AI powered file type detection tool that relies on the recent advance of deep learning to provide accurate detection.