Skip to content
Snippets Groups Projects
Commit e092205a authored by Alexander Schoch's avatar Alexander Schoch
Browse files

add foss course for hs22

parent 2eedc84d
No related branches found
No related tags found
No related merge requests found
Showing
with 144 additions and 0 deletions
% Encoding: UTF-8
@Electronic{oss,
author = {{Open Source Initiative}},
title = {{The Open Source Definition}},
howpublished = {\href{http://web.archive.org/web/20160817171310/https://opensource.org/docs/osd}{opensource.org/docs/osd (via the Internet Archive)}},
organization = {Open Source Initiative},
url = {http://web.archive.org/web/20160817171310/https://opensource.org/docs/osd},
owner = {chymera},
timestamp = {2016.10.04},
}
@Electronic{linux,
author = {Jonathan Corbet and
Greg Kroah-Hartman
},
title = {{2017 Linux Kernel Development Report}},
howpublished = {\href{https://www.linuxfoundation.org/2017-linux-kernel-report-landing-page/}{www.linuxfoundation.org/2017-linux-kernel-report-landing-page/ (via the Linux Foundation)}},
organization = {Linux Foundation},
url = {https://go.pardot.com/l/6342/2017-10-24/3xr3f2/6342/188781/Publication_LinuxKernelReport_2017.pdf},
owner = {chymera},
timestamp = {2017.9.30},
}
@Comment{jabref-meta: databaseType:bibtex;}
\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{ccode}{
colback=violet!50!black,
colupper=white,
colframe=gray!65!black,
listing only,
listing options={
style=tcblatex,
language=c,escapeinside=``,
showstringspaces=false,
},
title={\textcolor{orange}{\Large{$\bullet$}}{\textcolor{gray}{\Large{$\bullet\bullet$}}}},
}
\newtcblisting{hex}{
colback=violet!50!black,
colupper=white,
colframe=gray!65!black,
listing only,
listing options={
style=tcblatex,
language=c,escapeinside=``,
showstringspaces=false,
basicstyle=\scriptsize\ttfamily
},
title={\textcolor{orange}{\Large{$\bullet$}}{\textcolor{gray}{\Large{$\bullet\bullet$}}}},
}
\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{}}
Name,percent
Unix,80.3
Windows,20.0
Name,percent
Nginx,34.3
Apache,31.2
LiteSpeed,12.2
Cloudflare Server,21.6
Microsoft-IIS,5.9
\ProvidesPackage{general}
\usepackage[T1]{fontenc}
\usepackage{xcolor}
\usepackage{multicol}
\usepackage{hyperref}
\usepackage{lmodern}
\usepackage{listings}
\usepackage[os=win]{menukeys}
\usepackage{tcolorbox}
\usepackage[style=norwegian]{csquotes}
\usepackage{siunitx}
\usepackage{datatool}
\usepackage{datapie}
\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}
HS22_FOSS/images/Bendix.jpg

3.48 MiB

HS22_FOSS/images/airdrop.png

155 KiB

HS22_FOSS/images/chrome.png

56.4 KiB

HS22_FOSS/images/chromium.png

20.9 KiB

HS22_FOSS/images/cl.png

43.1 KiB

HS22_FOSS/images/drive.png

26.2 KiB

HS22_FOSS/images/dropbox.png

8.9 KiB

HS22_FOSS/images/fsf.png

28.3 KiB

HS22_FOSS/images/gp.png

214 KiB

HS22_FOSS/images/icloud.png

22.9 KiB

HS22_FOSS/images/kdeconnect.png

16.2 KiB

HS22_FOSS/images/osi.png

71.3 KiB

HS22_FOSS/images/rh.png

30.7 KiB

HS22_FOSS/images/signal.png

14.3 KiB

HS22_FOSS/images/tor.png

46.6 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment