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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call pathogen#infect() | |
set nocompatible | |
syntax on | |
filetype plugin indent on | |
set history=100 | |
set showmatch | |
set ruler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// class header {{{1 | |
template ClassHeader | |
parameter classname ;the name of class | |
body | |
\/* | |
* %{classname}.java 1.00 %{Time.now} | |
* | |
*/ | |
endt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Hw.Core where | |
data Vector3 = Vector3 { | |
x :: Float, | |
y :: Float, | |
z :: Float | |
} deriving (Show, Eq) | |
zeroVector3 = Vector3 0.0 0.0 0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# name: ptool.rb | |
# author: [email protected] | |
require 'pp' | |
USER='jb' | |
PUSER='jb' | |
PNAME='chrom' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 '-' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call pathogen#infect() | |
set nocompatible | |
syntax on | |
filetype plugin indent on | |
set history=100 | |
set showmatch | |
set ruler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
OlderNewer