This file contains 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
parallel \ | |
# Database of results metadata | |
--sqlandworker sqlite3:///out.sqlite/output \ | |
# Url of host | |
--sshlogin host_1,host_2,: \ | |
# Transfer of pdal pipeline on hosts | |
--tf my_pipeline_file.json \ | |
# Transfer las files to remote hosts, return the results | |
--tf {} --return {.}.tif --cleanup \ | |
# pdal command |
This file contains 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
% A LuaLaTex command to get the version number of a chapter from a git repo. | |
% This command insert in the document the last number version from a git tag like : Chapter_1_V3 | |
% For exemple \chapter{My nice chapter 1 \chapVers{1}} give : \section{My nice chapter 1 \texttt{V4}} | |
% if the git repo have a tag "Chapter_1_V4" | |
\newcommand\chapVers[1]{ | |
\texttt{(\directlua{tex.print(io.popen('git describe --tags --match "*_#1_*" | grep -o | |
V[0-9] || echo "V0" '):read())})} | |
} |
This file contains 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
% Conçut pour LuaLaTeX. | |
% Le texte est en utf-8 par défaut | |
\documentclass[10pt]{minimal} | |
% Francisation du texte | |
\usepackage[french]{babel} | |
% Pour le paratexte (les […]) | |
\usepackage{csquotes} |
This file contains 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 Database.HDBC | |
import Database.HDBC.PostgreSQL | |
main = do | |
conn <- connectPostgreSQL "dbname=postgres user=postgres" | |
run conn "TRUNCATE test;" [] | |
insert <- prepare conn "INSERT INTO test VALUES (?);" | |
executeMany insert values | |
commit conn | |
disconnect conn |