Synology DS716 II

Directory Service (LDAP)

Directory Server Settings
DiskStation Manager -> File Sharing Domain/LDAP -> LDAP
List of LDAP software
LDAP and Windows 7 Home Clients
How to Get a Windows Client to Authenticate against a Linux LDAP Server
Help authenticating Win7 to LDAP server
Join Windows Client Computer to LDAP Directory Service

Active Directory Server

Synology NAS can now act as Active Directory server!

DSM 6.1: Synology aktualisiert DiskStation Manager
DSM 6.1 RC
DS716+II Release Notes

usdl.synology.com/download/Package/spk/ActiveDirectoryServer/
Synolgy NAS as an Active Directory Domain Controller
active directory server is missing

Active Directory Server with Samba

  • Kerberos
  • LDAP

Setting up Samba as an Active Directory Domain Controller
Samba & LDAP
ActiveDirectoryHowto

Active Directory Client

How to join my Synology NAS into Windows Active Directory domain

LaTeX

pdfTeX
LuaTeX
Lua

Bücher

TeX and LaTeX Books

  • H. Kopka and P. W. Daly. A Guide to LATEX. Addison-Wesley, 3rd edition, 2004
  • F. Mittelbach and M. Goossens. The LATEX Companion. Addison-Wesley, 2nd edition, 2004
  • D. E. Knuth. The TEXbook. Addison-Wesley, 1984
  • The LaTex Graphics Companion: Illustrating Documents with TeX and PostScript, Michel Goossens, S. P. Q. Rahtz, Sebastian
  • How To Typeset Your Project Report In LATEX: A Ready Reckoner, Aniruddha Subhashchandra Rumale, Abhidnya
  • LaTeX and Friends, M. R. C. van Dongen
  • Digital Typography Using LaTeX, Apostolos Syropoulos, Antonis Tsolomitis, Nick

Deutsche Bücher

Einführung in LaTeX
KOMA-Script
DANTE (Deutschsprachige Anwendervereinigung TeX e.V.)

  • TeX by Topic, Victor Eijkhout
  • Einführung in LaTeX, Herbert Voß
  • METAPOST für TeX und LaTeX, Walter Entenmann
  • Einführung in LaTeX: unter Berücksichtigung von pdfLaTeX, XLaTeX und LuaLaTeX, Voß, Herbert

LaTex Websites

latex-project.org
golatex.de
texwelt.de
latex-tutorial.com
sharelatex.com
texample.net

Makro Programmierung

Tutorial on writing .dtx and .ins files
Documentation of LaTeX class and package writing

LaTeX – Fortgeschrittene Anwendungen
Makroprogrammierung in LaTeX und TeX
Eigene Befehle, Umgebungen und Klassen – LaTeX
Installation / Konfiguration TeX
Einfache Makros in TEX und LATEX

Simon Schälli

Simon Schälli
Save 3D point for later use in TikZ
How to horizontally align child nodes with the graphdrawing library of TikZ 3.0?

TeX Kommandos

\hbox
\kern
\hskip

LaTex Editoren

LaTeX Editors/IDEs
TeXstudio
Texmaker

Tutorials

LaTeX-Kompendium
Eine Einführung in LaTeX
Stromkreise mit circutikz
Stromkreise in LaTeX – Weitere Funktionen
CircuiTikz package

Modulares Dokument

\input{filename}
\include{filename}
\includeonly{filename1,filename2,...}
\usepackage{subfiles}
\subfile{filename}
\includepdf[ key=val ]{ filename }

LaTeX/Modular Documents
When should I use \input vs. \include?

PDF

Inserting a pdf file in latex
Insert PDF file in LaTeX document
How to include PDF file in LaTex Doc from folder location?
include pdf in latex

Questions

Best way to make circuit diagrams for LaTeX?

Zeilenabstand

Wie kann ich den Abstand zwischen den Zeilen einer amsmath-Umgebung wie align und gather einstellen?

Umgebung nicht gefunden / Environment undefined

Cannot get align* to work
Environment align undefined line 11, all I can see to do is to retype the line and it still isn’t working

Packages

TikZ/PGF – Graphic systems for TeX
TikZ and PGF

MiKTeX

TikZ

Good way to make \textcircled numbers?

Set size of \colorbox for a single character

Lyx

Wiki

FrequentlyUsedShortcuts
FormulaOnMultipleLines

Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `latin9'. \section*{Überblick}

LaTex Source

Edit LaTeX source in LyX

Dokumentklassen

YX: keine Dokumentklassen mehr verfügbar seit Umstieg auf Lyx 2.2
Installing scrlttr2 – Koma-Script ‘letter’ class in LYX
Making document classes in LyX available

\documentclass[%
   final,                    / / % fertiges Dokument -  %draft
   11pt,
   bigheadings,              // % große Überschriften
   ngerman,                  // % wird an andere Pakete weitergereicht
   a4paper,
   BCOR5mm,                  // % Zusaetzlicher Rand auf der Innenseite
   DIV11,                    // % Seitengroesse (siehe Koma Skript)
   1.1headlines,             // % Zeilenanzahl der Kopfzeilen
   headexclude,              // % Kopf nicht einbeziehen
   footexclude,              // % Fuss nicht einbeziehen
   mpexclude,                // % Margin nicht einbeziehen
   pagesize,                 // % Schreibt die Papiergroesse in die Datei.
   oneside,                  // % einseitiges Layout
   titlepage,                // % Titel als einzelne Seite
   parindent,                // % Eingerückt (Standard)
   headsepline,              // % Linie unter Kolumnentitel
   nochapterprefix,          // % keine Ausgabe von 'Kapitel:
   %liststotoc,              // % Tabellen & Abbildungsverzeichnis ins TOC
   %idxtotoc,                // % Index ins TOC
   %bibtotoc,                // % Bibliographie ins TOC
   %bibtotocnumbered,        // % Bibliographie im TOC nummeriert
   %liststotocnumbered,      // % Alle Verzeichnisse im TOC nummeriert
   tocindent,                // % eingereuckte Gliederung
   %tocleft,                 // % Tabellenartige TOC
   listsindent,              // % eingereuckte LOT, LOF
   %listsleft,               // % Tabellenartige LOT, LOF
   pointednumbers,           // % überschriftnummerierung mit Punkt
   %pointlessnumbers,        // % überschriftnummerierung ohne Punkt
]{scrreprt}

Umlaute

Warum werden die Umlaute falsch dargestellt?
Umlaute werden nicht mehr angezeigt

Koma Script

KOMA-Script Documentation Project KOMA-Script Documentation Project
KOMA-Script, ein wandelbares LaTeX-Paket
/mirrors/ctan/macros/latex/contrib/koma-script

Serif vs Sans-Serif

Why does KOMA-Script mix serifs and sans-serifs?
Wie erhalte ich mit einer KOMA-Klasse die gleiche Schriftart in den Überschriften wie mit Standardklassen?
Warum werden serifenlose und serife Schrift gemixt?

Gliederung

LaTeX-Wörterbuch: Gliederung
Inhaltsverzeichnis und Überschriften

Eindrücken / Einzug

Einrücken verhindern
LaTeX – ungewollter Einzug

Titelseite

\maketitle
LaTeX/ Eine Titelseite erstellen
LaTeX/Title Creation
\subtitle doesn’t work in article document class

\section or \chapter

KOMA-Script scrreprt: Section numbering and heading embodied into the first line of text
Increment the section number with 1, not 0.1
\section{} results in 0.1, not in 1.0
Überschrift ohne Kapitelnummer
Wie ändere ich die Abstände über/unter section, subsection, subsubsection, …. ?
Adjusting spacing around section/subsection titles with koma-script
Redeclaresectioncommand does not work for section – Koma Script Report – Lyx (no answer!)

Kommentare

LaTeX-Kompendium: Strukturelemente eines Dokumentes
\section{} results in 0.1, not in 1.0

Kopf- und Fußzeile

LaTeX: individuelle Kopf- und Fußzeilen (alt)
LaTeX: individuelle Kopf- und Fußzeilen (neu!)
Kopf- und Fußzeile
LaTeX-Wörterbuch: fancyhdr
maketitle macht Fußzeile kaputt

Fett, Kursiv / Bold, Italic

“Correct” way to bold/italicize text?
Bold, italics and underlining

I like my text \textbf{bold}
I like my text \textit{italic}

vs.

I like my text {\bf bold}
I like my text {\it bold}

Fonts / Schriftarten

Computer Modern
Computer Modern Bright

\setmathsfont(Digits){TeX Gyre Termes}

\usepackage{cmbright}

\renewcommand{\rmdefault}{cmbright}
\renewcommand{\sfdefault}{cmbright}
\renewcommand{\ttdefault}{lmodern}

\mathcal
\mathfrak
\mathbb

\mathnormal{3x^2 \in R \subset Q} \\
\mathrm{3x^2 \in R \subset Q} \\
\mathit{3x^2 \in R \subset Q} \\
\mathbf{3x^2 \in R \subset Q} \\
\mathsf{3x^2 \in R \subset Q} \\
\mathtt{3x^2 \in R \subset Q} 

how to select math font in document
different font family in math mode [duplicate]
Change math font only in some parts of a document?

Farben / Color

LaTeX/Colors
svgnames Colors from the xcolor Package

Grafik

LaTeX/Floats, Figures and Captions
Bilder einfügen in LATEX – tug.ctan.org (PDF)
LaTeX-Kompendium: Schnellkurs: Grafiken
Externe Grafiken einbinden
How to include SVG diagrams in LaTeX?

$ c:/Program\ Files/inkscape/inkscape -D -z --file=Secure_Digital_Cards.svg --export-pdf=Secure_Digital_Cards.pdf --export-latex

\begin{figure}
    \centering
    \def\svgwidth{\columnwidth}
    \input{Secure_Digital_Cards.pdf.pdf_tex}
\end{figure}

Glossary / Glossar, Abkürzungsverzeichnis

makeglossaries.exe
xindy.exe              fleXible INDexing sYstem

xindy -C utf8 -L german-duden -I xindy -M % -t %.glg -o %.gls %.glo

printglossaries doesnt output, Warning: File test.glo is empty
MiKTeX and Perl scripts (and one Python script)
How to use ‘makeglossaries’?

TeXmaker, makeglossaries: The script engine could not be found
Has anyone managed to use \glossaries with TeXstudio on Windows?
Xindy not working with MiKTeX
Problem with \usepackage{glossaries}
How to use Xindy with MiKTeX?

Hyperlinks

Adding an email to LaTeX file
Remove ugly borders around clickable cross-references and hyperlinks
Address and email in article class

Tabellen

Zu Benutzen:
tabular (Feste Breite)
tabu (Variable Breite)

Alt:
tabularx
tabular* 

LaTeX-Kompendium: Tabellen
LaTeX-Kompendium: Schnellkurs: Tabellen
LaTeX/Tables
ShareLaTeX: Tables
Beautiful table samples

Matrix / Matrizen

LaTeX Math Symbols – A glossary
Creating a Matrices and Arrays

\begin{array}{lll}
    y_1 & = & f_1\left(x, y_1, \ldots, y_n\right) \\
    \vdots & & \vdots \\
    y_n' & = & f_n\left(x, y_1, \ldots, y_n\right)
\end{array}

\left(
\begin{matrix}
    AAA & BBB & CCC \\
    AA  & BB  & CC \\
    A   & B   & C
\end{matrix}
\right)
			
\begin{pmatrix}
    AAA & BBB & CCC \\
    AA  & BB  & CC \\
    A   & B   & C
\end{pmatrix}

AMS Environment

\hfill \hspace \halign
\right \left
\pushright \pushleft
\omit \span
\phantom
\rlap

\begin{align*}
\end{align*}

\begin{alignat*}{3}
\end{alignat*}

\begin{flalign*}
\end{flalign*}
%-------------------------------------------------------------------------------
% Für "align" Umgebung eine Zelle nach links/rechts verschieben
\makeatletter
\newcommand{\pushright}[1]{\ifmeasuring@#1\else\omit\hfill$\displaystyle#1$\fi\ignorespaces}
\newcommand{\pushleft}[1]{\ifmeasuring@#1\else\omit$\displaystyle#1$\hfill\fi\ignorespaces}
\makeatother

\makeatletter and \makeatother

\makeatletter
Was machen eigentlich \makeatletter und \makeatother?
What do \makeatletter and \makeatother do?

Programmcode / Listing

LaTeX/Source Code Listings
Listings mit Matlab
Styling a lstlisting caption using caption package
input filename as caption in listing

Literatur zu Quellen ändern

Überm Literaturverzeichnis soll “Quellenangaben” statt “Literatur” stehen

\renewcaptionname{ngerman}\bibname{Quellenangaben}
\renewcaptionname{ngerman}\refname{Quellenangaben} 

Separates Quellenverzeichnis neben Literaturverzeichnis

Bibliographien erstellen mit biblatex (Teil 1) (PDF)
Separates Literatur- und Quellenverzeichnis
Quellen- und Literaturverzeichnis erstellen

FAQ

bold just one line inside of lstlisting
Using bold/italic text inside listings?
How do I get \texttt with bold face in LaTeX?
Latex create a second keywordstyle using listing doesn’t work
LaTeX source code listing like in professional books
Various \textcolor within lstlisting?
Colored background in inline listings
\textcolor within lstlisting?
How do I add syntax coloring to my C++ source code in beamer

Visio-to-LaTeX

Metafile to EPS Converter (EMF or WMF)
Visio Diagrams in LaTeX — Exporting to EPS

Save as EMF -> Metafile to EPS Convertor -> Load in LaTex

Converting a Visio Image to EPS (via Gsview)
How to save visio VSD into EPS? (via Inkscape)

Präsentationen

Briefe mit LaTex: die Klasse scrlttr2

3rd Party

Highlight, Code-to-LaTeX
mario::konrad

Umgebungen

  • environment
  • mode
  • box (= Box, Rahmen. Je nachdem unsichtbar oder sichtbar)
  • glue (= Kleber. Klebt boxen statisch oder dynamisch aneinander)
  • float (= )
  • graphical object (alles, auch Zeichen, Zeichenketten, etc.(

Umgebung setzt wieder auf Blocksatz zurück, heisst also dass der Abstand zum rechten Rand (\rightskip) auf 0pt gesetzt wird.

  • minipage
  • tabular
  • parbox
  • footnote
  • caption
  • Modes
  • Page Styles
  • paragraph mode
  • inner paragraph mode

LaTeX is in paragraph mode when processing ordinary text. In that mode, LaTeX breaks your text into lines and breaks the lines into pages. Link

When LaTeX is processing your input text, it is always in one of three modes: Link

  • Paragraph mode
  • Math mode
  • Left-to-right mode, called LR mode for short

boxes

  • character boxes (invisible box)
  • parbox, minipage, and pbox (invisible box of specific width formatted)
  • makebox and mbox (creates a single-line box)
  • framebox and fbox (draws a box around its contents)

\mbox
Makebox creates a single-line box

Box around character / letter

Boxes
A box’s reference point
Issue: string manipulation with links inside
How to show only the TeX boxes [duplicate]
Bounding box for each letter
demobox-Beispiel aus TeX-Book und LaTeX quote Umgebung
How to draw a border around character in a formula?
Draw italic box as a placeholder (around a single letter) in a word

TeX Book

Everything on a page that has been typeset by TEX is made up of simple
character boxes or rule boxes, pasted together in combination. TEX pastes boxes
together in two ways, either horizontally or vertically. When TEX builds a
horizontal list of boxes, it lines them up so that their reference points appear
in the same horizontal row; therefore the baselines of adjacent characters will
match up as they should. Similarly, when TEX builds a vertical list of boxes, it
lines them up so that their reference points appear in the same vertical column.

EXERCISE 11.5
Construct a \demobox macro for use in writing manuals like this, so that an
author can write ‘\demobox{Tough exercise.}’ in order to typeset = = = =

Der LaTex Begleiter

Anhang A: Präambeln, Pakete und Klassen in LaTex

Verknüpfen von Markup und Formatierung

Befehls- und Umgebungsnamen

Definieren neuer Befehle

Seiten-Markup – Boxen und Linien

Kryptologie / Kryptografie

Implementations

Symmetric encryption algorithm for embedded system
Using the NaCl Crypto Library

Reference Manuals

UM0586 User manual: STM32 Cryptographic Library
Fast symmetric crypto on embedded CPUs

Wikipedia

Blockverschlüsselung
XTEA (eXtended Tiny Encryption Algorithm)
RC4
XXTEA

Der Recherchekompass

Kryptologie: Verschlüsselte Botschaften
Die moderne Kryptologie

Elektronik-Kompendium.de

Kryptografie / Kryptographie
Symmetrische Kryptografie
Asymmetrische Kryptografie
Kryptografische Protokolle / Verschlüsselungsverfahren

TI Basic

Calculator

68k TI-Basic

  • TI-89
  • TI-89 Titanium
  • TI-92
  • TI-92 Plus
  • Voyage 200

Editor

TI-Program Editor for Voyage 200 (official)
TI Program Editor (ZIP) => unofficial
TIEdit, 27.08.2017

TI-Basic Editor

TI-Basic Starter Kit » Computer Setup
YouTube: TI Program Editor (Video)

Wikipedia: TI-Basic

Wikibooks

TI-Basic
TI-Basic für Voyage 200

Screenshots

Program or Function
  • Functions (defined with Func..EndFunc)
    return a value, and can’t affect the overall state of the calculator.
  • Programs (defined with Prgm..EndPrgm)
    can do anything, but don’t return a value directly.
PRGM Argument

tibasicdev.wikidot.com

Programming Commands
Graphics Commands
Command Index

Examples

RSA Encryption

Output
Input
Disp
Text

Lists

Lists and Their Commands

{ 1, 2, 3 } -> a
a[0]  Dimension error
a[1]  1
a[2]  2
a[3]  3
a[4]  Dimension error

Matrices

Matrices and Their Commands

[ 1, 2; 3, 4] -> a
[[1, 2][3, 4]] -> b
{{1, 2}{3, 4}} -> c

68K

setMode
ClrIO
The & Command (append)
expr
string
String Functions
format
approx

Variable Declaration

(STO Key, on the right of Space)

Control Flow

Control Flow Overview
If
For

Imaginary number

The round() command
Strangely enough, if you enter an imaginary number into the round() command, nothing happens and the calculator returns the same function in a simplified form.

Imaginary

Fernseh Dokumentation

Harald Lesch

Leschs Kosmos: Das Heiz-Paradoxon
Leben wir in einer Matrix? | Harald Lesch
String -Theorie | Harald Lesch
Die Schönheitsfalle – Wenn Attraktivität zum Verhängnis wird – Abenteuer Forschung Teil 1

Teenie Model – Dokumentation Deutsch – HD!
Ein Dorf im Süd-Ural (Russland-Doku)
Flirten auf Russisch (Russland-Doku)
Reiche Männer finden attraktive junge Frauen [Doku “Sugar Daddy” 2016]
[Doku] Die Geschichte der käuflichen Liebe

Python matplotlib

Tight Layout guide

Advanced plotting

Advanced plotting

  • Moving to object-based plotting
  • Figure size
  • Placing Axes
  • Twin axes
  • Controlling the appearance of plots
  • rc parameters
  • Adding a legend
  • Adding a colorbar
  • Custom ticks and labels
  • Artists, Patches, and Lines

stackoverflow

How do I draw a grid onto a plot in Python? [closed]
Set figure object to bounding box of fig.get_tightbbox()
Definition of matplotlib.pyplot.axes.bbox

Backend

Usage Guide – Backends
matplotlib.use required before other imports clashes with pep8. Ignore or fix?

import matplotlib
matplotlib.use('GTK3Cairo')  # noqa
import matplotlib.pyplot as plt
TkCairo
GTK3Agg
GTK3Cairo
ValueError: Unrecognized backend string 'gtk': valid strings are
['GTK3Agg', 'GTK3Cairo', 'MacOSX', 'nbAgg', 'Qt4Agg', 'Qt4Cairo',
 'Qt5Agg', 'Qt5Cairo', 'TkAgg', 'TkCairo', 'WebAgg', 'WX', 'WXAgg',
 'WXCairo', 'agg', 'cairo', 'pdf', 'pgf', 'ps', 'svg', 'template']

LaTex

$ sudo apt-get install texlive texlive-lang-german texlive-latex-extra 
$ sudo apt-get install dvipng
$ sudo apt-get install ghostscript-x

Text rendering With LaTeX
Text rendering With LaTeX
How do I write a Latex formula in the legend of a plot using Matplotlib inside a .py file?
Text rendering with LaTeX
Rendering math equations using TeX

\displaystyle

Display style in math mode

\displaystyle
works: GTK3Agg
doesn't work: GTK3Cairo, TkCairo

Convert to PostScript / PDF

Poppler, a PDF rendering library
Xpdf, an open source viewer for Portable Document Format (PDF) files


Zoom


class FigureManagerQT(FigureManagerBase):
    def __init__(self, canvas, num):
        self.window = MainWindow()
        super().__init__(canvas, num)
        self.window.closing.connect(canvas.close_event)
        self.window.closing.connect(self._widgetclosed)

        image = str(cbook._get_data_path('images/matplotlib.svg'))
        self.window.setWindowIcon(QtGui.QIcon(image))

        self.window._destroying = False

        self.toolbar = self._get_toolbar(self.canvas, self.window)
        self.window.setCentralWidget(self.canvas)

        # [...]

        if self.toolbar:
            self.window.addToolBar(self.toolbar)
            tbs_height = self.toolbar.sizeHint().height()

    def _get_toolbar(self, canvas, parent):
        # must be inited after the window, drawingArea and figure
        # attrs are set
        if mpl.rcParams['toolbar'] == 'toolbar2':
            toolbar = NavigationToolbar2QT(canvas, parent, True)
        elif mpl.rcParams['toolbar'] == 'toolmanager':
            toolbar = ToolbarQt(self.toolmanager, self.window)
        else:
            toolbar = None
        return toolbar

class NavigationToolbar2QT(NavigationToolbar2, QtWidgets.QToolBar):
    def __init__(self, canvas, parent, coordinates=True):
        # [...]
        for text, tooltip_text, image_file, callback in self.toolitems:
            if text is None:
                self.addSeparator()
            else:
                a = self.addAction(self._icon(image_file + '.png'),
                                   text, getattr(self, callback))
                self._actions[callback] = a
                if callback in ['zoom', 'pan']:
                    a.setCheckable(True)
                if tooltip_text is not None:
                    a.setToolTip(tooltip_text)
        # [...]
    def drawRectangle(self, rect):
        # Draw the zoom rectangle to the QPainter.  _draw_rect_callback needs
        # to be called at the end of paintEvent.


# Toolbar Zoom Button Click
class NavigationToolbar2QT(NavigationToolbar2, QtWidgets.QToolBar):
    [...]
    def zoom(self, *args):
        super().zoom(*args)
        self._update_buttons_checked()
    [...]


Tooltip / Annotation

Tooltips with Python’s Matplotlib
How to add hovering annotations to a plot


Pick Event

click data on/off in legend python scatterplot
Is it possible to use matplotlib legend picker selecting legend text area not legend line?
matplotlib — interactively select points or locations?
Legend Picking
Pick Event Demo