Skip to content

Instantly share code, notes, and snippets.

View dakusui's full-sized avatar

Hiroshi Ukai, Ph.D. dakusui

View GitHub Profile
@dakusui
dakusui / pom.xml
Created November 3, 2018 20:11
A pom.xml to work with ditaa project
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>stathissideris</groupId>
<artifactId>ditaa</artifactId>
<packaging>jar</packaging>
<version>0.11.0</version>
<name>ditaa</name>
<description>command-line utility that can convert diagrams drawn using ascii art into proper bitmap graphics
@dakusui
dakusui / ditaa.sty
Last active October 8, 2018 19:15
The "ditaa" environment
% 'ditaa' package
%
% (c) Hiroshi Ukai
%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN archives
%% in directory macros/latex/base/lppl.txt.
%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{ditaa}
@dakusui
dakusui / tak
Created May 5, 2015 23:57
Tak for mal
(def! tak
(fn* [x y z]
(if (<= x y)
z
(tak (tak (- x 1) y z)
(tak (- y 1) z x)
(tak (- z 1) x y)))))
(println (tak 24 16 8))