Skip to content

Instantly share code, notes, and snippets.

DocGist Example

DocGist is a tool that renders AsciiDoc documents fetched from GitHub gists or other sources. The rendering is performed in the browser using the asciidoctor.js library. The original use case for this was http://gist.neo4j.org/ which has additional features to create examples for the Neo4j graph database.

How To Use

  • Create/locate a gist on GitHub (or use a file in Dropbox).

    • Write text using AsciiDoc syntax in it.

<?php
// =============================================================================
// VIEWS/RENEW/_CONTENT-POST-HEADER.PHP
// -----------------------------------------------------------------------------
// Standard <header> output for various posts.
// =============================================================================
?>
@quantazelle
quantazelle / gist:26faa7f09fd7e5a21debfaf88b87cb51
Created April 3, 2018 04:23 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>

From idm-owner Sun Aug 1 20:14:09 1993 From: bsanders@mrcnext.cso.uiuc.edu (Barry Sanders) Date: Sun, 1 Aug 93 22:07:08 -0500 Subject: Can Dumb People Enjoy IDM, Too? Status: O*

(bSANDERS threads the squiggling earthworm onto the brass hook at the end of his nylon line)

@quantazelle
quantazelle / .md
Created March 8, 2018 21:37
IDM-Mailing-List-Archives-idm.9308-1994-03-01.md

From idm-owner Sun Aug 1 20:14:09 1993 From: bsanders@mrcnext.cso.uiuc.edu (Barry Sanders) Date: Sun, 1 Aug 93 22:07:08 -0500 Subject: Can Dumb People Enjoy IDM, Too? Status: O

(bSANDERS threads the squiggling earthworm onto the brass hook at the end of his nylon line)

Is the porpoise of intelligent dance music to give self-presumed intellectuals something to discuss? Or is the purpose to elevate the appreciation levels of the "proles on parade" (Buggles, 1980) Is intelligent dance music like animal crackers: Education that fulfills a basic food/sex/warmth drive simultaneously? Or is it like staring at a Paul Klee canvas, and trying to figure out what to marvel at. I think it's like the Paul Klee canvas, myself. Especially F.U.S.E. (which I love, though I'm not sure exactly why at times.) [Note: Paul Klee, to my knowledge, became famous for his extremely minimalistic abstract paintings that drew attention to the process of painting. Many of his canvasses are simply large areas of color, completely DEV

@quantazelle
quantazelle / index.html
Created November 22, 2017 02:51
Two Column Responsive Image Portfolio w/ media breaks
<div class="wrapper">
<div class="container">
<div id="two-columns" class="grid-container" style="display:block;">
<ul class="rig columns-2">
<li>
<img src="http://emergencyadapters.io/wp-content/uploads/2017/11/professional-contents-sq.jpg" />
<h3>A curated set of adapters</h3>
<div class="description">Specially-chosen adapters to work in many different situations</div>