[FE training-materials-updates] Move the code to one slide only
maxime.ripard at free-electrons.com
maxime.ripard at free-electrons.com
Tue May 29 14:49:15 CEST 2012
- Log -----------------------------------------------------------------
http://git.free-electrons.com/training-materials/commit/?id=c4769393c71006076568211d2e6495f932a8061a
commit c4769393c71006076568211d2e6495f932a8061a
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date: Tue May 29 14:49:24 2012 +0200
Move the code to one slide only
Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
diff --git a/slides/kernel-driver-development-modules/kernel-driver-development-modules.tex b/slides/kernel-driver-development-modules/kernel-driver-development-modules.tex
index a09af8a..0c7ff01 100644
--- a/slides/kernel-driver-development-modules/kernel-driver-development-modules.tex
+++ b/slides/kernel-driver-development-modules/kernel-driver-development-modules.tex
@@ -2,7 +2,7 @@
\begin{frame}[fragile]
\frametitle{Hello Module 1/2}
-\begin{minted}[fontsize=\small]{c}
+\begin{minted}[fontsize=\scriptsize]{c}
/* hello.c */
#include <linux/init.h>
#include <linux/module.h>
@@ -20,18 +20,19 @@ static void __exit hello_exit(void)
pr_alert("Alas, poor world, what treasure");
pr_alert("hast thou lost!\n");
}
-\end{minted}
-\end{frame}
-\begin{frame}[fragile]
- \frametitle{Hello Module 2/2}
-\begin{minted}[fontsize=\small]{c}
module_init(hello_init);
module_exit(hello_exit);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Greeting module");
MODULE_AUTHOR("William Shakespeare");
\end{minted}
+\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Hello Module 2/2}
+\begin{minted}[fontsize=\small]{c}
+\end{minted}
\begin{itemize}
\item \code{__init}
http://git.free-electrons.com/training-materials/commit/?id=5f5b781cba37af112cf35c5cc1d36a607adcc763
commit 5f5b781cba37af112cf35c5cc1d36a607adcc763
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date: Tue May 29 14:47:28 2012 +0200
Remove some points on LXR to have a bit of extra space
Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
diff --git a/slides/kernel-source-code-management/kernel-source-code-management.tex b/slides/kernel-source-code-management/kernel-source-code-management.tex
index d3d5290..df0a595 100644
--- a/slides/kernel-source-code-management/kernel-source-code-management.tex
+++ b/slides/kernel-source-code-management/kernel-source-code-management.tex
@@ -33,22 +33,16 @@
\item Generic source indexing tool and code browser
\begin{itemize}
\item Web server based, very easy and fast to use
- \item Identifier or text search available
\item Very easy to find the declaration, implementation or usages
of symbols
\item Supports C and C++
\item Supports huge code projects such as the Linux kernel (431 MB
of source code in version 3.0).
\item Takes a little time and patience to setup (configuration,
- indexing, server configuration).
- \item Indexing a new version is very fast: approximately 20
- minutes with LXR 0.3.1 (old version, but scales very well).
+ indexing, server configuration) but indexing a new version is
+ quite fast (20 minutes)
\item You don't need to set up LXR by yourself. Use our
\url{http://lxr.free-electrons.com} server!
- \item Other servers available on the Internet:
- \url{http://free-electrons.com/community/kernel/lxr/}
- \item This makes LXR the simplest solution to browse standard
- kernel sources.
\end{itemize}
\end{itemize}
\end{frame}
http://git.free-electrons.com/training-materials/commit/?id=3837655e306decbcdfddd551cb7c5eb66a022e07
commit 3837655e306decbcdfddd551cb7c5eb66a022e07
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date: Tue May 29 14:35:25 2012 +0200
Fix minted style to remove highlight on the strings
Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
diff --git a/common/beamerthemeFreeElectrons.sty b/common/beamerthemeFreeElectrons.sty
index cf5465a..f4c3302 100644
--- a/common/beamerthemeFreeElectrons.sty
+++ b/common/beamerthemeFreeElectrons.sty
@@ -175,4 +175,4 @@
{\large \color{red}TODO: #1}
}
-\usemintedstyle{colorful}
\ No newline at end of file
+\usemintedstyle{perldoc}
-----------------------------------------------------------------------
Summary of changes:
common/beamerthemeFreeElectrons.sty | 2 +-
.../kernel-driver-development-modules.tex | 13 +++++++------
.../kernel-source-code-management.tex | 10 ++--------
3 files changed, 10 insertions(+), 15 deletions(-)
More information about the training-materials-updates
mailing list