forked from nat/natalieee.net
Compare commits
6 Commits
de34c5922c
...
main
Author | SHA1 | Date | |
---|---|---|---|
8f74c522d7 | |||
6fcfa782b9 | |||
24f44ec093 | |||
adb7f61436 | |||
b18faec312 | |||
7432f2e77d |
@ -11,7 +11,7 @@
|
||||
with pkgs;
|
||||
{
|
||||
devShells.x86_64-linux.default = mkShell {
|
||||
buildInputs = with python3Packages; [
|
||||
buildInputs = with python312Packages; [
|
||||
hy
|
||||
(buildPythonPackage rec {
|
||||
pname = "hyrule";
|
||||
@ -29,6 +29,9 @@
|
||||
];
|
||||
})
|
||||
bleach
|
||||
pyaml
|
||||
requests
|
||||
requests_toolbelt
|
||||
validators
|
||||
];
|
||||
};
|
||||
|
@ -1,3 +1,7 @@
|
||||
hy>=1
|
||||
hyrule>=1
|
||||
bleach>=6.2.0
|
||||
pyaml>=25.1.0
|
||||
requests>=2.32.3
|
||||
requests-toolbelt>=1
|
||||
validators>=0.34.0
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
(defn execute-bash [data]
|
||||
(sub r"\$\[(.*?)\]" (fn [sequence]
|
||||
(. (check-output (.group sequence 1) :shell True :executable "/bin/bash" :env hy-env) (decode) (strip)))
|
||||
(. (check-output (.group sequence 1) :shell True :executable "bash" :env hy-env) (decode) (strip)))
|
||||
data))
|
||||
|
||||
(defn parse-html-file [path #** kwargs]
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
mkdir data
|
||||
(cd src; hy build.hy)
|
||||
rm -rf site/html
|
||||
|
BIN
www/src/assets/88x31/it-its.png
Normal file
BIN
www/src/assets/88x31/it-its.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
BIN
www/src/assets/88x31/not-a-person.png
Normal file
BIN
www/src/assets/88x31/not-a-person.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 900 B |
BIN
www/src/assets/88x31/this-machine-kills-fascists.png
Normal file
BIN
www/src/assets/88x31/this-machine-kills-fascists.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
@ -71,3 +71,12 @@ specific:
|
||||
general:
|
||||
- src: assets/88x31/e2vial-88x31.gif
|
||||
alt: an estrogen vial spinning next to the text "powered by estrogen"
|
||||
|
||||
- src: assets/88x31/it-its.png
|
||||
alt: it/its
|
||||
|
||||
- src: assets/88x31/not-a-person.png
|
||||
alt: not a person
|
||||
|
||||
- src: assets/88x31/this-machine-kills-fascists.png
|
||||
alt: this machine kills fascists
|
||||
|
@ -8,4 +8,4 @@
|
||||
(setv env hy-env)
|
||||
(setv (get env "PATH") (+ (get hy-env "PATH") ":./scripts"))
|
||||
|
||||
(print (sub r"\$\[(.*?)\]" (fn [sequence] (. (check-output (.group sequence 1) :shell True :executable "/bin/bash" :env env) (decode) (strip))) (with [fp (open (get argv 1) "r")] (.read fp))))
|
||||
(print (sub r"\$\[(.*?)\]" (fn [sequence] (. (check-output (.group sequence 1) :shell True :executable "bash" :env env) (decode) (strip))) (with [fp (open (get argv 1) "r")] (.read fp))))
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
path=$1
|
||||
caption=$2
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
tmpfile=$(mktemp)
|
||||
|
||||
timeout 0.6s nvim "$1" -c "set nonu | set nornu" -c "autocmd LspAttach * execute 'TOhtml | w! ${tmpfile} | qa!'" >/dev/null || nvim "$1" -c "set nonu | set nornu" -c "TOhtml | w! ${tmpfile} | qa!" >/dev/null
|
||||
|
Reference in New Issue
Block a user