Skip to content

Instantly share code, notes, and snippets.

View lparolari's full-sized avatar
🎯
Focusing

Luca Parolari lparolari

🎯
Focusing
  • University of Padova
  • Padova • Italy
  • 03:13 (UTC +02:00)
View GitHub Profile
# The latex source filename
MAINFILE?=report
# The build strategy
BUILD_STRATEGY?=pdf3
# The source folder
SRC?=`pwd`
# Main recipe
@lparolari
lparolari / docker-util.md
Created December 31, 2020 08:56
On the fly docker commands

Docker Util

Compile from .md to .pdf with pandoc

docker run --rm --volume "`pwd`:/data" --user `id -u`:`id -g` pandoc/latex README.md -o README.pdf

Start a jupyter notebook server

@lparolari
lparolari / typescript-basics.md
Last active January 12, 2021 22:47
TypeScript Basics
@lparolari
lparolari / development-environment-webapp-windows.md
Last active November 9, 2020 17:35
Impostare ambiente di sviluppo per webapp in Windows

Impostare ambiente di sviluppo per webapp in Windows

La guida vi accompagnerà steb-by-step nella configurazione dell'ambiente di sviluppo per webapp su Windows.

A. L'IDE

L'IDE (Integrated Development Environment) è fortemente personale, quindi è possibile usare quello che più vi aggrada. Nella guida viene mostrata l'installazione di vscode, quello che usiamo anche a scuola.

Installazione: scaricare ed installare vscode dal sito ufficiale https://code.visualstudio.com/

Docker Aliases

go

You may need to pull golang binaries with docker pull golang.

# Alias go with docker go and maps current working directory to container.
alias go="docker run -v $(pwd):/app -w /app golang go"
\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{graphicx}
@lparolari
lparolari / big-data-course-proof-1.tex
Created March 17, 2020 21:27
Proof for the theorem at page 32 slides ``MapReduce''. (Big Data Computing course at University of Padua, Italy, AY 2019-2020).
\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{graphicx}
%%% BASIC CONFIGS
%
% Basic latex configurations for `programming-exercise-template`
% and `test-template`.
%
% Luca Parolari (C) 2020
% [email protected]
%% ***************************************************************
% TIKZ
# hpack package file
name: <APP-NAME>
version: <VERSION>
github: "<YOUR-USERNAME>/<APP-NAME>"
license: <LICENSE>
author: "<YOUR-NAME>"
maintainer: "<YOUR-EMAIL>"
copyright: "<YEAR> <YOUR-NAME>"
@lparolari
lparolari / pdflatex-footer.tex
Last active December 30, 2019 21:28
Add footer on pdf with pdflatex.