Browse Source

first commit with copy from sigflag template

master
Michael Preisach 7 years ago
commit
5904894f5f
  1. 27
      .gitignore
  2. BIN
      document.pdf
  3. 88
      document.tex
  4. 165
      header.tex
  5. BIN
      logos/TNF_small.png
  6. BIN
      logos/hacker_flyer_bg_cmyk_slide.jpg
  7. BIN
      logos/jku.png
  8. BIN
      logos/logo_sigflag.png
  9. 11
      logos/logo_sigflag.svg
  10. 46
      logos/sigflag_light.svg
  11. 6
      sources/helloworld.c
  12. 7
      sources/helloworld.go
  13. 5
      sources/helloworld.java
  14. 1
      sources/helloworld.py
  15. 3
      sources/helloworld.sh
  16. 3
      sources/helloworld.sh~

27
.gitignore

@ -0,0 +1,27 @@
*.aux
*.glo
*.idx
*.log
*.toc
*.ist
*.acn
*.acr
*.alg
*.bbl
*.blg
*.dvi
*.glg
*.gls
*.ilg
*.ind
*.lof
*.lot
*.maf
*.mtc
*.mtc1
*.out
*.snm
*.nav
*.bak
*.nav
*.synctex.gz

BIN
document.pdf

Binary file not shown.

88
document.tex

@ -0,0 +1,88 @@
%% HINWEISE:
%% Hier müssen folgende Einstellungen vorgenommen werden:
\newif\ifeng
%% Sprache:
%% Falls die Dokumentensprache Englisch ist \engfalse mit einem %-Zeichen
%%%davor auskommentieren, falls Deutsch \engtrue auskommentieren:
%\engtrue
\input{header}
\title{Web Security}
\subtitle{}
\author{Thomas Pointhuber}
\institute{}
\date{\today}
%%%%
%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%
%%%%
{
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{logos/hacker_flyer_bg_cmyk_slide.jpg}}
\begin{frame}[plain]
\titlepage
\end{frame}
}
\section{Formatelemente}
\begin{frame}
\frametitle{Listenebenen}
\begin{itemize}
\item Ebene 1
\begin{itemize}
\item Ebene 2
\begin{itemize}
\item Ebene 3
\end{itemize}
\end{itemize}
\end{itemize}
\begin{enumerate}
\item Ebene 1
\begin{enumerate}
\item Ebene 2
\begin{enumerate}
\item Ebene 3
\end{enumerate}
\end{enumerate}
\end{enumerate}
\end{frame}
\section{Codebeispiele}
\begin{frame}
\frametitle{ANSI C}
\begin{exampleblock}{helloworld.c}
\lstinputlisting[language=c]{sources/helloworld.c}
\end{exampleblock}
\end{frame}
\begin{frame}
\frametitle{Java}
\begin{alertblock}{helloworld.java}
\lstinputlisting[language=java]{sources/helloworld.java}
\end{alertblock}
\end{frame}
\begin{frame}
\frametitle{Go}
\begin{block}{helloworld.go}
\lstinputlisting[language=go]{sources/helloworld.go}
\end{block}
\end{frame}
\begin{frame}
\frametitle{Python}
\begin{exampleblock}{helloworld.py}
\lstinputlisting[language=Python]{sources/helloworld.py}
\end{exampleblock}
\end{frame}
\begin{frame}
\frametitle{Bash}
\begin{block}{helloworld.sh}
\lstinputlisting[language=bash]{sources/helloworld.sh}
\end{block}
\end{frame}
\end{document}

165
header.tex

@ -0,0 +1,165 @@
\documentclass{beamer}
\usetheme{default}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\ifeng
\usepackage[ngerman,english]{babel}
\else
\usepackage[english,ngerman]{babel}
\fi
\usepackage{DejaVuSans}
\usepackage{DejaVuSansMono}
\usepackage{lastpage}
\usepackage{pdfpages}
\usepackage{hyperref}
\usepackage{tabularx}
\usepackage{ltxtable}
\usepackage{rotating}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{colortbl}
\usepackage{listings}
% \usepackage{listings-rust}
%\setcounter{tocdepth}{3} %subsubsection
%\setcounter{secnumdepth}{3}
\newcommand{\zB}{z.\,B.}
\newcommand{\unit}[1]{\,\mathrm{#1}}
\definecolor{sigflagbg}{HTML}{263239}
\definecolor{sigflagwhite}{HTML}{ffffff}
\definecolor{sigflagblue}{HTML}{26c6da}
\definecolor{sigflaggreen}{HTML}{00bfa4}
\definecolor{sigflaggray}{HTML}{90a4ae}
\setbeamerfont{frametitle}{series=\bfseries}
\setbeamerfont{title}{series=\bfseries}
\setbeamercolor{title}{fg=sigflagwhite}
\setbeamercolor{titlelike}{fg=sigflagwhite}
\setbeamercolor{normal text}{fg=sigflagwhite,bg=sigflagbg}
\setbeamercolor{structure}{fg=sigflagwhite}
\setbeamertemplate{itemize item}{$\blacksquare$}
\setbeamercolor{itemize item}{fg=sigflagwhite}
\setbeamertemplate{itemize subitem}{$\square$}
\setbeamercolor{itemize subitem}{fg=sigflagwhite}
\setbeamertemplate{itemize subsubitem}{\LARGE\textbullet}
\setbeamercolor{itemize subsubitem}{fg=sigflagwhite}
\setbeamercolor{enumerate item}{fg=sigflagwhite}
\setbeamercolor{enumerate subitem}{fg=sigflagwhite}
\setbeamercolor{enumerate subsubitem}{fg=sigflagwhite}
\setbeamersize{text margin left=10mm,text margin right=5mm}
\defbeamertemplate*{title page}{customized}[1][]
{
\begin{center}
\includegraphics[width=2cm]{logos/logo_sigflag}
\vfill
\usebeamerfont{title}\huge{\texttt{\inserttitle}}\\[1mm]
\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\texttt{\insertsubtitle}\\
\vspace{1em}
\usebeamerfont{author}\texttt{\insertauthor}\\
\usebeamerfont{institute}\texttt{\insertinstitute}\\
\usebeamerfont{date}\texttt{\insertdate}\\
\vfill
\end{center}
}
\setbeamertemplate{navigation symbols}{}
\defbeamertemplate*{footline}{my footline}{%
\ifnum \insertpagenumber=1
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=.80ex,dp=1ex,center]{}%
% empty environment to raise height
\end{beamercolorbox}}%
\vskip0pt%
\else
\hspace*{.5cm}\parbox{\linewidth}{\vspace*{-8mm}
\hfill
\tiny{\texttt{\insertframenumber/\inserttotalframenumber}}
}
\fi
}
\setbeamertemplate{frametitle}
{
\nointerlineskip
\begin{beamercolorbox}[sep=0.5cm,ht=3.5em,wd=\paperwidth]{frametitle}
\vbox{}\vskip-2ex%
\strut\texttt{\textbf{\insertframetitle}}\strut
\hfill
\raisebox{-7mm}{\includegraphics[width=15mm]{logos/logo_sigflag}}
\vskip-1.8ex%
\end{beamercolorbox}
}
\setbeamercolor{block title}{use=structure,fg=sigflaggray,bg=sigflagbg}
\setbeamercolor{block title example}{use=structure,fg=sigflaggreen,bg=sigflagbg}
\setbeamercolor{block title alerted}{use=structure,fg=sigflagblue,bg=sigflagbg}
\lstset{
language=python, %language, can be changed dynamically
basicstyle=\footnotesize\ttfamily\color{sigflagwhite}, %common font style
keywordstyle=\color{sigflagblue},
commentstyle=\color{sigflaggray},
stringstyle=\color{sigflaggreen},
xleftmargin=8pt,
numbers=left, %line numbers
numberstyle=\tiny,
numberfirstline=true,
stepnumber=1,
numbersep=5pt,
breaklines=true,
tabsize=2, %size of tabulator
columns=flexible,
upquote=true,
literate= %Umlauts in source files
{Ö}{{\"O}}1
{Ä}{{\"A}}1
{Ü}{{\"U}}1
{ß}{{\ss}}2
{ü}{{\"u}}1
{ä}{{\"a}}1
{ö}{{\"o}}1
}
\AtBeginSection[]
{
{
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{logos/hacker_flyer_bg_cmyk_slide.jpg}}
\begin{frame}
\begin{center}
\Large{\textbf{\texttt{
\tableofcontents[
currentsection,
sectionstyle=show/hide,
hidesubsections,
]}}}
\end{center}
\end{frame}
}
}

BIN
logos/TNF_small.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
logos/hacker_flyer_bg_cmyk_slide.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

BIN
logos/jku.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
logos/logo_sigflag.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

11
logos/logo_sigflag.svg

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="81.138px" height="81.139px" viewBox="0 0 81.138 81.139" enable-background="new 0 0 81.138 81.139" xml:space="preserve">
<rect fill="#263239" width="81.138" height="81.139"/>
<polygon fill="#B3DCDA" points="15.614,12.067 65.524,12.067 65.524,23.468 26.094,23.468 26.094,34.869 65.524,34.869
65.524,69.071 15.614,69.071 15.614,57.67 55.042,57.67 55.042,46.27 15.614,46.27 17.775,42.932 59.369,42.932 59.369,61.008
17.775,61.008 17.775,65.734 63.361,65.734 63.361,38.207 21.77,38.207 21.77,20.13 63.361,20.13 63.361,15.405 17.775,15.405
17.775,42.932 15.614,46.27 "/>
</svg>

After

Width:  |  Height:  |  Size: 946 B

46
logos/sigflag_light.svg

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="523.516px" height="110px" viewBox="0 0 523.516 110" enable-background="new 0 0 523.516 110" xml:space="preserve">
<polyline fill="#B3DCD9" points="2.793,0 67.009,0 67.009,4.56 69.802,4.56 69.802,17.44 67.009,17.44 67.009,22 14.658,22
14.658,28.44 11.634,28.44 11.634,37.56 14.658,37.56 14.658,44 67.009,44 67.009,48.56 69.802,48.56 69.802,105.44 67.009,105.44
67.009,110 2.793,110 2.793,105.44 0,105.44 0,92.56 2.793,92.56 2.793,88 55.145,88 55.145,81.56 58.168,81.56 58.168,72.44
55.145,72.44 55.145,66 2.793,66 2.793,61.44 3.024,59.56 61.192,59.56 61.192,94.44 3.024,94.44 3.024,103.56 66.778,103.56
66.778,50.44 8.61,50.44 8.61,15.56 66.778,15.56 66.778,6.44 3.024,6.44 3.024,59.56 2.793,61.44 0,61.44 0,4.56 2.793,4.56
2.793,0.263 "/>
<polygon fill="#B3DCD9" points="78.412,0 142.628,0 142.628,4.56 145.421,4.56 145.421,17.44 142.628,17.44 142.628,22 119.361,22
119.361,28.44 116.337,28.44 116.337,81.56 119.361,81.56 119.361,88 142.628,88 142.628,92.56 145.421,92.56 145.421,105.44
142.628,105.44 142.628,110 78.412,110 78.412,105.44 75.619,105.44 75.619,92.56 78.412,92.56 78.412,88 101.679,88 101.679,81.56
104.703,81.56 104.703,28.44 101.679,28.44 101.679,22 107.727,15.56 107.727,94.44 78.643,94.44 78.643,103.56 142.397,103.56
142.397,94.44 113.313,94.44 113.313,15.56 142.397,15.56 142.397,6.44 78.643,6.44 78.643,15.56 107.727,15.56 101.679,22
78.412,22 78.412,17.44 75.619,17.44 75.619,4.56 78.412,4.56 "/>
<polygon fill="#B3DCD9" points="154.031,0 218.248,0 218.248,4.56 221.041,4.56 221.041,17.44 218.248,17.44 218.248,22 165.896,22
165.896,28.44 162.872,28.44 162.872,81.56 165.896,81.56 165.896,88 206.383,88 206.383,81.56 209.407,81.56 209.407,72.44
206.383,72.44 206.383,66 171.481,66 171.481,61.44 168.688,61.44 168.688,48.56 171.481,48.56 171.481,44 218.248,44
218.248,48.56 221.041,48.56 221.041,105.44 218.248,105.44 218.248,110 154.031,110 154.031,105.44 151.238,105.44 151.238,4.56
154.031,4.56 154.262,6.44 154.262,103.56 218.017,103.56 218.017,50.44 171.712,50.44 171.712,59.56 212.431,59.56 212.431,94.44
159.848,94.44 159.848,15.56 218.017,15.56 218.017,6.44 154.262,6.44 154.031,4.56 "/>
<polygon fill="#B3DCD9" points="229.65,0 293.867,0 293.867,4.56 296.659,4.56 296.659,17.44 293.867,17.44 293.867,22 241.515,22
241.515,28.44 238.491,28.44 238.491,37.56 241.515,37.56 241.515,44 293.867,44 293.867,48.56 296.659,48.56 296.659,61.44
293.867,61.44 293.867,66 241.515,66 241.515,72.44 238.491,72.44 238.491,105.44 235.698,105.44 235.698,110 229.65,110
229.65,105.44 226.857,105.44 226.857,4.56 229.65,4.56 229.881,6.44 229.881,103.56 235.467,103.56 235.467,59.56 293.635,59.56
293.635,50.44 235.467,50.44 235.467,15.56 293.635,15.56 293.635,6.44 229.881,6.44 229.65,4.56 "/>
<polygon fill="#B3DCD9" points="305.269,0 311.317,0 311.317,4.56 314.11,4.56 314.11,81.56 317.134,81.56 317.134,88 369.485,88
369.485,92.56 372.278,92.56 372.278,105.44 369.485,105.44 369.485,110 305.269,110 305.269,105.44 302.476,105.44 302.476,4.56
305.269,4.56 305.5,6.44 305.5,103.56 369.254,103.56 369.254,94.44 311.086,94.44 311.086,6.44 305.5,6.44 305.269,4.56 "/>
<polygon fill="#B3DCD9" points="380.888,0 445.105,0 445.105,4.56 447.897,4.56 447.897,105.44 445.105,105.44 445.105,110
439.057,110 439.057,105.44 436.263,105.44 436.263,72.44 433.24,72.44 433.24,66 392.753,66 392.753,72.44 389.729,72.44
389.729,105.44 386.936,105.44 386.936,110 380.888,110 380.888,105.44 378.095,105.44 378.095,4.56 380.888,4.56 381.119,6.44
381.119,103.56 386.705,103.56 386.705,59.56 439.288,59.56 439.288,103.56 444.874,103.56 444.874,6.44 381.119,6.44 380.888,4.56
"/>
<polygon fill="#B3DCD9" points="386.705,15.56 439.288,15.56 439.288,50.44 386.705,50.44 392.753,44 433.24,44 433.24,37.56
436.264,37.56 436.264,28.44 433.24,28.44 433.24,22 392.753,22 392.753,28.44 389.729,28.44 389.729,37.56 392.753,37.56
392.753,44 386.705,50.44 "/>
<polygon fill="#B3DCD9" points="456.507,0 520.724,0 520.724,4.56 523.516,4.56 523.516,17.44 520.724,17.44 520.724,22 468.372,22
468.372,28.44 465.348,28.44 465.348,81.56 468.372,81.56 468.372,88 508.859,88 508.859,81.56 511.882,81.56 511.882,72.44
508.859,72.44 508.859,66 473.958,66 473.958,61.44 471.165,61.44 471.165,48.56 473.958,48.56 473.958,44 520.724,44
520.724,48.56 523.516,48.56 523.516,105.44 520.724,105.44 520.724,110 456.507,110 456.507,105.44 453.714,105.44 453.714,4.56
456.507,4.56 456.739,6.44 456.739,103.56 520.493,103.56 520.493,50.44 474.189,50.44 474.189,59.56 514.907,59.56 514.907,94.44
462.324,94.44 462.324,15.56 520.493,15.56 520.493,6.44 456.739,6.44 456.507,4.56 "/>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

6
sources/helloworld.c

@ -0,0 +1,6 @@
#include <stdio.h>
int main(void)
{
printf("hello, world\n");
}

7
sources/helloworld.go

@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("Hello, World")
}

5
sources/helloworld.java

@ -0,0 +1,5 @@
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!"); // Prints the string to the console.
}
}

1
sources/helloworld.py

@ -0,0 +1 @@
print("Hello World")

3
sources/helloworld.sh

@ -0,0 +1,3 @@
#!/bin/bash
STR="Hello World!"
echo $STR

3
sources/helloworld.sh~

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}
Loading…
Cancel
Save