Skip to content

Instantly share code, notes, and snippets.

Avatar

Hiroshi Ukai dakusui

  • Rakuten, Inc
  • Tokyo
View GitHub Profile
@dakusui
dakusui / pom.xml
Created Nov 3, 2018
A pom.xml to work with ditaa project
View pom.xml
<?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 Oct 8, 2018
The "ditaa" environment
View ditaa.sty
% '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
Tak for mal
View tak
(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))
You can’t perform that action at this time.