summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2012-09-10 01:25:37 +0200
committerbnewbold <bnewbold@robocracy.org>2012-09-10 01:25:37 +0200
commitd3a3d8b63cdeb5d6a8d3a098a1d80e6531d309f3 (patch)
treec46abcb86af4f35cc2e29fc1fb4c7e7c80a5a645
parent3fb86d09b99ef155e4b64e77547ed5f43da5e209 (diff)
downloadknowledge-d3a3d8b63cdeb5d6a8d3a098a1d80e6531d309f3.tar.gz
knowledge-d3a3d8b63cdeb5d6a8d3a098a1d80e6531d309f3.zip
backup of notes
-rw-r--r--software/android.page4
-rw-r--r--software/email.page46
-rw-r--r--software/misc.page2
-rw-r--r--software/pagekite.page2
-rw-r--r--software/unix-tricks.page4
5 files changed, 50 insertions, 8 deletions
diff --git a/software/android.page b/software/android.page
index a5f1576..bcf0ebf 100644
--- a/software/android.page
+++ b/software/android.page
@@ -35,3 +35,7 @@ be done [from the command line](http://nelenkov.blogspot.com/2012/08/changing-an
$ su -c "vdc cryptfs changepw <newpass>"
+# Reference
+
+A full set of instructions for the Galaxy Nexus are
+[here](http://pof.eslack.org/2012/07/30/fortifying-a-galaxy-nexus-with-stock-ish-image-and-root-access/).
diff --git a/software/email.page b/software/email.page
index cf3d2fc..c26c009 100644
--- a/software/email.page
+++ b/software/email.page
@@ -1,19 +1,51 @@
-
Laptop Setup
---------------
-alpine via IMAP. All messages stored and searched server-side. When offline,
-use smartphone to reference recent emails, or export specific emails to read as
-a text file. Edit new messages using vim to be pasted in and sent when
-reconnected.
+offlineimap synchronization to maildir, notmuch indexing, mutt-kr client.
+
+What I want when online:
+
+- instant (<1 seconds) email send
+- with MUA open, instant (<1 seconds) email receive (IMAP IDLE)
+- with MUA closed, regular (15 minute) imap synchronization, and single command
+ to quickly synchronize and send any queued messages
+
+What I want when offline:
+
+- full email archive to search over, sort, reply, etc
+- cache send messages to an outbox folder, to be sent later (or deleted before
+ connecting)
+
+Compile mutt-kr:
+
+ $ sudo aptitude install offlineimap notmuch libgpgme11-dev libnotmuch-dev \
+ libsasl2-dev libdb-dev
+ $ # in mutt-kr checkout:
+ $ ./prepare
+ $ ./configure --enable-dependency-tracking --enable-notmuch \
+ --enable-gpgme --enable-hcache --enable-imap --enable-smtp \
+ --with-ssl --with-gnutls --with-sasl --with-curses --with-regex
+
+Install and configure offlineimap:
+
+ $ sudo aptitude install offlineimap
+
+Fetch cacert [a la](http://docs.offlineimap.org/en/latest/FAQ.html#how-do-i-generate-an-sslcacertfile-file):
+
+ $ openssl s_client -CApath /etc/ssl/certs -connect ${hostname}:imaps -showcerts \
+ | perl -ne 'print if /BEGIN/../END/; print STDERR if /return/' > $sslcacertfile
+ ^D
+ $ # copy resulting file to /etc/ssl/certs
+ $ # test with:
+ $ openssl s_client -CAfile $sslcacertfile -connect ${hostname}:imaps 2>&1 </dev/null
-GPG integration with ez-pine-gpg.
+TODO: use notmuch-mutt package
Android Setup
---------------
-K-9 mail client.
+K-9 mail client. No GPG configured.
Server Setup
---------------
diff --git a/software/misc.page b/software/misc.page
index 9639437..84c9066 100644
--- a/software/misc.page
+++ b/software/misc.page
@@ -64,6 +64,8 @@ PHP Problems
[PHP: A fractal of bad design](http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/)
+[PHP Sucks but it doesn't matter](http://www.codinghorror.com/blog/2008/05/php-sucks-but-it-doesnt-matter.html)
+
LISP Visualization
------------------
Nested boxes instead of nested parens: http://pretty-lisp.org/
diff --git a/software/pagekite.page b/software/pagekite.page
index 2f46883..bfd9c29 100644
--- a/software/pagekite.page
+++ b/software/pagekite.page
@@ -1,6 +1,6 @@
Below is a very simple "self-hosted" PageKite front end setup, for use when
-default ports are taken.
+default ports are taken. The good docs are in PageKite's [github repo](https://github.com/pagekite/PyPagekite/tree/main/doc).
On the front end (globally accessible server with wildcard DNS), edit
``~/.pagekite.rc`` and then run ``pagekite`` as any user:
diff --git a/software/unix-tricks.page b/software/unix-tricks.page
index 293045e..62c9ebf 100644
--- a/software/unix-tricks.page
+++ b/software/unix-tricks.page
@@ -59,3 +59,7 @@ etc.
OpenSSL Primes
-----------------
See if a number is prime with ``openssl prime 2011``.
+
+SSH Tunnel
+------------
+Try [autossh](http://www.harding.motd.ca/autossh/) to keep tunnels open.