Browse Source

hope this works

master
Thorn Avery 5 years ago
parent
commit
2c15480c7e
12 changed files with 180 additions and 4 deletions
  1. +1
    -0
      .gitignore
  2. +14
    -0
      README.md
  3. +0
    -0
      cabal.nix
  4. +1
    -2
      contact.md
  5. +0
    -0
      default.nix
  6. +42
    -0
      notNixOSrfg.sh
  7. +42
    -0
      posts/breach.md
  8. +37
    -0
      posts/losing.md
  9. +0
    -0
      prog/narco-algorithms.md
  10. +0
    -2
      rf.nix
  11. +42
    -0
      rfg.sh
  12. +1
    -0
      shell.nix

+ 1
- 0
.gitignore View File

@@ -24,3 +24,4 @@ _site/
_cache/ _cache/
Makefile Makefile
result result
gopherhole

+ 14
- 0
README.md View File

@@ -50,6 +50,20 @@ The site will now be avaliable at `localhost:8000`


Site will be completely static, so simply point your server to the `_site` directory Site will be completely static, so simply point your server to the `_site` directory


if you edit the values in [rfg.sh](rfg.sh) or [notNixOSrfg.sh](notNixOSrfg.sh) to point to your git repo, you can run;

```
nix-shell --pure --run "./rfg.sh"
```
or
```
nix-shell --pure --run "./notNixOSrfg.sh"
```

to automatically build up upload a gopher mirror, such as to work with [lain.church](https://lain.church)

this will also build the http site

## Built With ## Built With


* [Hakyll](https://jaspervdj.be) - The web framework used * [Hakyll](https://jaspervdj.be) - The web framework used


+ 0
- 0
cabal.nix View File


+ 1
- 2
contact.md View File

@@ -7,7 +7,7 @@ title: Contact
* add me on xmpp at `ta@serverchan.club` * add me on xmpp at `ta@serverchan.club`
* come chill at `#scoots` on ServerChan ~ `irc.serverchan.club` port `6697` with SSL) * come chill at `#scoots` on ServerChan ~ `irc.serverchan.club` port `6697` with SSL)
* if you see a `tA`, `techieAgnostic` or anything in the form of `t*A*` online its probably me * if you see a `tA`, `techieAgnostic` or anything in the form of `t*A*` online its probably me
* if you're an [urbit](https://urbit.org) i'm occasionally on as `~bannum-magtus` or `~sicbud-hathes`
* if you're an [urbit](https://urbit.org) i'm occasionally on as `~bannum-magtus`


## omemo fingerprints ## omemo fingerprints


@@ -19,5 +19,4 @@ E99F238B EC355B83 EEA7922A 920855F2 B7390E81 D1C72C57 E8BAB8EC 7AF0166F
532BEF79 E6B9B04E 42A50909 8468C2AB 42F6CC1E 2ECA6085 74F75AAA E26E5946 532BEF79 E6B9B04E 42A50909 8468C2AB 42F6CC1E 2ECA6085 74F75AAA E26E5946
1107BF5B FFFF0C84 EA9D9916 29D3B6D7 9D2AEBC8 597404F2 DE5DA1A5 13BD9E3D 1107BF5B FFFF0C84 EA9D9916 29D3B6D7 9D2AEBC8 597404F2 DE5DA1A5 13BD9E3D
777FD250 D024B3F6 D0D007E9 EBE2D4E9 BA440B76 08832B71 12E02283 B5B54331 777FD250 D024B3F6 D0D007E9 EBE2D4E9 BA440B76 08832B71 12E02283 B5B54331
B663E73E 83C662E9 92E51422 129F3158 2A6D075E 98190FB8 C19853B4 1C930448
``` ```

+ 0
- 0
default.nix View File


+ 42
- 0
notNixOSrfg.sh View File

@@ -0,0 +1,42 @@
#!/bin/bash

set -e
./result/bin/site rebuild
if ! [ -d gopherhole ]; then
mkdir gopherhole
fi
cd gopherhole
if ! [ -d .git ]; then
git init
echo "_gopherhole/" >> .gitignore
echo ".gitignore" >> .gitignore
git remote add origin "git@git.lain.church:/tA/gopherhole.git"
fi
if [ -d "_gopherhole" ]; then
rm -rf "_gopherhole"
fi
cp -r "../posts/" "_gopherhole"
if test -n "$(find ./ -maxdepth 1 -name '*.txt' -print -quit)"; then
rm *.txt
fi
cd "_gopherhole"
for f in ./*.md; do
g=$(basename "$f" .md)
t=$(sed '3q;d' "${f}" | cut -d ' ' -f 2)
n="${t}-${g}.txt"
title=$(sed '2q;d' "${f}" | cut -d ' ' -f2-)
echo "# ${title}" > "../${n}"
tail -n +5 "${f}" >> "../${n}"
done
for f in ../../*.md; do
g=$(basename "$f" .md)
[[ $g =~ ^(ChangeLog|README|index)$ ]] && continue
n="0001-$g.txt"
title=$(sed '2q;d' "${f}" | cut -d ' ' -f2-)
echo "# ${title}" > "../${n}"
tail -n +4 "${f}" >> "../${n}"
done
cd ../
git add .
git commit -m "$(date +%s)"
git push -u origin master

+ 42
- 0
posts/breach.md View File

@@ -0,0 +1,42 @@
---
title: Breach
published: 2019-02-27
---

i sit at my laptop, my *companion* my *friend*

looking out over my **domain**, the world is on fire

the ***moons*** are crumbling, the ***stars*** are dying

i pack my things, the things i *like*, the things i *need*

with an aura of regret, i crawl into a ***comet***

and set my way to the ***stars***, distant, yet bright

sending out **signals** as i go

> im here, im alive

a desperate attempt at making *contact*

i travel, *alone*, *silent*, until i recieve something back

> we’re here, we’re alive

a blinding blue **vortex** appears in front of me

*painless* and *calm*, it engulfs my small ***comet***

i land on my ***planet***, shiny and new

and send a **message** to the ***stars***

> im home

another ***breach***, theyre only getting *easier*

the **future** is here

`:wq`

+ 37
- 0
posts/losing.md View File

@@ -0,0 +1,37 @@
---
title: Losing
published: 2019-03-05
---

> losing something is finding something else

sometimes things are **hard**, everythings just so damn **tough** and it feels like theres nothing you can do about it.

you think back to all the things you lost, everything you let *slip* through your phalanges, everything you werent or arent good enough to get, and you know what?

it doesnt matter
because losing *something*, **anything** is just a chance to find something ***else***, to open up a new door, to expand.

theres always some little thing to be happy about, and if there isnt, it just means youre in the middle of finding something new!

and then you gotta start sending positive *vibrations* out to the world so that maybe youll help someone else find something else too

## be excellent to each other

compliment your pals, put up with to make up for having to put up with you, and then thats something new to be happy about, even if its only for a bit.

talk to everybody! its pretty scary sometimes, but being scared every now and then is good, its just a wider range of emotions to feel, because expressing emotions is actually pretty important, and not experiencing different feelings is harmful to the *soul*.

## and you!

even if nothings going your way, that just means youre doing a ***super*** job of keeping your cool in between new things, and thats something to be proud of.

pretty much every superhero has an **evil** arc, or become morally grey, everyone has their down points, but no matter how bad you think youre doing, just by virtue of being alive it means youre holding out pretty well.

## seeya!

communication complete, hope these bits safe travel and that they make it to you in tact. if youre ever lonely, part of my mind lives on in the warmth where these bits once passed, the ghost in the machine.

a pal in the wired.

`:wq`

+ 0
- 0
prog/narco-algorithms.md View File


+ 0
- 2
rf.nix View File

@@ -19,6 +19,4 @@ in
rec { rec {
inherit pkgs; inherit pkgs;
rf = pkgs.haskellPackages.rf; rf = pkgs.haskellPackages.rf;
rfBuilt = pkgs.runCommand { buildInputs = [rf]; }
"mkdir $out; cd $out; touch TEST; site rebuild";
} }

+ 42
- 0
rfg.sh View File

@@ -0,0 +1,42 @@
#!/run/current-system/sw/bin/bash

set -e
./result/bin/site rebuild
if ! [ -d gopherhole ]; then
mkdir gopherhole
fi
cd gopherhole
if ! [ -d .git ]; then
git init
echo "_gopherhole/" >> .gitignore
echo ".gitignore" >> .gitignore
git remote add origin "git@git.lain.church:/tA/gopherhole.git"
fi
if [ -d "_gopherhole" ]; then
rm -rf "_gopherhole"
fi
cp -r "../posts/" "_gopherhole"
if test -n "$(find ./ -maxdepth 1 -name '*.txt' -print -quit)"; then
rm *.txt
fi
cd "_gopherhole"
for f in ./*.md; do
g=$(basename "$f" .md)
t=$(sed '3q;d' "${f}" | cut -d ' ' -f 2)
n="${t}-${g}.txt"
title=$(sed '2q;d' "${f}" | cut -d ' ' -f2-)
echo "# ${title}" > "../${n}"
tail -n +5 "${f}" >> "../${n}"
done
for f in ../../*.md; do
g=$(basename "$f" .md)
[[ $g =~ ^(ChangeLog|README|index)$ ]] && continue
n="0001-$g.txt"
title=$(sed '2q;d' "${f}" | cut -d ' ' -f2-)
echo "# ${title}" > "../${n}"
tail -n +4 "${f}" >> "../${n}"
done
cd ../
git add .
git commit -m "$(date +%s)"
git push -u origin master

+ 1
- 0
shell.nix View File

@@ -5,5 +5,6 @@ in
buildInputs = drv.buildInputs ++ [ buildInputs = drv.buildInputs ++ [
stuff.pkgs.imagemagick stuff.pkgs.imagemagick
stuff.pkgs.inconsolata stuff.pkgs.inconsolata
stuff.pkgs.git
]; ];
}) })

Loading…
Cancel
Save