- 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
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
<?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
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
p { margin-top: 5em; } | |
input[type=submit] { | |
/* Ich hab das Gefühl, das hier ist mehr Vodoo: | |
-webkit-appearance: none; |
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
/** | |
* Rövarspråket | |
*/ | |
html { | |
background: linear-gradient(0deg, khaki, green); | |
min-height: 100%; | |
} | |
table { |
NewerOlder