Skip to content

Instantly share code, notes, and snippets.

@bucketsize
bucketsize / testdoc-jb.asciidoc
Last active December 11, 2015 23:58
sample .asciidoc article for tryouts

How to document gracefully

jb …​ trying out some stuff.

Avoid jazzy authoring tools

  • stay clear of using bloated sofwares that make jazy promises.

  • that use classical UI to produce good documentents.

  • that use complicated keyboard shortcuts.

Asciidoctor

Ryan Waldron, Dan Allen

Asciidoctor is a native Ruby processor for converting AsciiDoc source files and strings into HTML 5, DocBook 4.5 and other formats.

Installation

You can install the Asciidoctor RubyGem using the gem command:

@bucketsize
bucketsize / .vimrc
Last active August 29, 2015 14:03
vimrc
call pathogen#infect()
set nocompatible
syntax on
filetype plugin indent on
set history=100
set showmatch
set ruler
@bucketsize
bucketsize / java.vjde
Created July 4, 2014 04:02
fixed: Vim-JDE/plugin/vjde/tlds/java.vjde
// class header {{{1
template ClassHeader
parameter classname ;the name of class
body
\/*
* %{classname}.java 1.00 %{Time.now}
*
*/
endt
module Hw.Core where
data Vector3 = Vector3 {
x :: Float,
y :: Float,
z :: Float
} deriving (Show, Eq)
zeroVector3 = Vector3 0.0 0.0 0.0
#!/usr/bin/ruby
# name: ptool.rb
# author: [email protected]
require 'pp'
USER='jb'
PUSER='jb'
PNAME='chrom'
#!/usr/bin/gnuplot
# adapted from (http://gnuplot.sourceforge.net/demo/histograms.1.gnu)
# name: mtop.plot
# author: [email protected]
#set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 800, 300
set terminal pngcairo enhanced font "arial,10" fontscale 1.0 size 800, 300
set output 'mtop.png'
set key inside right top vertical Right noreverse noenhanced autotitles nobox
set datafile missing '-'
@bucketsize
bucketsize / _vimrc
Created January 25, 2015 19:07
_vimrc
call pathogen#infect()
set nocompatible
syntax on
filetype plugin indent on
set history=100
set showmatch
set ruler
@bucketsize
bucketsize / main.hs
Created February 14, 2019 18:46
fbuddy created by bucketsize - https://repl.it/@bucketsize/fbuddy
import Data.Char
fact :: Int -> Int
fact 0 = 1
fact n = n*fact (n-1)
caps :: IO ()
caps = do
contents <- getContents
putStr (map toUpper contents)
@bucketsize
bucketsize / main.hs
Created February 14, 2019 18:46
fbuddy created by bucketsize - https://repl.it/@bucketsize/fbuddy
import Data.Char
fact :: Int -> Int
fact 0 = 1
fact n = n*fact (n-1)
caps :: IO ()
caps = do
contents <- getContents
putStr (map toUpper contents)