Skip to content

Instantly share code, notes, and snippets.

View Vinetos's full-sized avatar
⌨️
I don't code... I think ?

Valentin Vinetos

⌨️
I don't code... I think ?
View GitHub Profile
@wkrea
wkrea / textlive-full-beefless.md
Created September 2, 2020 13:30 — forked from shivams/textlive-full-beefless.md
`texlive-full` without the beef

TLDR;

On an Debian/Ubuntu-based system, to install texlive-full without docs and language packs, simply do this:

sudo apt install `sudo apt --assume-no install texlive-full | \
		awk '/The following additional packages will be installed/{f=1;next} /Suggested packages/{f=0} f' | \
		tr ' ' '\n' | grep -vP 'doc$' | grep -vP 'texlive-lang' | grep -vP 'latex-cjk' | tr '\n' ' '`

After this, if you wish to install the language packs, selectively install them. E.g.:

@Dettorer
Dettorer / Énigme_1.md
Last active October 23, 2024 13:09
Énigmes Python pour les étudiants d'EPITA

Énigme 1

Sujet

Crédit : seirl

Expliquer le comportement suivant :

>>> def increment(l=[1, 2, 3]):
...     for i in range(len(l)):
... l[i] += 1