(require 'org-devonthink)
(require 'org-mailmate)
(require 'org-thebrain)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"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" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copied and modified from someone's (Anne-Laure Le Cunff?) Roam bookmarklet | |
javascript:(function(){let sel=document.getSelection();let selText="";const reference=`[[${location.href}][${document.title}]] `;const%20selectedRanges=[];if(sel.rangeCount>1){selText=reference+"\n";for(let%20i=0;i<sel.rangeCount;i+=1){selText+=`\t/${sel.getRangeAt(i).toString().trim()}/%20\n`;selectedRanges.push(sel.getRangeAt(i))}}else{selText=sel.toString().trim();if(selText.length){selectedRanges.push(sel.getRangeAt(0));selText=`/${%20selText%20}/%20via%20`}selText+=reference}const%20ta=document.createElement("textarea");ta.textContent=`${%20selText%20}`;document.body.appendChild(ta);const%20docSel=document.getSelection();docSel.removeAllRanges();ta.select();document.execCommand("copy");docSel.removeAllRanges();document.body.removeChild(ta);let%20newSel=document.getSelection();for(let%20i=0;i<selectedRanges.length;i+=1){newSel.addRange(selectedRanges[i])}let%20toaster=document.createElement("div");toaster.innerHTML=`Copied!`;toast |
To install in Firefox:
-
If it doesn't already exist, create a folder called
chrome
in your profile folder. The easiest way to find your profile folder is inabout:profiles
(there's a "Show in Finder" link for the folder on macOS). Be sure to choose the right profile is you have more than one. -
Put
userContent.css
above in thechrome
folder you just created. -
Load
about:config
in Firefox then settoolkit.legacyUserProfileCustomizations.stylesheets
to true. -
Quit and reopen Firefox, just for luck.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function() { | |
let sel = document.getSelection(); | |
let selText = ""; | |
let reference = `[[${location.href }][${document.title }]]`; | |
const selectedRanges = []; | |
if (sel.rangeCount > 1) { | |
selText = reference + "\n"; | |
for (let i = 0; i < sel.rangeCount; i += 1) { | |
selText += `\t${sel.getRangeAt(i).toString().trim()}<<< \n`; | |
selectedRanges.push(sel.getRangeAt(i)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function() { | |
function copyToClipboard(text) { | |
if (window.clipboardData && window.clipboardData.setData) { | |
/*IE specific code path to prevent textarea being shown while dialog is visible.*/ | |
return clipboardData.setData("Text", text); | |
} else if (document.queryCommandSupported && document.queryCommandSupported("copy")) { | |
var textarea = document.createElement("textarea"); | |
textarea.textContent = text; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return { | |
version = 1, | |
title = 'My Essentials', | |
id = 'com.mytagsets.tagset2', | |
type = 'MetadataFieldList', | |
sortOrder = -9, | |
items = { | |
'com.adobe.metadataStatus', | |
'com.adobe.filename', | |
'com.adobe.copyname', |