View twitter.css
/*.content-main {
width: 600px;
}
.dashboard {
width: 285px;
}
.DashboardProfileCard-bg {
height: 94px;
View jekyll-asciidoctor-diagram.adoc

How to configure Asciidoctor Diagram in a Jekyll site

Generate site

$ cd /tmp
$ mkdir jekyll-site-creator
View gitlab-readable.css
.md, .wiki {
font-family: "Droid Serif";
font-size: 1.2em;
line-height: 1.6;
}
ul.notes .note .note-body .note-text p, .wiki p {
margin-top: 0.75em;
}
View writers-write-bof-notes.adoc

Writers Write BOF at Devoxx BE, 2016

Dan Allen, the lead moderator, welcomed everyone and encouraged everyone to participate We’re here to talk about writing, primarily technical documentation but beyond that too. Team organisation Technical challenges

Introductions. A broad cross-section of roles, interests, and tools:

  • Developers

View writers-write-bof-topics.adoc

Writers Write BOF Topics

Lead Editor

Much like roommates in a shared flat, a documentation group needs to find a way to make it work by agreeing on how to routine tasks / chores. What can help with this is having a lead editor. The lead editor can ensure a consistent style.

Support Engineers

View string-replace.js
if ('a'.replace(/(z)|./, function(match, g1) { return typeof g1; }) !== 'undefined') {
String.prototype.replace = (function (native_method) {
return function (pattern, callback) {
if (pattern.constructor.name !== 'RegExp' || typeof callback !== 'function') {
return native_method.call(this, pattern, callback);
}
var result = '', source = String(this), length = source.length, lastIndex = 0, index, match;
pattern.lastIndex = 0;
while ((match = pattern.exec(source))) {
index = match.index;
View Rakefile.rb
=begin
To use this build script, first install the bundler gem:
$ gem install bundler
Then use the `bundle` command to install the dependencies into the project:
$ rm -rf Gemfile.lock .bundle
bundle config --local git.allow_insecure true
bundle config --local build.nokogiri --use-system-libraries
View asciimath.adoc
\$sum_(i=1)^n i^3=((n(n+1))/2)^2\$
AsciiDoc source
:stem: asciimath
View table.adoc
Column A Column B Column C

A1

B1

C1

A2

B2

C2

View angular-localizer-treeprocessor.rb
#!/usr/bin/env ruby
require 'asciidoctor/extensions'
class AngularLocalizerTreeprocessor < Asciidoctor::Extensions::Treeprocessor
def process document
document.blocks? ? (localize_blocks document) : nil
end
def localize_blocks node