How to add posts to this here memex
First off, there's a new alias which will make it easier to add new posts:
bash
alias ma="${tool_dir_omitted}/bashblog/bb.sh post"
Now I can just type 'ma' whenever I have something useful to add, and boom, it gets added. Not sure if I should have a running daily draft? I'm not going to overthink this too early. Early optimization bites me in the butt way too often.
Also, I threw together a simple Makefile for publishing:
all: push_to_git
publish:make
@if git diff-index --quiet HEAD; then
rsync -rav --exclude-from=never_rsync_these_files.txt ./* talkingnerdy:$$(remote_dir_omitted);
else
git status;
echo 'You have uncommited changes. Take care of git first, then try again:';
false;
fi
push_to_git: publish
git push -u origin master
Something to note, the markdown parser I'm using isn't doing a good job of formatting code blocks. I may replace this eventually.
First post!
Here goes! The plan is to document what I work on by implementing the memex method. I always have a handful of projects going simultaneously, with the consequence that my documentation of these projects gets all jumbled together. My home directory is a horror show, and the various deadtree notebooks which scatter my desk are similarly jumbled. Hopefully I can commit to focusing my jumble in one spot here, so that I can easily find at least a reference to what I was working on in the past and find the thread. This is intended for me, but it might end up as a public sort of thing.