To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 649d6c89 authored by This isn't my name's avatar This isn't my name
Browse files

Merge branch 'master' of gitlab.ethz.ch:thealternative/courses

parents 5d7fa1b1 3a6f1dde
......@@ -5,3 +5,4 @@
*.svg filter=lfs diff=lfs merge=lfs -text
*.xcf filter=lfs diff=lfs merge=lfs -text
*.bbl filter=lfs diff=lfs merge=lfs -text
console_toolkit/console_toolkit_2.pdf filter=lfs diff=lfs merge=lfs -text
# for the slide detailing that cryptography/security should be FOSS
https://en.wikipedia.org/wiki/Kerckhoffs%27s_principle
This is a public repository that contains a collection of our current (and past) LinuxDays courses.
# Downloading the course material
# Courses
Our course material (slides and several guides) are available as PDFs:
- [Free and Open Source Software](https://gitlab.ethz.ch/thealternative/courses/blob/master/FOSS_course/slides.pdf)
- [Introduction to Linux](https://gitlab.ethz.ch/thealternative/courses/blob/master/intro_course/slides.pdf)
- [Install Guide](https://gitlab.ethz.ch/thealternative/courses/blob/master/install_event/installguide_complete.pdf)
- [Console Toolkit Part 1](https://gitlab.ethz.ch/thealternative/courses/blob/master/console_toolkit/console_toolkit_1.pdf)
- [Console Toolkit Part 1&2](https://gitlab.ethz.ch/thealternative/courses/blob/master/console_toolkit/console_toolkit_2.pdf)
- [Console Toolkit Exercises](https://gitlab.ethz.ch/thealternative/courses/blob/master/console_toolkit/exercise_files/exercises.pdf)
- [Bash Course (Slides)](https://gitlab.ethz.ch/thealternative/courses/blob/master/bash_course/pres/pres.pdf)
- [Bash Course (Guide)](https://gitlab.ethz.ch/thealternative/courses/blob/master/bash_course/guide/guide.pdf)
- [Bash Course Exercises](https://gitlab.ethz.ch/thealternative/courses/blob/master/bash_course/exercisesheet/sheet.pdf) and [Solutions](https://gitlab.ethz.ch/thealternative/courses/blob/master/bash_course/exercisesheet/sol.pdf)
This is a public repository that contains a collection of our current (and past) LinuxDays courses.
Introduction:
- [Free and Open Source Software (.pdf)](https://gitlab.ethz.ch/thealternative/courses/blob/master/FOSS_course/slides.pdf)
- [Introduction to Linux (.pdf)](https://gitlab.ethz.ch/thealternative/courses/blob/master/intro_course/slides.pdf)
- [Install Guide](https://thealternative.ch/guides/install.php)
- [Bash Guide](https://thealternative.ch/guides/bash.php)
Console & Bash:
- [Console Toolkit Part 1 (.pdf)](https://gitlab.ethz.ch/thealternative/courses/blob/master/console_toolkit/console_toolkit_1.pdf)
- [Console Toolkit Part 1&2 (.pdf)](https://gitlab.ethz.ch/thealternative/courses/blob/master/console_toolkit/console_toolkit_2.pdf)
- [Console Toolkit Exercises (.pdf)](https://gitlab.ethz.ch/thealternative/courses/blob/master/console_toolkit/exercise_files/exercises.pdf)
- [Bash Course (Slides) (.pdf)](https://gitlab.ethz.ch/thealternative/courses/blob/master/bash_course/pres/pres.pdf)
- [Bash Course (Guide) (.pdf)](https://gitlab.ethz.ch/thealternative/courses/blob/master/bash_course/guide/guide.pdf)
- [Bash Course Exercises (.pdf)](https://gitlab.ethz.ch/thealternative/courses/blob/master/bash_course/exercisesheet/sheet.pdf) and [Solutions](https://gitlab.ethz.ch/thealternative/courses/blob/master/bash_course/exercisesheet/sol.pdf)
Tools:
- [Git](https://thealternative.ch/courses/git/git.html)
# Cloning the repository
......
TEX=latexmk
TEXOPTS=-output-directory=build \
-pdf \
-latexoption=-interaction=nonstopmode \
-latexoption=-file-line-error
# Set PREVIEW=1 to enable preview. Make sure an appropriate viewer is
# configured in $HOME/.latexmkrc.
# Example usage: make PREVIEW=1 opendata
ifdef PREVIEW
PREVIEWOPTS=-pvc
endif
defaul: exercises
# To include the current git revision in the header, write it to 'GIT_TAG'
# file, which the LaTeX source can include.
gitrev:
@printf "r%s.%s" "$$(git rev-list --count HEAD)" "$$(git rev-parse --short HEAD)" > GIT_TAG
# Create build directory if it doesnt exist
builddir:
@[ -d build ] || mkdir build
# All documents need to be compiled twice.
# This is because some necessary information is only available after
# the first compiler run, like \pageref{LastPage}.
exercises: exercises.tex gitrev builddir
@$(TEX) $(TEXOPTS) $(PREVIEWOPTS) $<
mv build/exercises.pdf .
clean:
@rm -rf build/*
% vim: set ft=tex:
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{TheAlternativeCourse}
% packages
\LoadClass[11pt]{scrartcl} % Base class: KOMA script article
\RequirePackage[utf8]{inputenc} % Support for german 'umlaut' (ä, ö, ü)
\RequirePackage{lastpage} % \pageref{LastPage}
\RequirePackage{scrlayer-scrpage} % KOMA Script header/footer package
\RequirePackage{graphicx} % \includegraphics{...}
\RequirePackage[showseconds=false,showzone=false]{datetime2}
\RequirePackage[table]{xcolor}
\RequirePackage[most]{tcolorbox}
\RequirePackage{hyperref}
% helvetica font
% \RequirePackage[scaled]{helvet}
% \RequirePackage[T1]{fontenc}
% \renewcommand\familydefault{\sfdefault}
% header / footer
\KOMAoptions{headsepline,headheight=27.5pt}
\setkomafont{pagehead}{\normalfont\normalcolor} % non-italic header font
\setkomafont{pagefoot}{\normalfont\normalcolor} % non-italic footer font
\newcommand{\builddate}{\footnotesize Revision: \input{GIT_TAG} \\ Build: \DTMNow}
\newcommand{\thealtlogo}{\includegraphics[width=4.5cm]{assets/logo.png}}
\lohead[\thealtlogo]{\thealtlogo}
\rohead[\builddate]{\builddate}
\cofoot[\footnotesize \thepage~/~\pageref{LastPage}]{\thepage~/~\pageref{LastPage}}
\recalctypearea%
\setlength{\voffset}{-1.2cm} % space before header
\setlength{\textheight}{1.15\textheight} % height of text
\definecolor{ldorange}{HTML}{F18A20}
\definecolor{ldblue}{HTML}{254471}
\definecolor{grey1}{HTML}{aaaaaa}
\definecolor{grey2}{HTML}{efefef}
\definecolor{lightblue}{HTML}{d9edfc}
\definecolor{exclamred}{HTML}{db1515}
\colorlet{lightyellow}{yellow!6!white}
\colorlet{darkeryellow}{red!15!yellow!40!white}
\newtcolorbox[auto counter, number within=section]{exercisebox}[2][]{%
colback=lightyellow,
fuzzy shadow={1mm}{-1mm}{0mm}{0.1mm}{black!50!white},
colframe=ldorange,
coltitle=black,
enhanced,
fonttitle=\bfseries,
title=Task~\thetcbcounter: #2,#1}
\newtcolorbox{cmdbox}{%
colback=grey2,
fuzzy shadow={1mm}{-1mm}{0mm}{0.1mm}{black!50!white},
enhanced,
colframe=grey1,
coltitle=black,
enhanced}
\newtcolorbox{tcbhintbox}{%
enhanced,
skin=bicolor,
segmentation at break=true,
boxrule=0.8pt,
left=3.5mm,
top=0.5mm,
bottom=0.5mm,
arc=1pt,
boxsep=2pt,
lefthand ratio=0.06,
sidebyside,
colframe=ldorange,
coltext=black,
colback=darkeryellow,
colbacklower=lightyellow,
}
\newcommand{\hintbox}[1]{%
\begin{tcbhintbox}
\includegraphics[width=8mm]{img/light_bulb.pdf}%
\tcblower%
#1
\end{tcbhintbox}}
This diff is collapsed.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
TEX=latexmk
TEXOPTS=-output-directory=build \
-pdf \
-latexoption=-interaction=nonstopmode \
-latexoption=-file-line-error
# set PREVIEW=1 to enable preview
# example usage: make PREVIEW=1 target
ifdef PREVIEW
PREVIEWOPTS=-pvc
endif
default: pres
# create build directory if it doesnt exist
builddir:
@[ -d build ] || mkdir build
pres: pres.tex builddir
@$(TEX) $(TEXOPTS) $(PREVIEWOPTS) $<
mv build/pres.pdf .
clean:
@rm -rf build/*
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment