\documentclass[a4paper]{book}
\batchmode
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern, forloop, makeidx}
\usepackage{graphicx, minted, fancyhdr, picins, pdfpages, alltt, exercise, multirow, longtable, tabu, tocbibind, upquote}
\usepackage[hyphens]{url} % Must be used before hyperref!
\AtBeginDocument{%
\def\PYZsq{\textquotesingle}%
}
\usepackage[framemethod=default]{mdframed}
%http://stackoverflow.com/questions/2193307/how-to-get-latex-to-hyphenate-a-word-that-contains-a-dash
\usepackage[hidelinks, pdfpagemode=UseOutlines, pdfstartview={FitH top}]{hyperref}
\usepackage{colortbl}
\usepackage{marvosym} %For \EUR{}
\DeclareUnicodeCharacter{20AC}{\EUR{}}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{}
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\fancypagestyle{plain}{%
\fancyhead{} % get rid of headers
\renewcommand{\headrulewidth}{0pt} % and the line
}
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\thispagestyle{empty}
\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
%From https://nixtricks.wordpress.com/2011/02/19/latex-customize-latex-table-of-contents-toc
\makeatletter 
\renewcommand{\@dotsep}{10000}
\makeatother
\showboxdepth=\maxdimen
\showboxbreadth=\maxdimen
\newcommand{\ft}{https://web.cnfi.lu/WAD/}
\newcommand{\fthtml}{\ft HTML5/}
\newcommand{\ftp}{pictures/}
\graphicspath{{\ftp}}
\newcounter{exchtml}
\newcounter{exo}
\renewcommand{\arraystretch}{1.5}
\newcommand{\subtitle}[1]{%
  \posttitle{%
    \par\end{center}
    \begin{center}\large#1\end{center}
    \vskip0.5em}%
}
\raggedbottom
\tabulinesep = 2mm
\makeindex
\setcounter{tocdepth}{4} % cf. http://en.wikibooks.org/wiki/LaTeX/Document_Structure

%\includeonly{NeoVim, Node, WebSocket, WebRTC}
\expandafter\def\expandafter\UrlBreaks\expandafter{\UrlBreaks%  save the current one
  \do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j%
  \do\k\do\l\do\m\do\n\do\o\do\p\do\q\do\r\do\s\do\t%
  \do\u\do\v\do\w\do\x\do\y\do\z\do\A\do\B\do\C\do\D%
  \do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M\do\N%
  \do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X%
  \do\Y\do\Z}
  
\begin{document}
\frontmatter

\begin{titlepage}
\centering
{\Huge Teacher's guide to the computer science jungle} \\ %[1ex] \\
\vspace{0.5cm}
%{\large A problem-based approach\\[0.5ex] Volume II} \\
%\vspace{1cm}
{\Large Gilles Everling} \\[\baselineskip]
{\small \href{mailto:gilles.everling@education.lu}{gilles.everling@education.lu} \\
\vspace{0.5cm}
Latest version available at \url{https://web.cnfi.lu/Teacher guide to the computer science jungle.pdf} \\
\vspace{0.5cm}
This version created on \today \\
\vspace{0.5cm}
\href{http://creativecommons.org/licenses/by-nc-sa/4.0}{Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License}}
\vspace{1cm}
\end{titlepage}
\tableofcontents
%\listoffigures
%\listoftables 
%\listoflistings
\pagebreak
%\listofexercises
\ListOfExerciseInToc
%\ExerciseLevelInToc{chapter}

\mainmatter
%\include{NeoVim}
%\include{Node}
%\include{WebSocket}
%\include{WebRTC}
\chapter{Scrum and Kanban}
According to \url{https://en.wikipedia.org/wiki/Scrum_(software_development)}:
\begin{quotation}Scrum is an iterative and incremental agile software development framework for managing product development.
\end{quotation}

For our purposes we will be using sprints of two weeks duration.

Four categories: "backlog", "to do", "doing" and "done".
Limit 2 items per category except for "backlog", which has no limit.

\chapter{Installing Kanboard}
\url{https://kanboard.net/documentation/installation}

\url{https://kanboard.net/documentation/mysql-configuration}

Kanboard is blocked by modsecurity (if you have activated the latter). The simplest solution is to create an \verb|.htaccess| file in the main Kanboard directory with the following content:
\begin{verbatim}
<IfModule mod_security.c>
	# Turn off mod_security filtering.
	SecFilterEngine Off

	# The next part below probably is not needed, but better safe than sorry.
	SecFilterScanPOST Off
</IfModule> 
\end{verbatim}

\chapter{title}
\backmatter
% bibliography, glossary and index would go here.
\cleardoublepage
%\addcontentsline{toc}{chapter}{Index}
\phantomsection
\printindex
\end{document}