- 10/28/18; 1:54:15 PM by DW
- This is an example of a worknotes outline.
- I take notes in this format as I work.
- It forms my todolist for today and subsequent days.
- It's the way I manage my projects.
- Been doing this for decades.
- I want to publish these outlines to GitHub
- But there doesn't seem to be a good way to do it.
- This is an example of a worknotes outline.
- 2/22/14 by DW
- v2.49 -- xmlToOutline takes a new optional param, flSetFocus. Defaults true. If false, we don't set the focus in the outline. This is useful when using the outliner to display text in a web page. If the outline is two screens down, you don't want the page to scroll down to it on reload.
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
/** | |
* Overthinking the display of durations | |
*/ | |
html { | |
font-size: 1em; | |
color: black; | |
font-family: -apple-system; | |
} |
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
var thing = {x: [0, 1, 2], y: [3, 4, 5]}; | |
function transform (thing) { | |
let keys = Object.keys(thing) // ["x", "y"] | |
let values = Object.values(thing) // [[0, 1, 2], [3, 4, 5]] | |
let count = values[0].length | |
if( !values.every(subarray => subarray.length == count)) { | |
throw "Sub-Arrays aren't the same length" | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xml:lang=""> | |
<id>https://blog.whatwg.org/feed/atom</id> | |
<updated>2017-01-30T14:50:14Z</updated> | |
<title type="text">The WHATWG Blog</title> | |
<subtitle type="text">Please leave your sense of logic at the door, thanks!</subtitle> | |
<link rel="self" type="application/atom+xml" href="https://blog.whatwg.org/feed"/> | |
<link rel="alternate" href="https://blog.whatwg.org"/> | |
<rights type="text">Copyright 2017</rights> | |
<generator uri="http://wordpress.org/" version="4.7.3">WordPress</generator> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0"> | |
<channel> | |
<title>defaults-write.com</title> | |
<atom:link href="http://www.defaults-write.com/feed/" rel="self" type="application/rss+xml"/> | |
<link>http://www.defaults-write.com</link> | |
<description>Unveil hidden Mac OS X (macOS) Features</description> | |
<lastBuildDate>Fri, 17 Mar 2017 13:14:55 +0000</lastBuildDate> | |
<language>en-US</language> | |
<sy:updatePeriod>hourly</sy:updatePeriod> |
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
⎧ 1 for x ≤ 0 | |
y = ⎨ | |
⎩ 0 for x > 0 | |
(Hey! There a building blocks for mathematic curly and other braces in Unicode!) |
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
var chrome = Application('Google Chrome'); | |
var safari = Application('Safari'); | |
safari.includeStandardAdditions = true; // Needed for openLocation() | |
chrome.windows[0].tabs().forEach(function (tab) { | |
safari.openLocation( tab.url() ); | |
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
PREFIX ont: <http://dbpedia.org/ontology/> | |
PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
SELECT ?name ?birth | |
WHERE { | |
?person ont:birthDate ?birth; | |
foaf:name ?name . | |
FILTER ( regex(str(?birth), "1914-[0-9]{2}-[0-9]{2}") ) |
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
// Playing in the Playground with Brent Simmons problem: | |
// http://inessential.com/2015/08/05/swift_diary_9_where_im_stuck | |
protocol AccountLike : Equatable, Hashable { | |
var accountID: String { get } | |
} |
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
// This “solves“ http://inessential.com/2015/08/02/swift_diary_7_protocols_arrays_and_c | |
// | |
// But it turns into a small nightmare of generics, where every concrete class which | |
// conforms to NodeRepresentedObject has to be generic, because of those strange “Self | |
// or associated type requirements”. And that generics turn up a lot of more than one | |
// wants. | |
// | |
// The good part: One has to be explicit about ones requirements for the concrete children | |
// of a concrete node in Brents seemingly “outline-based” fictional mail client. Is that a good | |
// thing? Can an Email Message contain other nodes? Is that wanted? |
NewerOlder