Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • bbenyoussef/courses
  • gduarte/courses
  • mgrueninger/courses
  • thealternative/courses
4 results
Show changes
Showing
with 283 additions and 0 deletions
This diff is collapsed.
# Courses
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://gitlab.ethz.ch/thealternative/courses/-/blob/master/install_guide_updated/master/install_guide_updated.pdf)
- [Bash Guide](https://thealternative.ch/guides/bash.php)
- [Console Toolkit and Linux Toolbox](https://gitlab.ethz.ch/thealternative/courses/-/blob/master/consoletoolkit_linuxtoolbox/pres/pres.pdf)
Console & Bash:
- [Console Toolkit and Linux Toolbox](https://gitlab.ethz.ch/thealternative/courses/-/blob/master/consoletoolkit_linuxtoolbox/pres/pres.pdf)
- [Console Toolkit Exercises (.pdf)](https://gitlab.ethz.ch/thealternative/courses/-/blob/master/archive/ctk_archive/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)
Installing Linux
- [Install Event](https://gitlab.ethz.ch/thealternative/courses/-/blob/master/install_event)
- [Advanced Install Event](https://gitlab.ethz.ch/thealternative/courses/-/blob/master/advanced_install_event)
Tools:
- [Git](https://thealternative.ch/courses/git/git.html)
[Spotlights](https://gitlab.ethz.ch/thealternative/courses/-/tree/master/spotlight_courses):
- FS18 hacking session
- FS22 privacy
- FS23 containerization
- FS23 cryptography
- FS23 introduction to linux
- HS19 debugging on linux
- HS19 scientific software management
- HS20 unix history
- HS20 vim
- HS21 pdf
- HS21 priacy
- HS21 project management
- HS21 web
- HS22 Backups
- HS22 FOSS
- HS22 phone privacy and security
- HS24 NixOS
- vimcourse nils 2020
- wm workshop
# Cloning the repository
To download this repository, please install
[git-lfs](https://git-lfs.github.com/). You can clone (download) this entire
repository by issuing the following command in a terminal:
```
git-lfs install
git clone https://gitlab.ethz.ch/thealternative/courses.git
```
You can find the course materials in the various subdirectories of this
repository.
You need `git-lfs` installed for the larger files to download as expected.
# For TheAlternative Members
This repository is kept up to date by TheAlternative members. If you teach a
course, please add your slides and supplementary material, such as exercise
sheets, to this repo. Do not upload any private files, as this repository is
publicly visible.
File added
File added
File added
File added
File added
File added
File added
File added
File added
\ProvidesPackage{code}
\usepackage{tcolorbox}
\usepackage{url}
\usepackage{tikz}
\usetikzlibrary{tikzmark,calc,,arrows,shapes,decorations.pathreplacing}
\tikzset{every picture/.style={remember picture}}
\tcbuselibrary{skins,xparse,listings}
% Props to https://tex.stackexchange.com/questions/517976/drawing-realistic-linux-command-shell-windows-with-tcolorbox
\newtcblisting{shell}{
colback=violet!50!black,
colupper=white,
colframe=gray!65!black,
listing only,
listing options={
style=tcblatex,
language=sh,escapeinside=``,
},
title={\textcolor{orange}{\Large{$\bullet$}}{\textcolor{gray}{\Large{$\bullet\bullet$}}}},
every listing line={\MyMainPrompt}
}
\newtcblisting{shellcomp}{
colback=violet!50!black,
colupper=white,
colframe=gray!65!black,
listing only,
listing options={
style=tcblatex,
language=sh,escapeinside=``,
},
every listing line={\MyMainPrompt}
}
\pgfkeys{/shell/.cd,
user/.code={\gdef\MyMainUser{#1}},
user={},
host/.code={\gdef\MyMainHost{#1}},
host={},
color/.code={\gdef\MyMainColor{#1}},
color=white,
pwd/.code={\gdef\MyMainPwd{#1}},
pwd=\~,
prompt char/.code={\gdef\MyMainPromptChar{#1}},
prompt char=\#,
root/.style={user=root,host=ubuntu,color=lime,pwd=/,prompt char=\#},
bob/.style={user=bob,host=ubuntu,color=cyan,pwd=\~,prompt char=\$},
bobremote/.style={user=bob,host=myRemote,color=green,pwd=\~,prompt char=>},
alice/.style={user=alice,host=arch,color=green,pwd=\~,prompt char=>},
}
\newcommand{\SU}[1]{
\pgfkeys{/shell/.cd,#1}%
\gdef\MyMainPrompt{\textcolor{\MyMainColor}{\MyMainUser @\MyMainHost{\textcolor{white}:}\textcolor{cyan!60}{\url{\MyMainPwd}}{\textcolor{white}\MyMainPromptChar} }}
}
\newcommand{\StartConsole}{\gdef\MyMainPrompt{}}
\ProvidesPackage{general}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\usepackage{multicol}
\usepackage{hyperref}
\usepackage{lmodern}
\usepackage{listings}
\usepackage[os=win]{menukeys}
\usepackage{tcolorbox}
\usefonttheme[onlymath]{serif}
\setcounter{MaxMatrixCols}{20}
\newcommand{\todo}[1]{\textcolor{red}{TODO: #1}\PackageWarning{TODO:}{#1!}}
% a red warning box
\definecolor{lred}{HTML}{ffd6dd}
\newtcolorbox{WarningBox}{%
colframe=red,
colback=lred}
File added
This diff is collapsed.
\ProvidesPackage{slideStyle}
\usecolortheme[RGB={37,68,113}]{structure}
\usetheme{Dresden}
% Uncomment to disable top overview
% \setbeamertemplate{headline}{}
%Define TheAlt colors
\definecolor{ldorange}{HTML}{F18A20}
\definecolor{ldblue}{HTML}{254471}
%Apply TheAlt colors to theme
\setbeamercolor{section in head/foot}{fg=ldorange}
\setbeamercolor{author in head/foot}{fg=white}
\setbeamercolor{subsection in head/foot}{fg=white}
\setbeamercolor{caption name}{fg=vlg}
\setbeamercolor{caption}{fg=vlg}
\setbeamercolor{frametitle}{fg=ldblue}
\setbeamercolor{title}{fg=ldorange}
\setbeamercolor{institute}{fg=ldblue}
\setbeamerfont{title}{series=\bfseries}
\setbeamertemplate{caption}{\raggedright\insertcaption\par}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{bibliography item}[text]
archive/ctk_archive/HS22_ConsoleToolkit/Figures/horrorGui.png

7.02 KiB

\ProvidesPackage{code}
\usepackage{tcolorbox}
\usepackage{url}
\usepackage{tikz}
\usetikzlibrary{tikzmark,calc,,arrows,shapes,decorations.pathreplacing}
\tikzset{every picture/.style={remember picture}}
\tcbuselibrary{skins,xparse,listings}
% Props to https://tex.stackexchange.com/questions/517976/drawing-realistic-linux-command-shell-windows-with-tcolorbox
\tcbset{common/.style={
colback=violet!50!black,
colupper=white,
colframe=gray!65!black,
listing only,
listing options={
style=tcblatex,
language=sh,escapeinside=``,
},
every listing line={\MyMainPrompt},
}}
\newtcblisting{shell}[1][]{
common,
title={\textcolor{orange}{\Large{$\bullet$}}{\textcolor{gray}{\Large{$\bullet\bullet$}}}},
codewidth,
fontsize,
#1
}
\newtcblisting{shellcomp}[1][]{
common,
codewidth,
fontsize,
#1
}
\tcbset{
codewidth/.style={width=#1\textwidth},
codewidth/.default=1,
fontsize/.style={%
listing options={ % TODO add only relevant stuff here (do not overwrite unrelated default)
style=tcblatex,
language=sh,escapeinside=``,
basicstyle=\ttfamily#1,
},
},
% fontsize/.default=\normalsize,
}
% \BeforeBeginEnvironment{shell}{\centering}
\pgfkeys{/shell/.cd,
user/.code={\gdef\MyMainUser{#1}},
user={},
host/.code={\gdef\MyMainHost{#1}},
host={},
color/.code={\gdef\MyMainColor{#1}},
color=white,
pwd/.code={\gdef\MyMainPwd{#1}},
pwd=\~,
prompt char/.code={\gdef\MyMainPromptChar{#1}},
prompt char=\#,
root/.style={user=root,host=ubuntu,color=lime,pwd=/,prompt char=\#},
bob/.style={user=bob,host=ubuntu,color=cyan,pwd=\~,prompt char=\$},
bobremote/.style={user=bob,host=myRemote,color=green,pwd=\~,prompt char=>},
alice/.style={user=alice,host=arch,color=green,pwd=\~,prompt char=>},
}
\newcommand{\SU}[1]{
\pgfkeys{/shell/.cd,#1}%
\gdef\MyMainPrompt{\textcolor{\MyMainColor}{\MyMainUser @\MyMainHost{\textcolor{white}:}\textcolor{cyan!60}{\url{\MyMainPwd}}{\textcolor{white}\MyMainPromptChar} }}
}
\newcommand{\StartConsole}{\gdef\MyMainPrompt{}}
\ProvidesPackage{general}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\usepackage{multicol}
\usepackage{hyperref}
\usepackage{lmodern}
\usepackage{listings}
\usepackage[os=win]{menukeys}
\usepackage{tcolorbox}
\usefonttheme[onlymath]{serif}
\setcounter{MaxMatrixCols}{20}
\newcommand{\todo}[1]{\textcolor{red}{TODO: #1}\PackageWarning{TODO:}{#1!}}
% a red warning box
\definecolor{lred}{HTML}{ffd6dd}
\newtcolorbox{WarningBox}{%
colframe=red,
colback=lred}
This diff is collapsed.