Links ¶
configure.ac
¶
- Written in m4sh (m4 + shell)
- Program initialization:
AC_INIT
macro—needs name, version, maintainer - Initialize automake:
AM_INIT_AUTOMAKE
- Make sure that C-compiler exists:
AC_PROG_CC
- Build
Makefile
fromMakefile.in
, replaces@PACKAGE_VERSION@
-type variables:AC_CONFIG_FILES([Makefile])
- Output the script:
AC_OUTPUT
Makefile.am
¶
- The
./configure
script (created byconfigure.ac
), expects to findMakefile.in
Makefile.in
is long and dumb (just like./configure
), so we make aMakefile.am
automake
generatesMakefile.in
foreign
AUTOMAKEOPTIONS tells that the layout is "non standard"
Put it all together: ¶
- create m4 environment:
aclocal
autoconf
does:configure.ac
→configure
automake --add-missing
does:Makefile.am
→Makefile.in
autoreconf --install
: autoreconf runs autoconf, autoheader, aclocal, automake, libtoolize, and autopoint
Install ¶
Mostly it was pretty easy
- Grabbed the tar from debian
- Followed install instructions from Ikiwiki's install page
OpenID Setup ¶
Ikiwiki requires an OpenID setup.
You can login to Ikiwiki with OpenID, and I think that's neat!
Since OpenID is somewhat dead, I decided to setup a personal SimpleID.
I put this all on the analytics server.
First I had to create a DNS record for openid.tylercipriani.com
so letsencrypt would work.
Then I made a new letsencrypt cert:
Then I grabbed and installed openid
cd /usr/local/src
curl -sLO http://downloads.sourceforge.net/simpleid/simpleid-1.0.1.tar.gz
tar xvzf simpleid-1.0.1.tar.gz
mkdir /srv/www/openid.tylercipriani.com
mv simpleid/{cache,identities,store,www} /srv/www/openid.tylercipriani.com
mv /srv/www/openid.tylercipriani.com/{config.php.dist,config.php}
Edited the config.php
file, changed root webserver and the pretty url thing
I also made a virtualserver: openid.tylercipriani.com
Identity file: thcipriani.identity
Blog setup ¶
The things that I didn't understand about Ikiwiki:
- htmlscrubber removes all your scripts
- Some changes to the setup file (like
git_wrapper
updates) require you to runikiwiki --changesetup [setupfile]
- I am running a staging wiki on my laptop, a wiki on my webserver, and then pushing the compiled files to s3: WAT‽
Contacts ¶
Install goobook:
I ran into some problems in arch, had to upgrade/reinstall a few deps:
goobook then needs to authenticate with gmail:
Once you go through the oauth song and dance you should be able to run a query
(ノ^ヮ^)ノ*:・゚✧ goobook query tyler
thcipriani@gmail.com Tyler Cipriani other groups: "System Group: Friends"
From there, just need to add a bit of magic to the ~/.muttrc
file
Viewing URLs ¶
Install urlview: ncurses program parses urls out of text.
Create a $HOME/urlview
file:
Bind \,u
in the editor:
Searching Mail ¶
Searching works really well via notmuch
Afer install, setup via
After setup, it's just a matter of calling
to index the things