Skip to content

Instantly share code, notes, and snippets.

<item>
{{^metadata.micro}}<title><![CDATA[ {{{metadata.icon}}} {{{title}}} ]]></title>{{/metadata.micro}}
<link>{{{blogURL}}}{{url}}</link>
<guid>{{{blogURL}}}{{url}}</guid>
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ Jack Baty ]]></dc:creator>
<description><![CDATA[ {{{body}}} ]]></description>
</item>

Org Mode

Packages

(require 'org-devonthink)
(require 'org-mailmate)
(require 'org-thebrain)

Configuration

server {
server_name rudimentarylathe.org www.rudimentarylathe.org;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
@jackbaty
jackbaty / floating-images-plugin-json
Created March 5, 2019 17:26
Floating Image plugin for TiddlyWiki by PMario
[
{
"created": "20150320130633774",
"text": ".image-float-right {\n float: right;\n text-align: center;\n padding: 0.5em 0 1em 1em;\n}\n\n.image-float-left {\n float: left;\n text-align: center;\n padding: 0.5em 1em 1em 0;\n}\n\n.image-center {\n margin-left: auto;\n margin-right: auto;\n text-align:center;\n}\n\n.image-text:after,\n.clearfix:after {\n content: \"\";\n display: table;\n clear: both;\n}",
"title": "floating-image-css",
"tags": "$:/tags/Stylesheet floating-images",
"modified": "20150320150525854",
"type": "text/plain"
},
{
@jackbaty
jackbaty / head.js
Created August 1, 2018 20:55
jQuery in document head
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
@jackbaty
jackbaty / webmentions.js
Last active December 4, 2018 14:27
webmentions.js
!function() {
var t = "https://webmention.io/api/mentions",
a = $("hr.full");
if (1 === a.length) {
var e = $.ajax(t, {
data: {
target: "https://www.baty.blog" + location.pathname
}
}),
n = function(t) {
@jackbaty
jackbaty / gist:2038ceba3c978623c7b000cf5ade213e
Last active February 8, 2018 14:51
Mail->TODO Capture Template (Mu4e)
(setq org-capture-templates
'(("t" "Todo to Inbox" entry
(file+headline "~/Dropbox/org/inbox.org" "Inbox")
"* TODO %? \n %i\n")
("T" "Add a Tickler" entry
(file+headline "~/Dropbox/org/tickler.org" "Tickler")
"* %?\n%u")
("c" "Todo and Clock In" entry
(file+headline "~/Dropbox/org/inbox.org" "Inbox")
"* TODO %? \n %i\n" :clock-in t :clock-keep t)
@jackbaty
jackbaty / mu4e-config-emacs
Created February 6, 2018 16:33
My mail (mu4e) configuration section of .spacemacs
;; Mu4e ------------------------------------------------------------------------
;; Mail Mu4e
(require 'org-mu4e)
(setq mu4e-maildir "~/Mail")
(setq mu4e-user-mail-address-list '("jack@fusionary.com" "jack@baty.net") )
;;store link to message if in header view if nil - header query if t
(setq org-mu4e-link-query-in-headers-mode t)
@jackbaty
jackbaty / .vimrc
Created October 21, 2017 13:02
.vimrc as of 2017-10-21
" My current .vimrc file
" Jack Baty
" jack@baty.net
" Environment
set nocompatible " We don't want vi compatibility.
filetype off " still needed?
set shell=/bin/bash\ -i

Keybase proof

I hereby claim:

  • I am jackbaty on github.
  • I am jackbaty (https://keybase.io/jackbaty) on keybase.
  • I have a public key ASD-sVCAQoAJCggkq8eXyUItLx_JyDXAY5YTQW1cKfwRjQo

To claim this, I am signing this object: