Name. | What |
---|---|
_dotvimrc | vim config file |
_dotbashrc | bash config file |
ell | shell config boot file |
Config | Files |
---|---|
editors | nanorc :: vimrc |
utils | docco css :: a2ps syntact file for LUA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- example of function returning a table of names we want to import | |
function fun1() print(1) end | |
function fun2() print(2) end | |
function fun3() print(3) end | |
function fun4() print(4) end | |
function fun5() print(5) end | |
return {fun3=fun3, fun1=fun1, fun2=fun2, funs5=fun5, fun4=fun4} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Name: | |
there.py : learn how to change, for the better | |
Version: | |
0.2 | |
Usage: | |
there [options] |
this code contains a tiny, but devistating, error. In Row.__lt__
, the code never uses information from
the other row so the lsit coems back in almost the same order as it started in.
For the fixed system see https://github.com/txt/sin21/blob/main/docs/hw5.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun argv () sb-ext:*posix-argv*) | |
(defmacro while (expr &body body) | |
`(do ((now ,expr ,expr)) ((not now)) ,@body)) | |
(defun deepcopy (x) | |
(if (atom x) x (mapcar #'deepcopy x))) | |
(defun cli (flags &key | |
(help "help") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# vim: ts=2 sw=2 sts=2 et tw=81: | |
# Succinct CLI tool that uses from function name, docstring, and default args. | |
# (c) 2021 Tim Menzies <timm@ieee.org>, MIT License | |
import inspect | |
import argparse as arg | |
def cli(f): | |
def details(x,txt): | |
isa, a = isinstance, None |