Skip to content

Instantly share code, notes, and snippets.

View mojavelinux's full-sized avatar

Dan Allen mojavelinux

View GitHub Profile
@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 / 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 / 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 / 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 / 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 / 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 / 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 / abstract.adoc
Last active August 29, 2015 14:23
Power Tools for Writers (Devoxx Morocco)

Power Tools for Writers

Coding and writing are alike in many ways. They’re both forged by carefully weaving structure and creativity. Both go through many revisions on the journey towards quality.

@mojavelinux
mojavelinux / basic-example.adoc.txt
Last active August 29, 2015 14:27
Test files for Asciidoctor PDF #303
= Document Title
Doc Writer <doc@example.com>
:doctype: book
:source-highlighter: coderay
:listing-caption: Listing
// Uncomment next line to set page size (default is Letter)
//:pdf-page-size: A4
A simple http://asciidoc.org[AsciiDoc] document.
<h:form>
<f:event type="postValidate" listener="#{minMax.validate}"/>
<h:inputText id="min" value="#{bean.min}"
binding="#{minMax.minInput}"/> <h:message for="min"/>
<h:inputText id="max" value="#{bean.max}"
binding="#{minMax.maxInput}"/> <h:message for="max"/>
<h:commandButton value="Submit"/>
</h:form>