Mostly it was pretty easy 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
Then I made a new letsencrypt cert: Then I grabbed and installed openid Edited the I also made a virtualserver: openid.tylercipriani.com Identity file: The things that I didn't understand about Ikiwiki: 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 From there, just need to add a bit of magic to the
Install urlview: ncurses program parses urls out of text. Create a Bind Searching works really well via Afer install, setup via After setup, it's just a matter of calling to index the thingsLinks
configure.ac
AC_INIT
macro—needs name,
version, maintainerAM_INIT_AUTOMAKE
AC_PROG_CC
Makefile
from Makefile.in
, replaces
@PACKAGE_VERSION@
-type variables:
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
AC_INIT([hello-world], [0.1], [tyler@tylercipriani.com])
# Initialize automake
AM_INIT_AUTOMAKE
# Ensure C-compiler exists
AC_PROG_CC
# Specify what files are to be created
AC_CONFIG_FILES([Makefile]) AC_OUTPUT
Makefile.am
./configure
script (created by
configure.ac
), expects to find
Makefile.in
Makefile.in
is long and dumb (just like
./configure
), so we make a Makefile.am
automake
generates Makefile.in
foreign
AUTOMAKEOPTIONS tells that the
layout is "non standard"AUTOMAKE_OPTIONS = foreign
bin_PROGRAMS = hello-world
hello-world_SOURCES = hello-world.c
Put it all together:
aclocal
autoconf
does: configure.ac
→
configure
automake --add-missing
does: Makefile.am
→
Makefile.in
autoreconf --install
: autoreconf runs autoconf,
autoheader, aclocal, automake, libtoolize, and autopointInstall
tar xvzf ikiwiki_3.20160121.tar.gz
cd ikiwiki_3.20160121
sudo PERL5LIB=`pwd` PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'CPAN::Shell->install("Bundle::IkiWiki")'
sudo PERL5LIB=`pwd` PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'CPAN::Shell->install("Bundle::IkiWiki::Extras")'
make
sudo make install
OpenID Setup
Ikiwiki requires an OpenID setup.openid.tylercipriani.com
so letsencrypt would work./usr/local/src/letsencrypt/letsencrypt-auto certonly --standalone -d openid.tylercipriani.com
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}
config.php
file, changed root webserver and
the pretty url thingthcipriani.identity
identity="https://tylercipriani.com/"
password="blah:sha1:salt"
administrator=1
[user_info]
...
[sreg]
...
Blog setup
git_wrapper
updates) require you to run ikiwiki --changesetup [setupfile]
Contacts
sudo pip2 install -U goobook
(ノ^ヮ^)ノ*:・゚✧ sudo pip2 install -U pyasn1
(ノ^ヮ^)ノ*:・゚✧ sudo pip2 install -U cryptography
goobook authenticate
query
(ノ^ヮ^)ノ*:・゚✧ goobook query tyler
thcipriani@gmail.com Tyler Cipriani other groups: "System Group: Friends"
~/.muttrc
fileset query_command="goobook query %s"
macro index,pager a \
"<pipe-message>goobook add<return>" "add sender to google contacts"
bind editor <Tab> complete-query
Viewing URLs
$HOME/urlview
file:COMMAND xdg-open %s &
\,u
in the editor:macro pager ,u "|urlview<enter>" "call urlview to open links"
Searching Mail
notmuch
notmuch setup
notmuch new
Posted
Posted
Posted