Skip to content

Instantly share code, notes, and snippets.

View danilopiazza's full-sized avatar

Danilo Piazzalunga danilopiazza

View GitHub Profile
@danilopiazza
danilopiazza / bin > dune
Created December 1, 2024 22:06
OCaml Dune project with unit tests
(executable
(public_name helloworld)
(name main)
(libraries helloworld))
@danilopiazza
danilopiazza / Makefile
Created June 12, 2024 13:33
Tail-recursive Fibonacci sequence in x86-64 Assembly
all: a.out
%.o: %.asm
nasm -f elf64 -o $@ $<
a.out: fibonacci.o main.c
$(CC) *.o main.c
clean:
@rm -f *.o a.out
@danilopiazza
danilopiazza / pom.xml
Created October 12, 2023 06:20
Generate Java classes from a WSDL file using jaxb2-maven-plugin and Java EE JAXB
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
<version>2.5.0</version>
<executions>
<execution>
<id>xjc</id>
<goals>
<goal>xjc</goal>
</goals>