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
| --- | |
| name: simple-made-easy | |
| description: | | |
| Simplify a plan, ADR, spec, or design doc by disentangling it — the way | |
| Rich Hickey's "Simple Made Easy" means simple: one fold, un-braided, not | |
| "familiar" or "fewer files." Diagnoses where the design complects | |
| independent concerns, then rewrites it so each concern hangs straight down. | |
| Use when asked to "simplify this plan/ADR/spec", "de-complect this design", | |
| "make this design simpler", or given a plan doc to untangle. This operates on | |
| DESIGN DOCUMENTS, not code diffs — for code use /simplify or /refactor. |
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 ruby | |
| if ['-h', '--help', 'help', '--help'].include? ARGV.first | |
| puts "./git-summary <git-dir-1> <git-dir-n>" | |
| exit | |
| end | |
| git_cmd = 'git log --since="1 week ago" --author=`whoami` --branches=master --format="%s" --no-merges' | |
| dirs = ARGV.to_a |
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
| # Q1 | |
| input = 'FourscoreandsevenyearsagoourfaathersbroughtforthonthiscontainentanewnationconceivedinzLibertyanddedicatedtothepropositionthatallmenarecreatedequalNowweareengagedinagreahtcivilwartestingwhetherthatnaptionoranynartionsoconceivedandsodedicatedcanlongendureWeareqmetonagreatbattlefiemldoftzhatwarWehavecometodedicpateaportionofthatfieldasafinalrestingplaceforthosewhoheregavetheirlivesthatthatnationmightliveItisaltogetherfangandproperthatweshoulddothisButinalargersensewecannotdedicatewecannotconsecratewecannothallowthisgroundThebravelmenlivinganddeadwhostruggledherehaveconsecrateditfaraboveourpoorponwertoaddordetractTgheworldadswfilllittlenotlenorlongrememberwhatwesayherebutitcanneverforgetwhattheydidhereItisforusthelivingrathertobededicatedheretotheulnfinishedworkwhichtheywhofoughtherehavethusfarsonoblyadvancedItisratherforustobeherededicatedtothegreattdafskremainingbeforeusthatfromthesehonoreddeadwetakeincreaseddevotiontothatcauseforwhichtheygavethelastpfullmeasureofdevotionthatweherehighlyresolveth |