Include common header with quick links.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 13 Jul 2012 22:32:19 +0300
changeset 1334 9bf0d5a1f0cf
parent 1333 81e09593158f
child 1335 3bd105dc47ab
Include common header with quick links.
3d.rst
Makefile
README.rst
abbr.rst
asciidoc.rst
audio.rst
bash.rst
benchmark.rst
bsd-debug.rst
build-tools.rst
bzr.rst
chm.rst
cmd.rst
code-analysis.rst
code-metrics.rst
cpp.rst
css.rst
cvs.rst
cygwin.rst
date.rst
debian-apt.rst
debian.rst
devel-codetags.rst
devel-ideal-proj.rst
devel-productivity.rst
devel-proj-branching.rst
devel-proj-files.rst
devel-scm.rst
devel-versioning.rst
dict.rst
display.rst
django.rst
djvu.rst
doxygen.rst
dup.rst
emacs.rst
firefox.rst
font.rst
fs.rst
game-console.rst
game.rst
gimp.rst
git.rst
gmail.rst
gnu-make.rst
grub.rst
hams.rst
hg.rst
highlight.rst
html.rst
http.rst
i18n.rst
image.rst
isabelle.rst
java.rst
javadoc.rst
lang-comp.rst
linux-debug.rst
linux-driver.rst
linux-wifi.rst
linux.rst
lisp.rst
macosx-debug.rst
mail.rst
media-type.rst
menu.rst
msvc.rst
music-soft.rst
net.rst
ocr.rst
php.rst
port.rst
prettyprint.rst
printer.rst
python.rst
refcard.rst
screencast.rst
screenshort.rst
sh.rst
sml.rst
ssh.rst
stat.rst
terminal.rst
torrent.rst
udev.rst
video.rst
vt100.rst
web-search.rst
web-seo.rst
web-site.rst
webdaw.rst
windows-driver.rst
windows-reg.rst
windows.rst
x.rst
xkb.rst
xml.rst
xorg.rst
--- a/3d.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/3d.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =====
  3D.
--- a/Makefile	Fri Jul 13 22:02:58 2012 +0300
+++ b/Makefile	Fri Jul 13 22:32:19 2012 +0300
@@ -34,7 +34,7 @@
 ################################################################
 # Proj dirs/files.
 
-RST_FILES := $(wildcard *.rst)
+RST_FILES := $(filter-out HEADER.rst,$(wildcard *.rst))
 TXT_FILES := $(wildcard *.txt)
 
 HTML_DIR := tips-html
@@ -67,9 +67,18 @@
 .PHONY: html
 html: $(HTML_FILES) $(TXT__FILES)
 
-$(HTML_DIR)/%.html: %.rst rst.css $(MAKEFILE_LIST) | $(HTML_DIR)
+$(HTML_DIR)/%.html: %.rst HEADER.rst rst.css $(MAKEFILE_LIST) | $(HTML_DIR)
 	$(RST2HTML) $(RST_FLAGS) --stylesheet=rst.css $*.rst $@
 
+HEADER.rst: Makefile
+	{ \
+echo '.. _Home: frame.html'; \
+echo '.. _`Home (no frame)`: index.html'; \
+echo '.. _About: http://gavenkoa.users.sourceforge.net/'; \
+echo; \
+echo '[ Home_ | `Home (no frame)`_ | About_ ]'; \
+} >$@
+
 $(HTML_DIR)/frame-index.html: index.sh $(RST_HTML_FILES) $(MAKEFILE_LIST) | $(HTML_DIR)
 	./index.sh frame >$@
 
@@ -112,7 +121,7 @@
 
 .PHONY: clean
 clean:
-	rm -r -f $(DIRS)
+	rm -r -f $(DIRS) HEADER.rst
 
 ################################################################
 # Helper target.
--- a/README.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/README.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,3 +1,5 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ================
  gavenkoa tips.
--- a/abbr.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/abbr.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ===============
  Abbreviation.
--- a/asciidoc.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/asciidoc.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ===========
  asciidoc.
--- a/audio.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/audio.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ========
  Audio.
--- a/bash.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/bash.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =======
  Bash.
--- a/benchmark.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/benchmark.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ============
  Benchmark.
--- a/bsd-debug.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/bsd-debug.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ======================
  Debugging under BSD.
--- a/build-tools.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/build-tools.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ==============
  Build tools.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bzr.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -0,0 +1,184 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+======
+ BZR.
+======
+.. contents::
+
+Import existing/init new project.
+=================================
+::
+
+  $ mkdir proj
+  $ cd proj
+  $ touch README Makefile main.c
+  $ bzr init
+  Created a standalone tree (format: 2a)
+  $ bzr add .
+  adding Makefile
+  adding README
+  adding main.c
+  $ bzr ci -m 'Init proj.'
+  Committing to: /cygdrive/e/home/devel/tmp/vcs-bzr/proj/
+  added Makefile
+  added README
+  added main.c
+  Committed revision 1.
+
+Cloning/branching repo.
+=======================
+
+'branch'/'get'/'clone' are aliases for 'branch' command::
+
+  $ bzr clone proj/ proj-clone
+  Branched 1 revision(s).
+
+Updating repo.
+==============
+
+Incoming changes.
+=================
+::
+
+  $ bzr missing --theirs-only bzr://bzr.example.com/proj/trunk
+
+Outgoing changes.
+=================
+::
+
+  $ bzr st
+  modified:
+  README
+  $ bzr ci -m up
+  Committing to: /cygdrive/e/home/devel/tmp/vcs-bzr/proj-clone/
+  modified README
+  Committed revision 2.
+  $ bzr missing --mine-only
+  Using saved parent location: /cygdrive/e/home/devel/tmp/vcs-bzr/proj/
+  You have 1 extra revision(s):
+  ------------------------------------------------------------
+  revno: 2
+  committer: Oleksandr Gavenko <gavenkoa@gmail.com>
+  branch nick: proj-clone
+  timestamp: Mon 2011-01-24 00:21:27 +0200
+  message:
+    up
+
+Working copy status.
+====================
+
+'status'/'st'/'stat' are aliases for 'status' command::
+
+  $ bzr rm README
+  deleted README
+  $ bzr st
+  removed:
+    README
+
+Show working copy diff.
+=======================
+::
+
+  $ echo hello >README
+  $ bzr diff
+  === modified file 'README'
+  --- README  2011-01-23 21:16:40 +0000
+  +++ README  2011-01-23 21:37:47 +0000
+  @@ -0,0 +1,1 @@
+  +hello
+
+Show history log.
+=================
+::
+
+  $ bzr log
+
+Adding files to repo.
+=====================
+::
+
+  $ touch hello.c
+  $ bzr add hello.c
+  adding hello.c
+
+Deleting files from repo.
+=========================
+
+'remove'/'rm'/'del' are aliases for 'remove' command::
+
+  $ bzr rm README
+  deleted README
+
+Undo local changes.
+===================
+::
+
+  $ bzr rm README
+  deleted README
+  $ bzr revert README
+  +N  README
+
+Undo last commit.
+=================
+::
+
+  $ bzr add hello.c
+  adding hello.c
+
+  $ bzr ci -m bug
+  Committing to: /cygdrive/e/home/devel/tmp/vcs-bzr/proj-clone/
+  added hello.c
+  Committed revision 2.
+
+  $ bzr uncommit
+  Are you sure? [y/n]: y
+    2 Oleksandr Gavenko	2011-01-23
+      bug
+
+  The above revision(s) will be removed.
+  You can restore the old tip by running:
+    bzr pull . -r revid:gavenkoa@gmail.com-20110123213425-f2ca8umip5iw73is
+
+  $ bzr st
+  added:
+  hello.c
+
+Info about bzr repo.
+====================
+::
+
+  $ bzr info
+  Standalone tree (format: 2a)
+  Location:
+    branch root: .
+
+  Related branches:
+    parent branch: /cygdrive/e/home/devel/tmp/vcs-bzr/proj
+
+Shelf changes.
+==============
+::
+
+  $ bzr st
+  modified:
+    README
+  $ bzr shelve --all
+  Selected changes:
+   M  README
+  Changes shelved with id "1".
+  $ bzr diff
+  $ bzr shelve --list
+  1: <no message>
+  $  bzr unshelve
+  Using changes with id "1".
+   M  README
+  All changes applied successfully.
+  Deleted changes with id "1".
+
+How find most recent tag for current revision.
+==============================================
+::
+
+  $ bzr tags --sort=time
+
--- a/chm.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/chm.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ======
  CHM.
--- a/cmd.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/cmd.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ====================
  CMD Windows shell.
--- a/code-analysis.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/code-analysis.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ================
  Code analysis.
--- a/code-metrics.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/code-metrics.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ===================
  Software metrics.
--- a/cpp.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/cpp.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =======================
  cpp (C preprocessor).
--- a/css.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/css.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ======
  CSS.
--- a/cvs.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/cvs.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ======
  CVS.
--- a/cygwin.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/cygwin.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =========
  Cygwin.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/date.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -0,0 +1,100 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+================
+ Date and time.
+================
+.. contents::
+
+System timer and system time.
+=============================
+
+Windows.
+--------
+
+Windows assume that system timer display locale time.
+
+Debian.
+-------
+
+UTC=no - system timer display locale time, UTC=yes - UTC time::
+
+  $ cat /etc/default/rcS
+  UTC=no
+  # or UTC=yes
+
+If system dual boot with Windows you must set ``UTC=no``.
+
+Getting current date/time.
+==========================
+::
+
+  $ date +"%Y-%m-%d %H:%M:%S"
+
+Setting current date/time.
+==========================
+::
+
+  $ sudo date --set="2009-02-22 12:12:00" +"%Y-%m-%d %H:%M:%S"
+
+Or set utc time::
+
+  $ sudo date --utc --set="2009-02-22 12:12:00" +"%Y-%m-%d %H:%M:%S"
+
+May be prefer use ntpdate(8) command.
+
+Get timezone.
+=============
+
+System wide configuration::
+
+  $ cat /etc/timezone
+
+Get list of supported timezone.
+===============================
+::
+
+  $ tzselect
+
+Set timezone.
+=============
+::
+
+  $ sudo tzconfig
+  ...
+
+Or using tzselect::
+
+  $ sudo tzselect
+  ...
+
+Debian Lenny.
+-------------
+
+  $ sudo dpkg-reconfigure tzdata
+
+About timestamp.
+================
+
+ * http://en.wikipedia.org/wiki/Timestamp
+ * http://en.wikipedia.org/wiki/Unix_time
+ * http://en.wikipedia.org/wiki/Leap_second
+
+Get timestamp.
+--------------
+
+Current timestamp::
+
+  $ date +%s
+
+Timestamp for specific date/time::
+
+  $ date -d '2010-12-11' +%s
+  $ date -d '2010-12-11 23:59:59' +%s
+
+Convert unix timestamp to date.
+-------------------------------
+::
+
+  $ date -d '1970-01-01 + 1234567890 seconds'
+
--- a/debian-apt.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/debian-apt.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ======
  Apt.
--- a/debian.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/debian.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =========
  Debian.
--- a/devel-codetags.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/devel-codetags.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ====================
  TODO like keywords
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/devel-ideal-proj.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -0,0 +1,95 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+======================================
+ Ideal softwaare development project.
+======================================
+.. contents::
+
+About ideal software development model.
+=======================================
+
+This file mainly discuss about open source software project.
+
+Open source.
+============
+
+Open source software project have freedom how develop project and which
+development toolchains use.
+
+Close source.
+=============
+
+Close source projects have proprietary nature because of:
+
+ * interest to make money (another parties can not easily reproduce project or
+   steal realisation ideas/code, allowing another party get same product and get
+   company money)
+ * low code quality (to stop stain company good name or to stop malicious
+   attacks based on code analysis)
+ * security consideration (to hide protocols and data format to make harder
+   malicious attack)
+ * business model (closed data formats allow vendor lock)
+
+Disadvantage of closed source project (in many case):
+
+ * you can not directly contact with developers (only through support)
+ * low support quality
+ * paid support (and you have no enough money)
+ * can not access to product bug tracing system (you only can submit bug via
+   crash report application or technical support, publicly appear internal bug
+   tracing can damage product reputation
+
+Component of software project.
+==============================
+
+ * Src (sources).
+ * Doc (documentation).
+ * VCS (version control system).
+ * BTS (bug tracking).
+ * News (project news/history/changelog).
+
+Project home page.
+==================
+
+Project home page must provide:
+
+ * project name
+ * short info about project goal
+ * project license
+ * current project status
+ * links to binary release
+ * links to source release, how to get latest source from VCS
+ * links to online/printed docs
+ * how report bug (BUGS)
+ * where send patch
+ * contact info
+
+Additionally:
+
+ * help welcome, requirement to join to project
+ * mail/news list for users/developers, how to subscribe/unsubscribe, where
+   find archive, how search for keyword in archive
+ * project history (NEWS, ChangeLog)
+ * project policy (HACKING)
+ * how build project (README, INSTALL)
+ * list of contributor with contact info (MAINTAINERS, AUTHORS)
+ * who use project
+
+Docs.
+=====
+
+TODO
+
+VCS.
+====
+
+TAGS: VCS, version control system, SCM, source code management, DVCS,
+      distributed version control system.
+
+ * CVS
+ * SVN
+ * Mercurial (hg)
+ * git
+ * bazaar
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/devel-productivity.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -0,0 +1,18 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+==========================
+ Developers productivity.
+==========================
+.. contents::
+
+Productivity statistic.
+=======================
+
+KLOC (kilo lines of code), MM (man month)::
+
+  41 KLOC / 119 MM  == 11 LOC/day  | 5 people | hard task, high/middle skills, new to domain
+  6 KLOC / 24 MM    == 8.3 LOC/day | 6 people | hard task, high skills
+  26 KLOC / 46 MM   == 19 LOC/day  | 7 people | easy task, middle skills
+  155 KLOC / 20 MM  == 260 LOC/day | 7 people | middle task, high skills, high level programming
+
--- a/devel-proj-branching.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/devel-proj-branching.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ===========================
  Project branching models.
--- a/devel-proj-files.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/devel-proj-files.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ============================
  Development project files.
--- a/devel-scm.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/devel-scm.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ==========================================
  Software configuration management (SCM).
--- a/devel-versioning.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/devel-versioning.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =================
  Version format.
--- a/dict.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/dict.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =============
  Dictionary.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/display.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -0,0 +1,151 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+==========
+ Display.
+==========
+.. contents::
+
+Native display resolutions.
+===========================
+
+  19"    4:3    SXGA    1280х1024
+  20"    4:3    UXGA    1600x1200
+  21"    4:3    UXGA    1600x1200
+  22"   16:10   WUXGA   1920x1200
+  24"   16:10   WUXGA   1920x1200
+  26"   16:10   WUXGA   1920x1200
+  30"   16:10   WQXGA   2560x1600
+
+PC display modes.
+=================
+
+VESA standards (SUPER VGA).
+---------------------------
+
+  640x480 text & graphics (256-16M colors)
+  800x600 text & graphics (16-16M colors)
+  1024x768 text & graphics (16-16M colors)
+  1280x1024 text & graphics (16-16M colors)
+
+IBM standards.
+--------------
+
+  MDA   720x350 text only, monochrome
+  CGA   320x200 text & graphics (4 colors)
+  EGA   640x350 text & graphics (16 colors)
+  MCGA  640x400 text; 320x200 graphics (256 cols)
+  VGA   720x400 text; 640x480 graphics (16 colors)
+  8514 1024x768 text & graphics (256 colors)
+  XGA  1024x768 text & graphics (256 colors)
+
+Hercules standard.
+------------------
+
+  720x348 text & graphics (monochrome)
+
+VESA modes.
+-----------
+
+  VESA BIOS Extension (VBE)
+  Super VGA modes defined by VESA
+
+  Mode no.                  Video
+  Dec. Hex  Res.    Colors  RAM used
+  256  100  640x400   256   250K
+  257  101  640x480   256   300K
+
+  258  102  800x600    16   234K
+  259  103  800x600   256   469K
+
+  260  104  1024x768   16   384K
+  261  105  1024x768  256   768K
+
+  262  106  1280x1024  16   640K
+  263  107  1280x1024 256  1280K
+
+  264  108   80x60 text     9.3K
+  265  109  132x25 text     6.4K
+  266  10A  132x43 text    11.1K
+  267  10B  132x50 text    12.9K
+  268  10C  132x60 text    15.5K
+
+  269  10D  320x200   32K   125K
+  270  10E  320x200   64K   125K
+  271  10F  320x200   16M   188K
+
+  272  110  640x480   32K   600K
+  273  111  640x480   64K   600K
+  274  112  640x480   16M   900K
+
+  275  113  800x600   32K   938K
+  276  114  800x600   64K   938K
+  277  115  800x600   16M  1406K
+
+  278  116  1024x768  32K  1536K
+  279  117  1024x768  64K  1536K
+  280  118  1024x768  16M  2304K
+
+  281  119  1280x1024 32K  2560K
+  282  11A  1280x1024 64K  2560K
+  283  11B  1280x1024 16M  3840K
+
+      81FF  Special mode to save
+            and restore video RAM.
+
+
+Note: As of VBE 2.0, VESA no longer defines new modes by number. It provides a mechanism for defining the mode by resolution.
+
+  Number    Pixel bits
+  colors    R  G  B
+  32K       5  5  5
+  64K       5  6  5
+  16M       8  8  8
+
+
+Earlier IBM modes.
+------------------
+
+  Mode
+  No. CGA
+  0   320x200  40x25 txt  16 gray
+  1   320x200  40x25 txt  16 colors
+  2   640x200  80x25 txt  16 gray
+  3   640x200  80x24 txt  16 colors
+  4   320x200  graphics    4 colors
+  5   320x200  graphics    4 gray
+  6   640x200  graphics   monochrome
+
+  EGA
+  0   320x350  40x25 txt  16 gray
+  1   320x350  40x25 txt  16 colors
+  2   640x350  80x25 txt  16 gray
+  3   640x350  80x25 txt  16 colors
+  7   720x350  80x25 txt  monochrome
+  13  320x200  graphics   16 colors
+  14  640x200  graphics   16 colors
+  15  640x350  graphics   monochrome
+  16  640x350  graphics   16 colors
+
+  MCGA
+  0   320x400  40x25 txt  16 gray
+  1   320x400  40x25 txt  16 colors
+  2   640x400  80x25 txt  16 gray
+  3   640x400  80x25 txt  16 colors
+  17  640x480  graphics   monochrome
+  19  320x200  graphics   256 colors
+
+  VGA
+  0   360x400  40x25 txt  16 gray
+  1   360x400  40x25 txt  16 colors
+  2   720x400  80x25 txt  16 gray
+  3   720x400  80x25 txt  16 colors
+  7   720x400  80x25 txt  monochrome
+  18  640x480  graphics   16 colors
+
+  XGA
+  640x480   graphics   256 colors
+  640x480   graphics   64K colors
+  1024x768  graphics   256 colors
+
+
--- a/django.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/django.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =========
  Django.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/djvu.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -0,0 +1,94 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===================
+ DJVU file format.
+===================
+
+About djvu.
+===========
+
+  http://djvu.org/links/
+                many useful links
+
+DJVU viewers.
+=============
+
+ * DjVuLibre (all OS).
+ * WinDjvu (Windows).
+
+DJVU Editors.
+=============
+
+ * DjVuLibre (all OS).
+ * DjVu Solo (Windows).
+
+DjVuLibre.
+----------
+
+ * A full set of utilities to manipulate and assemble DjVu images and documents.
+ * A set of decoders to convert DjVu to a number of other formats.
+ * A standalone DjVu viewer for Unix under X11 (based on the Qt library).
+ * A browser plugin that works with most Unix browsers
+
+  http://djvu.sourceforge.net/
+
+DjVu Solo.
+----------
+
+Tool for editing and merge files and documents in DjVu format from LizardTech.
+Currently not maintained.
+
+  http://www.djvu.org/resources/
+
+djvu to pdf.
+============
+
+djvulibre::
+
+  $ ddjvu -format=tiff book.djvu book.tiff
+  $ tiff2pdf -o book.pdf book.tiff
+
+pdf to djvu.
+============
+
+djvulibre.
+----------
+
+For 'pdftoppm' install xpdf (both Linux and Cygwin)::
+
+  $ pdftoppm -mono -r 600 -aa yes $PDF $PDF
+  $ for PBM in $PDF*.pbm; do  cjb2 -dpi $DPI $PBM $PBM.djvu;  rm -f $PBM;  done
+
+  $ djvm -c $OUTFILE $MASK*.pbm.djvu
+
+pdf2djvu.
+---------
+::
+
+  $ pdf2djvu file.pdf
+
+  http://code.google.com/p/pdf2djvu/
+                home page
+
+jpg to djvu.
+============
+
+JPEG to bitonal DjVu.
+---------------------
+::
+
+  $ anytopnm page.djvu | ppmtopgm | pgmtopbm -value 0.499 > page.pbm
+  $ cjb2 -dpi $DPI page.pbm page.djvu
+
+  $ djvm -c $OUTFILE $MASK.djvu    # Many .djvu to single .djvu.
+
+
+JPEG to low colour DjVu.
+------------------------
+::
+
+  $ cpaldjvu -dpi $DPI -colors $NCOLORS $i $i.djvu
+
+  $ djvm -c $OUTFILE $MASK.djvu    # Many .djvu to single .djvu.
+
--- a/doxygen.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/doxygen.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ==========
  Doxygen.
--- a/dup.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/dup.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ==============
  Duplication.
--- a/emacs.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/emacs.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ========
  Emacs.
--- a/firefox.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/firefox.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8; fill-column: 90 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ==========
  Firefox.
--- a/font.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/font.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =======
  Font.
--- a/fs.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/fs.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ==============
  File system.
--- a/game-console.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/game-console.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ================
  Console games.
--- a/game.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/game.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =======
  Game.
--- a/gimp.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/gimp.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 Enhancing Photographs.
 ======================
--- a/git.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/git.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ======
  Git.
--- a/gmail.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/gmail.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ========
  Gmail.
--- a/gnu-make.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/gnu-make.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ===========
  GNU Make.
--- a/grub.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/grub.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =======
  GRUB.
--- a/hams.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/hams.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =======
  Hams.
--- a/hg.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/hg.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ============
  Mercurial.
--- a/highlight.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/highlight.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ======================
  Syntax highlighting.
--- a/html.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/html.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =======
  HTML.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/http.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -0,0 +1,104 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=======
+ HTTP.
+=======
+
+Command line tools for HTTP protocol.
+=====================================
+
+  http://daniel.haxx.se/docs/curl-vs-wget.html
+                Comparing curl and wget.
+
+Recursive site download.
+========================
+
+``curl`` does not allow recursive site downloading, only ``wget`` can do this::
+
+  $ wget -r -np -nc -e robots=off -p -k http://DOMAIN/PATH
+
+Get server response header.
+===========================
+::
+
+  $ wget --server-response http://example.com
+  $ wget -S http://example.com    # short variant
+
+  $ curl --dump-header - http://example.com
+  $ curl -D - http://example.com
+
+View cookies from site.
+=======================
+::
+
+  $ wget --save-cookies FILE -O -  http://example.com  >/dev/null
+  $ curl --cookie-jar FILE -o - http://example.com  >/dev/null
+  $ curl -c FILE -o - http://example.com  >/dev/null
+
+Send cookies to site.
+=====================
+::
+
+  $ wget --load-cookies FILE  http://example.com
+  $ curl --cookie $name=$data  http://example.com
+  $ curl -b $name=$data  http://example.com
+
+Send specific header line.
+==========================
+::
+
+  $ wget --header='Accept-Charset: iso-8859-2' --header='Accept-Language: ru' http://example.com
+  $ curl --header 'Accept-Charset: iso-8859-2' http://example.com
+  $ curl -H 'Accept-Charset: iso-8859-2' http://example.com
+
+Send POST request.
+==================
+
+Log in to the server. This can be done only once::
+
+  $ wget --save-cookies cookies.txt --post-data 'user=foo&password=bar' http://server.com/auth.php
+
+Now grab the page or pages we care about::
+
+  $ wget --load-cookies cookies.txt -p http://server.com/interesting/article.php
+
+Web server in Cygwin.
+=====================
+::
+
+  $ setup -p apache2,lighttpd,dhttp
+
+Compressing HTTP data.
+======================
+
+Starting with HTTP/1.1, web clients can indicate support for compression::
+
+  Accept-Encoding: gzip, deflate
+
+Web server notifies the web client of this via the Content-Encoding header in
+the response::
+
+  Content-Encoding: gzip
+
+ETags.
+======
+
+Server respond::
+
+  HTTP/1.1 200 OK
+  Last-Modified: Tue, 12 Dec 2006 03:03:59 GMT
+  ETag: "10c24bc-4ab-457e1c1f"
+  Content-Length: 12195
+
+Lately client send::
+
+  GET /i/yahoo.gif HTTP/1.1
+  Host: us.yimg.com
+  If-Modified-Since: Tue, 12 Dec 2006 03:03:59 GMT
+  If-None-Match: "10c24bc-4ab-457e1c1f"
+
+and get respond::
+
+  HTTP/1.1 304 Not Modified
+
--- a/i18n.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/i18n.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,3 +1,5 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =======
  i18n.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/image.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -0,0 +1,31 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+========
+ Image.
+========
+
+GraphicsMagick.
+===============
+
+GraphicsMagick command-line utilities to create, edit, or convert images.
+
+ImageMagick.
+============
+
+ImageMagick - is a free software suite for the creation, modification and
+display of bitmap images.
+
+gthumb.
+=======
+
+gThumb is an advanced image viewer and browser. It has many useful features,
+such as filesystem browsing, slide show, image catalogs, web album creation,
+camera import, image CD burning, batch file operations and quick image editing
+features like transformation and color manipulation.
+
+Free art.
+=========
+
+  http://openclipart.org/
+                home page
--- a/isabelle.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/isabelle.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ===========
  Isabelle.
--- a/java.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/java.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ================
  Java language.
--- a/javadoc.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/javadoc.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ==========
  JavaDoc.
--- a/lang-comp.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/lang-comp.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ==================================
  Programming language comparison.
--- a/linux-debug.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/linux-debug.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ========================
  Debugging under Linux.
--- a/linux-driver.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/linux-driver.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =====================
  Driver under Linux.
--- a/linux-wifi.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/linux-wifi.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,3 +1,5 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ===================
  WiFi under linux.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/linux.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -0,0 +1,41 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+========
+ Linux.
+========
+.. contents::
+
+Linux distro.
+=============
+
+  http://distrowatch.com/
+                Comparing Linux distros.
+
+SysRq.
+======
+::
+
+  x86: ALT-SysRq-<command key>
+  SPARC: ALT-STOP-<command key>
+  PPC: ALT - Print Screen (or F13) - <command key>
+
+  'b' - reboot
+  'p' - dump the current registers and flags to your console
+  'r' - take control of keyboard back from X
+  'e' - send SIGTERM to all processes, except for init
+  'i' - send SIGKILL to all processes, except for init
+  's' - attempt to sync all mounted filesystems
+  'u' - remount all filesystems read-only
+
+You can put one of such line::
+
+  $ echo 0 > /proc/sys/kernel/sysrq  # disable
+  $ echo 1 > /proc/sys/kernel/sysrq  # enable
+
+to your /etc/rc.local or alternativaly place under /etc/sysctl::
+
+  kernel.sysrq = 1
+
+  http://www.kernel.org/doc/Documentation/sysrq.txt
+                Linux Magic System Request Key Hacks
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lisp.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -0,0 +1,45 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=======
+ Lisp.
+=======
+
+About.
+======
+
+  http://www.lisperati.com/
+                lisp comics
+
+Success stories.
+================
+
+ * http://www.lispworks.com/success-stories/index.html
+ * http://www.franz.com/success/
+
+guile.
+======
+
+Installing in Cygwin:
+
+  $ setup.exe -p guile
+
+CHICKEN.
+========
+
+Installing in Cygwin:
+
+  $ setup -p chicken
+
+clisp.
+======
+
+Installing in Cygwin:
+
+  $ setup.exe -p clisp
+
+Schema.
+=======
+
+  http://library.readscheme.org/
+                A lot of links.
--- a/macosx-debug.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/macosx-debug.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ========================
  Debugging in Mac OS X.
--- a/mail.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/mail.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =======
  Mail.
--- a/media-type.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/media-type.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ==============
  Media types.
--- a/menu.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/menu.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =======
  Menu.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/msvc.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -0,0 +1,165 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+==========================
+ Microsoft visual studio.
+==========================
+
+Downloads.
+==========
+
+MSVC.
+-----
+
+Starting from 2008 MSDN no longer distributed in .iso files. To install help use
+"Help Library Manager".
+
+  http://vshelpdownloader.codeplex.com/
+                Tool for downloading base Visual Studio 2010 MSDN package for
+                offline first installation.
+
+SDK.
+----
+
+  http://msdn.microsoft.com/en-us/windows/bb980924.aspx
+                Windows SDK
+
+Register SDK to Visual Studio.
+==============================
+
+To check all available version::
+
+  cmd> cd %PROGRAMFILES%\Microsoft SDKs\Windows\vX.X\Setup\
+  cmd> WindowsSdkVer.exe -version
+
+To check current used version::
+
+  cmd> cd %PROGRAMFILES%\Microsoft SDKs\Windows\vX.X\Setup\
+  cmd> WindowsSdkVer.exe -current
+
+Register SDK::
+
+  cmd> cd %PROGRAMFILES%\Microsoft SDKs\Windows\vX.X\Setup\
+  cmd> WindowsSdkVer.exe -version:v6.1
+
+MSVC versions.
+==============
+
+
+  NAME                       VER  _MSC_VER  cl
+  ========================== ==== ========  =====
+  Visual Studio 6.0 (1998)   6.0  1200
+  Visual Studio .NET (2002)  7.0  1300
+  Visual Studio .NET 2003    7.1  1310
+  Visual Studio 2005         8.0  1400      14.00
+  Visual Studio 2008         9.0  1500      15.00
+  Visual Studio 2010        10.0  1600      16.00
+
+To check version from command line::
+
+  cmd# cl /help 2>&1 | head -n 1
+  Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x8
+  cmd# cl /help 2>&1 | head -n 1 | sed "s=.*Version \([0-9]*\)\.\([0-9]*\)\..*=\1.\2="
+  16.00
+
+ * http://predef.sourceforge.net/precomp.html#sec35
+
+MFC versions.
+=============
+
+  MFC version      Visual C++ version
+  ===============  ===================
+  1.0              Microsoft C/C++ 7.0
+  2.0              Visual C++ 1.0
+  2.5              Visual C++ 1.5
+  3.0              Visual C++ 2.0
+  3.1              Visual C++ 2.1
+  3.2              Visual C++ 2.2
+  4.0              Visual C++ 4.0
+  4.1              Visual C++ 4.1
+  4.2              Visual C++ 4.2
+  4.21 (mfc42.dll) Visual C++ 5.0
+  6.0 (mfc42.dll)  Visual C++ 6.0
+  7.0 (mfc70.dll)  Visual C++ .NET 2002
+  7.1 (mfc71.dll)  Visual C++ .NET 2003
+  8.0 (mfc80.dll)  Visual C++ 2005
+
+  http://msdn.microsoft.com/en-us/library/3z02ch3k.aspx
+                ATL and MFC Version Numbers
+
+ALT version.
+============
+
+  ATL version   Visual C++ version
+  ============= ===================================================
+  1.0, 1.1, 2.0 None. Released to Web in Visual C++ 4.x time frame.
+  3.0           Visual C++ 6.0
+  7.0           Visual C++ .NET 2002
+  7.1           Visual C++ .NET 2003
+  8.0           Visual C++ 2005
+
+  http://msdn.microsoft.com/en-us/library/3z02ch3k.aspx
+                ATL and MFC Version Numbers
+
+MS SDK version.
+===============
+
+                                                    VER
+
+Included in Visual Studio 2005                      v5.0
+Included in Visual Studio 2008                      v6.0A
+SDK Update for Windows Vista
+SDK for Windows Server 2008 and .NET Framework 3.5  v6.1
+Included in Visual Studio 2010 Express              v7.0A
+SDK for Windows 7 and .NET Framework 3.5 SP 1       v7.0
+SDK for Windows 7 and .NET Framework 4              v7.1
+
+  http://msdn.microsoft.com/en-us/windows/dd146047.aspx
+                Which SDK do I install?
+  http://en.wikipedia.org/wiki/Microsoft_Windows_SDK#Versions
+                Microsoft Windows SDK Versions
+
+MSVC and SDK compatibility.
+===========================
+
+v6.1: MSVC 2005, 2008 + express
+v7.0: MSVC 2008 + express
+v7.1: MSVC 2005, 2008, 2010 + express
+
+Build MSVC project from command line.
+=====================================
+::
+
+  cmd> cd %proj%
+  cmd> %WINDIR%\Microsoft.NET\Framework\v2.0.50727\msbuild.exe  file.sln
+
+'msbuild.exe' can not upgrade Visual Studio project files, so you better use 'vcbuild.exe' (which
+present in MSVC version 8.0/9.0)::
+
+  cmd> cd %proj%
+  cmd> %MSVC_ROOT%\VC\vcpackages\vcbuild.exe  file.sln
+  cmd> %MSVC_ROOT%\VC\bin\amd64\vcbuild.exe  file.vcproj
+
+  cmd> cd %proj%
+  cmd> %MSVC_ROOT%\Common7\IDE\devenv.exe  /Clean file.sln
+  cmd> %MSVC_ROOT%\Common7\IDE\devenv.exe  /Build file.sln
+  cmd> %MSVC_ROOT%\Common7\IDE\devenv.exe  /Deploy file.sln
+
+  http://msdn.microsoft.com/en-us/library/ms164311.aspx
+                MSBuild Command Line Reference
+  http://msdn.microsoft.com/en-us/library/kdxzbw9t.aspx
+                VCBUILD Command Line
+  http://msdn.microsoft.com/en-us/library/xee0c8y7.aspx
+                Devenv Command Line Switches
+
+Check linking problem.
+======================
+
+Use '/verbose:lib' to see list of libraries for linking and thier order.
+
+Buy MSVC.
+=========
+
+  http://msdn.microsoft.com/ru-ru/subscriptions/subscriptionschart.aspx
+                Сравнение подписок MSDN
+
--- a/music-soft.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/music-soft.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ========
  Music.
--- a/net.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/net.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ==========
  Network.
--- a/ocr.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/ocr.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,3 +1,5 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ======
  OCS.
--- a/php.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/php.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ======
  PHP.
--- a/port.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/port.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ===============
  Network port.
--- a/prettyprint.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/prettyprint.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ===========================
  Pretty print source code.
--- a/printer.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/printer.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ===========
  Printers.
--- a/python.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/python.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ========
  Python
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/refcard.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -0,0 +1,24 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+==========
+ Refcard.
+==========
+.. contents::
+
+About refcard.
+==============
+
+Usually constructed from TeX/LaTeX source.
+
+  http://en.wikipedia.org/wiki/Reference_card
+
+Hosting site.
+=============
+
+ * http://refcards.com
+ * http://www.digilife.be/quickreferences/quickrefs.htm
+ * http://www.cheat-sheets.org
+ * http://www.addedbytes.com/cheat-sheets/
+ * http://refcardz.dzone.com/
+
--- a/screencast.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/screencast.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ============
  Screncast.
--- a/screenshort.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/screenshort.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,3 +1,6 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
 ==============
  Screenshort.
 ==============
--- a/sh.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/sh.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ========
  Shell.
--- a/sml.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/sml.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ==============
  Standard ML.
--- a/ssh.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/ssh.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
--*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ===========
  SSH/sshd.
--- a/stat.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/stat.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =========================
  OS resource statistics.
--- a/terminal.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/terminal.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ===========
  Terminal.
--- a/torrent.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/torrent.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =========
  Torrent
--- a/udev.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/udev.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,3 +1,5 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =======
  udev.
--- a/video.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/video.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ========
  Video.
--- a/vt100.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/vt100.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ==========================================================
  This document describes how to control a VT100 terminal.
--- a/web-search.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/web-search.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =============
  WEB search.
--- a/web-seo.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/web-seo.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ==========
  WEB SEO.
--- a/web-site.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/web-site.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ===========
  Web site.
--- a/webdaw.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/webdaw.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =========
  WebDAV.
--- a/windows-driver.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/windows-driver.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =====================
  Driver for Windows.
--- a/windows-reg.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/windows-reg.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,12 +1,19 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =================
  Registry files.
 =================
+.. contents::
 
+How to add, modify, or delete registry subkeys and values.
+==========================================================
 ::
 
   cmd# regedit.exe /s path-to.reg
 
+See:
+
   http://support.microsoft.com/kb/310516
                 How to add, modify, or delete registry subkeys and values by
                 using a registration entries (.reg) file.
--- a/windows.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/windows.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
 .. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =============
  Windows OS.
--- a/x.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/x.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,4 +1,5 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ====
  X.
--- a/xkb.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/xkb.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,3 +1,5 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ======
  xkb.
--- a/xml.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/xml.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,8 +1,10 @@
-.. -*- coding: utf-8 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 ======
  XML.
 ======
+.. contents::
 
 About XML.
 ==========
--- a/xorg.rst	Fri Jul 13 22:02:58 2012 +0300
+++ b/xorg.rst	Fri Jul 13 22:32:19 2012 +0300
@@ -1,7 +1,10 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
 =======
  Xorg.
 =======
+.. contents::
 
 Where find info?
 ================