slides/slides01.tex
changeset 93 82ac034dcc9d
parent 90 d1d07f05325a
child 94 caf08b02fa32
equal deleted inserted replaced
92:af1aeec504cb 93:82ac034dcc9d
     1 \documentclass[dvipsnames,14pt,t]{beamer}
     1 \documentclass[dvipsnames,14pt,t, xelatex]{beamer}
     2 \usepackage{beamerthemeplainculight}
     2 \usepackage{beamerthemeplaincu}
     3 \usepackage[T1]{fontenc}
     3 %%\usepackage[T1]{fontenc}
     4 \usepackage[latin1]{inputenc}
     4 \usepackage[latin1]{inputenc}
     5 \usepackage{mathpartir}
     5 \usepackage{mathpartir}
     6 \usepackage[absolute,overlay]{textpos}
     6 \usepackage[absolute,overlay]{textpos}
     7 \usepackage{ifthen}
     7 \usepackage{ifthen}
     8 \usepackage{tikz}
     8 \usepackage{tikz}
    91 
    91 
    92 \normalsize
    92 \normalsize
    93   \begin{center}
    93   \begin{center}
    94   \begin{tabular}{ll}
    94   \begin{tabular}{ll}
    95   Email:  & christian.urban at kcl.ac.uk\\
    95   Email:  & christian.urban at kcl.ac.uk\\
    96   Of$\!$fice: & S1.27 (1st floor Strand Building)\\
    96   Office: & S1.27 (1st floor Strand Building)\\
    97   Slides: & KEATS
    97   Slides: & KEATS
    98   \end{tabular}
    98   \end{tabular}
    99   \end{center}
    99   \end{center}
   100 
   100 
   101 
   101 
   116 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   116 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   117 \mode<presentation>{
   117 \mode<presentation>{
   118 \begin{frame}[c]
   118 \begin{frame}[c]
   119 \frametitle{\begin{tabular}{@ {}c@ {}}Security Engineers\end{tabular}}
   119 \frametitle{\begin{tabular}{@ {}c@ {}}Security Engineers\end{tabular}}
   120 
   120 
   121 According to Bruce Schneier, {\bf security engineers} require
   121 \alert{\bf Security engineers} require a particular \alert{\bf mindset}:\bigskip
   122 a particular {\bf mindset}:\bigskip
       
   123 
   122 
   124 \begin{tikzpicture}
   123 \begin{tikzpicture}
   125 \draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
   124 \draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
   126 {\normalsize\color{darkgray}
   125 {\normalsize\color{darkgray}
   127 \begin{minipage}{10cm}\raggedright\small
   126 \begin{minipage}{10cm}\raggedright\small
   497 \frametitle{\begin{tabular}{c}Scala + Play\end{tabular}}
   496 \frametitle{\begin{tabular}{c}Scala + Play\end{tabular}}
   498 
   497 
   499 \footnotesize a simple response from the server:
   498 \footnotesize a simple response from the server:
   500 
   499 
   501 {\lstset{language=Scala}\fontsize{8}{10}\selectfont
   500 {\lstset{language=Scala}\fontsize{8}{10}\selectfont
   502 \texttt{\lstinputlisting{app0.scala}}}\bigskip
   501 \texttt{\lstinputlisting{../progs/app0.scala}}}\bigskip
   503 
   502 
   504 \footnotesize
   503 \footnotesize
   505 alternative response:\\
   504 alternative response:\\
   506 
   505 
   507 {\lstset{language=Scala}\fontsize{8}{10}\selectfont
   506 {\lstset{language=Scala}\fontsize{8}{10}\selectfont
   512 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   511 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   513 \mode<presentation>{
   512 \mode<presentation>{
   514 \begin{frame}[c]
   513 \begin{frame}[c]
   515 
   514 
   516 {\lstset{language=Scala}\fontsize{8}{10}\selectfont
   515 {\lstset{language=Scala}\fontsize{8}{10}\selectfont
   517 \texttt{\lstinputlisting{app1.scala}}}
   516 \texttt{\lstinputlisting{../progs/app1.scala}}}
   518 
   517 
   519   
   518   
   520 \end{frame}}
   519 \end{frame}}
   521 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
   520 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
   522 
   521 
   693 \mode<presentation>{
   692 \mode<presentation>{
   694 \begin{frame}[c]
   693 \begin{frame}[c]
   695 \mbox{}\\[-9mm]
   694 \mbox{}\\[-9mm]
   696 
   695 
   697 {\lstset{language=Scala}\fontsize{8}{10}\selectfont
   696 {\lstset{language=Scala}\fontsize{8}{10}\selectfont
   698 \texttt{\lstinputlisting{app2.scala}}}
   697 \texttt{\lstinputlisting{../progs/app2.scala}}}
   699 
   698 
   700 \footnotesize
   699 \footnotesize
   701 \begin{itemize}
   700 \begin{itemize}
   702 \item cookie value encoded as hash
   701 \item cookie value encoded as hash
   703 \end{itemize}
   702 \end{itemize}
   724 \mode<presentation>{
   723 \mode<presentation>{
   725 \begin{frame}[c]
   724 \begin{frame}[c]
   726 \mbox{}\\[-7mm]
   725 \mbox{}\\[-7mm]
   727 
   726 
   728 {\lstset{language=Scala}\fontsize{8}{10}\selectfont
   727 {\lstset{language=Scala}\fontsize{8}{10}\selectfont
   729 \texttt{\lstinputlisting{app3.scala}}}
   728 \texttt{\lstinputlisting{../progs/app3.scala}}}
   730 
   729 
   731 \small
   730 \small
   732 \begin{itemize}
   731 \begin{itemize}
   733 \item the counter/hash pair is intended to prevent tampering
   732 \item the counter/hash pair is intended to prevent tampering
   734 \end{itemize}  
   733 \end{itemize}  
   756 \mode<presentation>{
   755 \mode<presentation>{
   757 \begin{frame}[c]
   756 \begin{frame}[c]
   758 \mbox{}\\[-9mm]
   757 \mbox{}\\[-9mm]
   759 
   758 
   760 {\lstset{language=Scala}\fontsize{8}{10}\selectfont
   759 {\lstset{language=Scala}\fontsize{8}{10}\selectfont
   761 \texttt{\lstinputlisting{app4.scala}}}
   760 \texttt{\lstinputlisting{../progs/app4.scala}}}
   762 
   761 
   763 \begin{textblock}{1}(9,1)
   762 \begin{textblock}{1}(9,1)
   764   \begin{tikzpicture}[scale=1.3]
   763   \begin{tikzpicture}[scale=1.3]
   765   \draw[white] (0,0) node (X) {};
   764   \draw[white] (0,0) node (X) {};
   766   \draw[white] (3,0) node (Y) {};
   765   \draw[white] (3,0) node (Y) {};