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
proc fib(a: cint): cint {.exportc, dynlib.} = | |
if a <= 2: | |
result = 1 | |
else: | |
result = fib(a - 1) + fib(a - 2) |
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
\documentclass{scrartcl} | |
\usepackage{pdfpages} | |
\begin{document} | |
%% Edit the name of the PDF file | |
\includepdf[pages=-,booklet,landscape]{another.pdf} | |
\end{document} |
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
function mkscala --argument proj org tld | |
set -q tld[1] | |
or set tld "com" | |
set -q org[1] | |
or set org "example" | |
echo "Creating a Scala project called" $proj | |
mkdir -p $proj/{project,src} | |
mkdir -p $proj/src/{main,test}/{java,scala,resources} | |
mkdir -p $proj/src/{main,test}/scala/$tld/$org/$proj |
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
\documentclass[14pt]{scrartcl} | |
%% Translate month names | |
\usepackage[spanish]{babel} | |
\usepackage[spanish]{translator} | |
\usepackage{tikz} | |
\usetikzlibrary{calendar} | |
OlderNewer