commit e8555679a75a6d92b34052d131f461cde13fbc68 Author: NunoSempere Date: Sat Jul 27 18:37:49 2024 -0400 start keeping track in git directory diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1939b9d --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +html +html/ +html/** + +repos +repos/ +repos/** diff --git a/logo-circle.png b/logo-circle.png new file mode 100644 index 0000000..ff0d5ef Binary files /dev/null and b/logo-circle.png differ diff --git a/logo.jpg b/logo.jpg new file mode 100644 index 0000000..ac6d286 Binary files /dev/null and b/logo.jpg differ diff --git a/logo.png b/logo.png new file mode 100644 index 0000000..f4e35f2 Binary files /dev/null and b/logo.png differ diff --git a/makefile b/makefile new file mode 100644 index 0000000..061f063 --- /dev/null +++ b/makefile @@ -0,0 +1,158 @@ +#!/bin/bash + +# repos I still love and am proud of +repos: + rm -r repos + mkdir repos + cd repos && git clone https://github.com/NunoSempere/labeling + cd repos && git clone https://github.com/NunoSempere/longnow-for-markdown + cd repos && git clone https://github.com/NunoSempere/mumble + cd repos && git clone https://github.com/NunoSempere/nsnvm + cd repos && git clone https://github.com/NunoSempere/predict-resolve-tally + cd repos && git clone https://github.com/NunoSempere/reverse-shooting + cd repos && git clone https://github.com/NunoSempere/rosenrot-browser + cd repos && git clone https://github.com/NunoSempere/shapleyvalue.com + cd repos && git clone https://github.com/NunoSempere/time-to-botec + cd repos && git clone https://git.nunosempere.com/NunoSempere/2024-election-modelling + cd repos && git clone https://git.nunosempere.com/NunoSempere/fermi + cd repos && git clone https://git.nunosempere.com/open.source/pass-append + cd repos && git clone https://git.nunosempere.com/personal/lemarios + cd repos && git clone https://git.nunosempere.com/personal/pomo + cd repos && git clone https://git.nunosempere.com/personal/squiggle.c + cd repos && git clone https://git.nunosempere.com/personal/wc + +descriptions: + echo "A walking stick to Nate Silver's sportscar" > repos/2024-election-modelling/.git/description + echo "A minimalist calculator for estimating with distributions" > repos/fermi/.git/description + echo "Axis labeling algorithms for R, used in ggplot" > repos/labeling/.git/description + echo "Listas de palabras en español" > repos/lemarios/.git/description + echo "Take a markdown file and feed links to the internet archive" > repos/longnow-for-markdown/.git/description + echo "A Lisp written in C, following the *Build Your Own Lisp* book" > repos/mumble/.git/description + echo "Nuño's stupid node version manager, because nvm was too slow" > repos/nsnvm/.git/description + echo "An extension for pass" > repos/pass-append/.git/description + echo "A simple pomodoro timer" > repos/pomo/.git/description + echo "Predictions in 57 lines of code" > repos/predict-resolve-tally/.git/description + echo "Matlab scripts for reverse shooting" > repos/reverse-shooting/.git/description + echo "A hackable browser based on Webkitgtk" > repos/rosenrot-browser/.git/description + echo "Attribute value according to a parsimonious game theory solution" > repos/shapleyvalue.com/.git/description + echo "Self-contained Monte Carlo estimation in C99" > repos/squiggle.c/.git/description + echo "Benchmark sampling in different programming languages" > repos/time-to-botec/.git/description + echo "Count words in <50 lines of C" > repos/wc/.git/description + +owner: + echo NunoSempere > repos/2024-election-modelling/.git/owner + echo NunoSempere > repos/fermi/.git/owner + echo NunoSempere > repos/labeling/.git/owner + echo NunoSempere > repos/lemarios/.git/owner + echo NunoSempere > repos/longnow-for-markdown/.git/owner + echo NunoSempere > repos/mumble/.git/owner + echo NunoSempere > repos/nsnvm/.git/owner + echo NunoSempere > repos/pass-append/.git/owner + echo NunoSempere > repos/pomo/.git/owner + echo NunoSempere > repos/predict-resolve-tally/.git/owner + echo NunoSempere > repos/reverse-shooting/.git/owner + echo NunoSempere > repos/rosenrot-browser/.git/owner + echo NunoSempere > repos/shapleyvalue.com/.git/owner + echo NunoSempere > repos/squiggle.c/.git/owner + echo NunoSempere > repos/time-to-botec/.git/owner + echo NunoSempere > repos/wc/.git/owner + + +html: repos makefile + rm -r html + mkdir html + cd html && mkdir 2024-election-modelling && cd 2024-election-modelling && stagit ../../repos/2024-election-modelling + cd html && mkdir fermi && cd fermi && stagit ../../repos/fermi + cd html && mkdir labeling && cd labeling && stagit ../../repos/labeling + cd html && mkdir lemarios && cd lemarios && stagit ../../repos/lemarios + cd html && mkdir longnow-for-markdown && cd longnow-for-markdown && stagit ../../repos/longnow-for-markdown + cd html && mkdir mumble && cd mumble && stagit ../../repos/mumble + cd html && mkdir nsnvm && cd nsnvm && stagit ../../repos/nsnvm + cd html && mkdir pass-append && cd pass-append && stagit ../../repos/pass-append + cd html && mkdir pomo && cd pomo && stagit ../../repos/pomo + cd html && mkdir predict-resolve-tally && cd predict-resolve-tally && stagit ../../repos/predict-resolve-tally + cd html && mkdir reverse-shooting && cd reverse-shooting && stagit ../../repos/reverse-shooting + cd html && mkdir rosenrot-browser && cd rosenrot-browser && stagit ../../repos/rosenrot-browser + cd html && mkdir shapleyvalue.com && cd shapleyvalue.com && stagit ../../repos/shapleyvalue.com + cd html && mkdir squiggle.c && cd squiggle.c && stagit ../../repos/squiggle.c + cd html && mkdir time-to-botec && cd time-to-botec && stagit ../../repos/time-to-botec + cd html && mkdir wc && cd wc && stagit ../../repos/wc + +css: makefile + cp style.css html + cp style.css html/2024-election-modelling + cp style.css html/fermi + cp style.css html/labeling + cp style.css html/lemarios + cp style.css html/longnow-for-markdown + cp style.css html/mumble + cp style.css html/nsnvm + cp style.css html/pass-append + cp style.css html/pomo + cp style.css html/predict-resolve-tally + cp style.css html/reverse-shooting + cp style.css html/rosenrot-browser + cp style.css html/shapleyvalue.com + cp style.css html/squiggle.c + cp style.css html/time-to-botec + cp style.css html/wc + +logo: makefile + cp logo.png html + cp logo.png html/2024-election-modelling + cp logo.png html/fermi + cp logo.png html/labeling + cp logo.png html/lemarios + cp logo.png html/longnow-for-markdown + cp logo.png html/mumble + cp logo.png html/nsnvm + cp logo.png html/pass-append + cp logo.png html/pomo + cp logo.png html/predict-resolve-tally + cp logo.png html/reverse-shooting + cp logo.png html/rosenrot-browser + cp logo.png html/shapleyvalue.com + cp logo.png html/squiggle.c + cp logo.png html/time-to-botec + cp logo.png html/wc + +index: makefile + cd html && stagit-index ../repos/2024-election-modelling ../repos/fermi ../repos/labeling ../repos/lemarios ../repos/longnow-for-markdown ../repos/mumble ../repos/nsnvm ../repos/pass-append ../repos/pomo ../repos/predict-resolve-tally ../repos/reverse-shooting ../repos/rosenrot-browser ../repos/shapleyvalue.com ../repos/squiggle.c ../repos/time-to-botec ../repos/wc > index.html + +view: + rosenrot "file://$$(realpath html/index.html)" + +most: + make descriptions + make owner + make html + make css + make logo + make index + make view + +# Repos I have loved +# git clone https://github.com/NunoSempere/memo +# https://github.com/NunoSempere/Knuth-Morris-Pratt +# https://github.com/NunoSempere/Turing_Machine +# https://github.com/NunoSempere/LaborCapitalAndTheOptimalGrowthOfSocialMovements +# https://github.com/NunoSempere/german_pronoun +# https://github.com/NunoSempere/werc-1.5.0-tweaks +# https://github.com/NunoSempere/update_discord +# https://github.com/NunoSempere/nunosempere.com +# https://github.com/quantified-uncertainty/fit-beta +# NunOS? +# Target: 26 +# Metaforecast! +# Simple squiggle +# Forum frontend +# Forum snippets +# Utility function extractor? +# My .bashrc? Nope, has +# Server init? +# Open Phil funding? +# Stagit: A copy of the software powering this website +# Have loved, but don't want to make public +# Analyze-news +# Forum frontend +# nunosempere.com? diff --git a/notes.md b/notes.md new file mode 100644 index 0000000..820bf0d --- /dev/null +++ b/notes.md @@ -0,0 +1,13 @@ +https://codemadness.org/git/stagit/files.html + +css is also necessary + +Would also need a git server + +- [ ] Get initial scripts +- [ ] Figure out how to prettify &c +- [ ] Add until 26 repos? Be way less selective, more inclusive +- [ ] Host on NGINX + - Redirect index.html so that clicking on the logo works + - Edit the logo to be a circle +- [ ] Host a git server? diff --git a/style.css b/style.css new file mode 100644 index 0000000..a2ba187 --- /dev/null +++ b/style.css @@ -0,0 +1,154 @@ +body { + color: #000; + background-color: #fff; + font-family: monospace; +} + +h1, h2, h3, h4, h5, h6 { + font-size: 1em; + margin: 0; +} + +img, h1, h2 { + vertical-align: middle; +} + +img { + border: 0; +} + +a:target { + background-color: #ccc; +} + +a.d, +a.h, +a.i, +a.line { + text-decoration: none; +} + +#blob a { + color: #555; +} + +#blob a:hover { + color: blue; + text-decoration: none; +} + +table thead td { + font-weight: bold; +} + +table td { + padding: 0 0.4em; +} + +#content table td { + vertical-align: top; + white-space: nowrap; +} + +#branches tr:hover td, +#tags tr:hover td, +#index tr:hover td, +#log tr:hover td, +#files tr:hover td { + background-color: #eee; +} + +#index tr td:nth-child(2), +#tags tr td:nth-child(3), +#branches tr td:nth-child(3), +#log tr td:nth-child(2) { + white-space: normal; +} + +td.num { + text-align: right; +} + +.desc { + color: #555; +} + +hr { + border: 0; + border-top: 1px solid #555; + height: 1px; +} + +pre { + font-family: monospace; +} + +pre a.h { + color: #00a; +} + +.A, +span.i, +pre a.i { + color: #070; +} + +.D, +span.d, +pre a.d { + color: #e00; +} + +pre a.h:hover, +pre a.i:hover, +pre a.d:hover { + text-decoration: none; +} + +@media (prefers-color-scheme: dark) { + body { + background-color: #000; + color: #bdbdbd; + } + hr { + border-color: #222; + } + a { + color: #56c8ff; + } + a:target { + background-color: #222; + } + .desc { + color: #aaa; + } + #blob a { + color: #555; + } + #blob a:target { + color: #eee; + } + #blob a:hover { + color: #56c8ff; + } + pre a.h { + color: #00cdcd; + } + .A, + span.i, + pre a.i { + color: #00cd00; + } + .D, + span.d, + pre a.d { + color: #cd0000; + } + #branches tr:hover td, + #tags tr:hover td, + #index tr:hover td, + #log tr:hover td, + #files tr:hover td { + background-color: #111; + } +}