Files missing from original commit
This commit is contained in:
parent
69314e946a
commit
d2983908ee
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -21,7 +21,7 @@ pom.xml.asc
|
||||||
.calva/
|
.calva/
|
||||||
.idea/
|
.idea/
|
||||||
*~
|
*~
|
||||||
|
list_audio.*
|
||||||
|
|
||||||
.calva/output-window/output.calva-repl
|
.calva/output-window/output.calva-repl
|
||||||
|
|
||||||
|
|
12
project.clj
Normal file
12
project.clj
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
(defproject muharni "0.1.0-SNAPSHOT"
|
||||||
|
:description "Format a web page for students of muharni"
|
||||||
|
:url "https://www.journeyman.cc/muharni/"
|
||||||
|
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
|
||||||
|
:url "https://www.eclipse.org/legal/epl-2.0/"}
|
||||||
|
:dependencies [[org.clojure/clojure "1.10.3"]
|
||||||
|
[clj-http "3.12.3"]
|
||||||
|
[enlive "1.1.6"]
|
||||||
|
[hiccup "1.0.5"]
|
||||||
|
[hickory "0.7.1"]
|
||||||
|
[com.github.jtidy/jtidy "1.0.2"]]
|
||||||
|
:repl-options {:init-ns muharni.construct})
|
12
src/sh/format-chars.awk
Normal file
12
src/sh/format-chars.awk
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/usr/bin/awk -f
|
||||||
|
|
||||||
|
# Hackery to format the data structure for the entries.
|
||||||
|
|
||||||
|
BEGIN {printf( "[[ "); COL=0;}
|
||||||
|
{printf( "\"%s\" ", $1);
|
||||||
|
COL++;
|
||||||
|
if (COL == 12) {
|
||||||
|
COL=0;
|
||||||
|
printf(" ]\n[ ");
|
||||||
|
}}
|
||||||
|
END {print( " ]]");}
|
Loading…
Reference in a new issue