Skip to content

Instantly share code, notes, and snippets.

View mojavelinux's full-sized avatar

Dan Allen mojavelinux

View GitHub Profile
@mojavelinux
mojavelinux / abstract.adoc
Last active August 29, 2015 14:23
Why must documentation be a pain in our ass? (Devoxx Morocco)

Why must documentation be a pain in our ass?

“Is the documentation up to date?”
“Where’s the documentation for version 1.5?”
“What are the differences with the previous version?”

@mojavelinux
mojavelinux / shell-introduction.adoc.txt
Created May 7, 2015 08:46
Sample document from the Gnome Guides to test the Asciidoctor Mallard backend
= Introduction to GNOME
Shaun McCance <shaunm@gnome.org>; Michael Hill <mdhillca@gmail.com>; Ekaterina Gerasimova <kittykat3756@gmail.com>
v3.13.92, 2014-09-22
:experimental:
:category: ui
:description: pass:macros[A visual introduction to your desktop, the top bar, and the btn:[Activities] overview.]
:imagesdir: figures
:toc: preamble
GNOME 3 features a completely reimagined user interface designed to stay out of your way, minimize distractions, and help you get things done.
@mojavelinux
mojavelinux / gist-with-image.adoc
Last active August 29, 2015 14:20
Gist with image

Gist with Image

Oh look, it’s the infamous AsciiDoc tiger!

tiger
@mojavelinux
mojavelinux / transcript.adoc
Created April 16, 2015 10:57
Reading and Writing in 20 Years: Mix-IT

Reading and Writing in 20 Years: Transcript (Attempt 3)

title

Data written in books a 1,000 years ago are still readable. What about the data we are creating now? Will it be accessible in 20 years time? 1,000 years time? If so, how will we create it? How will we consume it?

@mojavelinux
mojavelinux / transcript.adoc
Last active August 29, 2015 14:18
Reading and Writing in 20 Years (for display only)

Reading and Writing in 20 Years: Transcript (Attempt 2)

title

In an e-mail exchange, Antonio Goncalves, one of the organizers of Devoxx France, pondered the following:

Data written in books a 1,000 years ago are still readable. What about the data we are creating now? Will it be accessible in 20 years time? 1,000 years time?

@mojavelinux
mojavelinux / pullquote-docinfo.html
Last active August 29, 2015 14:13
Asciidoctor pull quote extension prototype. See preview at http://codepen.io/anon/pen/MYJeNb.
<style>
.pullquote-right:before,
.pullquote-left:before {
display: block;
padding: 0;
border: none;
content: attr(data-pullquote);
float: right;
width: 45%;
margin: 0.5em -2.5% 1em 1.5em;
@mojavelinux
mojavelinux / generate-cjk-font.pe
Created December 31, 2014 09:53
Distill the NotoSansCJK otf fonts into something we can use in Asciidoctor PDF (and Asciidoctor EPUB3)
#!/usr/bin/env fontforge
# * 0x90 - Neither OpenType or Apple
# * 0x800 - Generate old-style 'kern' table
# * 0x08 - Exclude TrueType instructions
# For PDF
genflags = 0x90 + 0x08 + 0x800
# For EPUB3
@mojavelinux
mojavelinux / complete-list-content.adoc
Created December 30, 2014 05:44
Using an open block to organize complex list content in AsciiDoc
requiredNumAck

An integer indicating the acknowledgement mode for messages sent to Kafka. This setting affects the durability of messages.

0

The producer never waits for an acknowledgement from the broker. This option provides the lowest latency but the weakest durability guarantees (some data will be lost when a server fails).

@mojavelinux
mojavelinux / asciidoc-syntax-quick-reference.adoc
Created December 29, 2014 02:01
AsciiDoc Syntax Quick Reference (sample document)

AsciiDoc Syntax Quick Reference

@mojavelinux
mojavelinux / link-with-chrome-scheme.adoc
Last active August 29, 2015 14:10
Test of link with chrome scheme.