This file contains hidden or 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
| --[==[ | |
| Calculations for Hebrew dates and temporal hours (for WatchMaker). | |
| Calendar math from Edward M. Dershowitz and Nachum Reingold, | |
| see http://emr.cs.uiuc.edu/~reingold/calendar-book/index.html | |
| Translated into Lua from emacs-lisp by Mark Shoulson, mark@shoulson.com | |
| The MIT License (MIT) | |
| Copyright (c) 2015 Mark E. Shoulson |
This file contains hidden or 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
| --[==[ | |
| Calculations for the Islamic Calendar (for WatchMaker) | |
| Calendar math from Edward M. Dershowitz and Nachum Reingold, | |
| see http://emr.cs.uiuc.edu/~reingold/calendar-book/index.html | |
| Translated into Lua from emacs-lisp by Mark Shoulson, mark@shoulson.com | |
| The MIT License (MIT) | |
| Copyright (c) 2015 Mark E. Shoulson |
This file contains hidden or 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
| ;;; org-pop.el --- Allow popping back up from a sublevel without a heading -*- lexical-binding: t -*- | |
| ;; Author: Mark Shoulson <mark@shoulson.com> | |
| ;; Url: XXXXXX | |
| ;; Package-Version: XXXX | |
| ;; Version: 0.01 | |
| ;; Package-Requires: ((emacs "24.4") (org "8.3.5")) | |
| ;; Keywords: hypermedia, outlines, Org | |
| ;;; Commentary: |
This file contains hidden or 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
| ;; Someone needs to lock me up... | |
| (defun org-conceal-emph-pairs (limit) | |
| (save-excursion | |
| (org-conceal-pairs limit org-verbatim-re)) | |
| (org-conceal-pairs limit org-emph-re) | |
| ) | |
| (defconst org-conceal-vp-scale 0.7) ; as if scaling were a good idea. | |
| (defconst org-conceal-distance 7) |
This file contains hidden or 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 | |
| # Motivation: browse the "boards" created by InvokeAI as if they were subdirectories. | |
| # To extend: do better than that. Basically, this is the idea: | |
| # - root/ | |
| # - UNSORTED | |
| # - models | |
| # - <model name1> | |
| # - <"hashed" prompt1> |
This file contains hidden or 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 | |
| # Basically a form of treeprint that prints out in a format accessible as | |
| # MacOS DefaultKeyBinding.dict file. | |
| # Still buggy, see XXXXs below. Result will want some hand-editing. | |
| from readcompose import readcomposefiles | |
| import re |
This file contains hidden or 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
| import fileinput | |
| import re | |
| def processline(line): | |
| name = [] | |
| comments = '' | |
| startpos=0 | |
| while True: | |
| m=re.match("\\s*<(\\w+)>",line[startpos:]) |
OlderNewer