Skip to content
View c-blake's full-sized avatar
Block or Report

Block or report c-blake

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
c-blake/README.md

Unless otherwise specified, this is all Nim code.

Some driving libraries & tools:

  • cligen - library to infer/generate command-line-interfaces / option / argument parsing; Also has some IO/system interface utility modules to have no dependencies
  • adix - A Data structures for Indexing lib with sketches
  • nio - Low Overhead Numerical/Native IO lib & tools organized around the idea of compact file extensions as schemas
  • bu - Over 50 (mostly cligen) CLI utilities covering space management, file typology & times, benchmarking, pipeline/data formatting/calculation, sysadmin, tty tools, Nim package release, parallel & queuing shell tools, various front ends for adix things, random sampling & MORE

Adding some more color to your life:

  • lc - A post-modern, "multi-dimensional", colorful, configurable, abbreviating, extensible ls/file lister
  • procs - Colorful-like lc-Unix process & system query & formatting library & multi-command CLI
  • hldiff - A port of Python difflib to compute diffs and (re)highlight diff output intraline

Adding some math to your life:

  • spfun - Special Functions Of Stats / Physics / Etc.
  • fitl - Self-contained fit of linear models with regression diagnostics & various auto-regularization

Helping you handle graphs/words/documents:

  • gralg - Classic algorithms on graphs (the linked structure, not plots)
  • thes - a library & CLI interface to Moby Thesaurus that saves the DB in a packed binary format
  • suggest - A fast implementation of Mor & Fraenkel 1982's spell checking algo (co-opted/re-discovered by Wolfe Garbe) with a custom memory-mapped data file format/DB and some perf analysis
  • ndup - Near-Duplicate File Detection Code

Miscellaneous:

  • kslog - Lightweight Linux specific replacement for syslogd-ng in ~130 lines
  • cron - Very lightweight replacement for crond/tab in ~60 lines of Nim
  • nimp - a Nim package manager I use (but doubt anyone else will) in ~320 self-contained lines
  • ftab - Native File-Based Hash Table library like DBM; SQLite can be overkill/slow

An experiment:

  • nimsearch - Try to explain some elementary ideas of search engine impl via successive diffs / patches

Some C packages:

  • batch - A Linux Kernel module to create a new sys_batch system call that runs packaged mini-programs with 1 kernel crossing
  • bst - Well Factored, Non-Recursive, General & Generic BSTs in ANSI C - unbalanced, AVL, red-black, Lk-weight & splay

Popular repositories

  1. cligen cligen Public

    Nim library to infer/generate command-line-interfaces / option / argument parsing; Docs at

    Nim 492 23

  2. lc lc Public

    A post-modern, "multi-dimensional", configurable, abbreviating, extensible ls/file lister in Nim

    Nim 57 2

  3. bu bu Public

    B)asic|But-For U)tility Code/Programs (in Nim & Often Unix/POSIX/Linux Context)

    Nim 53 2

  4. adix adix Public

    An Adaptive Index Library for Nim

    Nim 39 2

  5. nio nio Public

    Low Overhead Numerical/Native IO library & tools

    Nim 34 2

  6. procs procs Public

    Unix process&system query&format lib&multi-command CLI in Nim

    Nim 20 2