Include only local subsections into TOC. This prevent duplication of
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:46:36 +0200
changeset 1905 fba288d59662
parent 1904 78357d58b7ab
child 1906 6f6d48f88341
Include only local subsections into TOC. This prevent duplication of TOC when build single page HTML document. Also this make unnecessary CSS hack to hide document title as top level section.
3d.rst
README.rst
abbr.rst
acl.rst
android-devel.rst
android.rst
ascii-art.rst
asciidoc.rst
asm.rst
atom.rst
audio.rst
autotools.rst
avr.rst
bash.rst
benchmark.rst
binary-size.rst
binary.rst
blog.rst
bluetooth.rst
bnf.rst
browsers.rst
bsd-debug.rst
build-tools.rst
bzr.rst
cat.rst
cellular-automaton.rst
chm.rst
clipboard.rst
cmd.rst
code-analysis.rst
code-metrics.rst
cpp.rst
cpu.rst
cracking.rst
cs.rst
css.rst
csv.rst
cvs.rst
cygwin.rst
date.rst
debian-apt.rst
debian-networking.rst
debian.rst
determine-os.rst
devel-codetags.rst
devel-ideal-proj.rst
devel-productivity.rst
devel-proj-branching.rst
devel-proj-files.rst
devel-proj-hierarchy.rst
devel-proj-managment.rst
devel-scm.rst
devel-versioning.rst
devel.rst
dict.rst
display.rst
django.rst
djvu.rst
doxygen.rst
dup.rst
emacs.rst
embedded.rst
epub.rst
expect.rst
feed.rst
fileid.rst
firefox-devel.rst
firefox.rst
font.rst
forth.rst
fossil.rst
freebsd.rst
fs.rst
fvwm.rst
game-console.rst
game-rogue.rst
game.rst
gamepad.rst
gcc.rst
gdb.rst
gimp.rst
git.rst
gmail.rst
gnu-make.rst
graph.rst
grub.rst
gui.rst
hams.rst
hardware.rst
haskell.rst
hex.rst
hg.rst
highlight.rst
host-name.rst
html-validator.rst
html.rst
http.rst
i18n.rst
image.rst
info.rst
init.rst
irc.rst
isabelle.rst
jabber.rst
java.rst
javadoc.rst
jboss.rst
kali.rst
lang-comp.rst
latex.rst
ldap.rst
license.rst
lighttpd.rst
linux-debug.rst
linux-driver.rst
linux-wifi.rst
linux.rst
liquibase.rst
lisp.rst
locale.rst
logging.rst
lvm.rst
macos.rst
macosx-debug.rst
mail.rst
malware.rst
man.rst
maven.rst
measurement.rst
media-type.rst
menu.rst
midi.rst
mount-ntfs.rst
mplayer.rst
msvc.rst
music-soft.rst
music-software.rst
music.rst
mysql.rst
net-mobile.rst
net.rst
netbeans.rst
newsgroup.rst
noise.rst
nsis.rst
ocr.rst
oracle.rst
os.rst
package-distribution.rst
package-management.rst
partition.rst
pcb.rst
perl.rst
pgp.rst
photo.rst
php.rst
port.rst
posix.rst
postgre.rst
prettyprint.rst
printer.rst
python.rst
qt.rst
refcard.rst
remote-shell.rst
rs232.rst
ru.rst
samba.rst
screencast.rst
screensaver.rst
screenshort.rst
security.rst
selenium.rst
sgml.rst
sh.rst
signal.rst
smartcard.rst
sml.rst
solaris.rst
source-docgen.rst
source-navigation.rst
spell.rst
spring.rst
sql.rst
stat.rst
style-checker.rst
sudo.rst
svn.rst
swap.rst
symbian-devel.rst
terminal.rst
texi.rst
thunderbird.rst
torrent.rst
typing-training.rst
udev.rst
upnp.rst
uri.rst
video.rst
vim.rst
virtualbox.rst
vm.rst
vt100.rst
web-accessibility.rst
web-search.rst
web-seo.rst
web-site.rst
web.rst
webdaw.rst
windows-devel.rst
windows-driver.rst
windows-reg.rst
windows-service.rst
windows.rst
wine.rst
x.rst
xkb.rst
xml-rpc.rst
xml.rst
xorg.rst
--- a/3d.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/3d.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  3D.
 =====
 .. contents::
+   :local:
 
 Pov-Ray.
 ========
--- a/README.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/README.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  gavenkoa tips.
 ================
 .. contents::
+   :local:
 
 About tips.
 ===========
--- a/abbr.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/abbr.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Abbreviation.
 ===============
 .. contents::
+   :local:
 
 Devel.
 ======
--- a/acl.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/acl.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  ACL.
 ======
 .. contents::
+   :local:
 
 Managing ACL permissions.
 =========================
--- a/android-devel.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/android-devel.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Android developemnt.
 ======================
 .. contents::
+   :local:
 
 Specs.
 ======
--- a/android.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/android.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Android.
 ==========
 .. contents::
+   :local:
 
 Official docs.
 ==============
--- a/ascii-art.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/ascii-art.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  ASCII art.
 ============
 .. contents::
+   :local:
 
 Make ASCII logo.
 ================
--- a/asciidoc.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/asciidoc.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  asciidoc.
 ===========
 .. contents::
+   :local:
 
 About.
 ======
--- a/asm.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/asm.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Assempler.
 ============
 .. contents::
+   :local:
 
 Decompile binary file.
 ======================
--- a/atom.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/atom.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Atom feed protocol
 ====================
 .. contents::
+   :local:
 
 About Atom Publishing Protocol
 ==============================
--- a/audio.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/audio.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Audio.
 ========
 .. contents::
+   :local:
 
 Sound in Debian.
 ================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/autotools.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,15 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===========
+ Autotools
+===========
+.. contents::
+   :local:
+
+Regenerate all autotools confetti
+=================================
+::
+
+  $ autoreconf
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/avr.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,75 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===============
+ Abbreviation.
+===============
+.. contents::
+   :local:
+
+AVR programming tutorials.
+==========================
+
+  http://www.avr-asm-tutorial.net/
+    Learning AVR Assembler with practical examples
+  http://www.avr-asm-download.de/index.html
+    Pdf download page.
+
+AVR ISP programmer.
+===================
+
+avrdude.
+--------
+
+AVRDUDE is an utility to download/upload/manipulate the ROM and EEPROM contents
+of AVR microcontrollers using the in-system programming technique (ISP).
+
+  http://www.nongnu.org/avrdude/
+    Home page.
+  http://savannah.nongnu.org/projects/avrdude/
+    Devel home page.
+
+uisp.
+-----
+
+Uisp is a tool for AVR microcontrollers which can interface to many hardware
+in-system programmers.
+
+  http://www.nongnu.org/uisp/
+    Home page.
+  http://savannah.nongnu.org/projects/uisp/
+    Devel home page.
+
+AVR tool-chains.
+================
+
+WinAVR.
+-------
+
+WinAVR (pronounced "whenever") is a suite of executable, open source software
+development tools for the Atmel AVR series of RISC microprocessors hosted on the
+Windows platform. It includes the GNU GCC compiler for C and C++.
+
+  http://winavr.sourceforge.net/
+    Home page.
+
+GNU AVR.
+--------
+::
+
+  $ sudo apt-get install binutils-avr gcc-avr avr-libc gdb-avr
+
+See:
+
+  http://www.nongnu.org/avr-libc
+    Home page.
+
+AVR simulator.
+==============
+
+simulavr.
+---------
+::
+
+  $ sudo apt-get install simulavr
+
--- a/bash.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/bash.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Bash.
 =======
 .. contents::
+   :local:
 
 How override PS1, PS2?
 ======================
--- a/benchmark.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/benchmark.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Benchmark.
 ============
 .. contents::
+   :local:
 
 CPU.
 ====
--- a/binary-size.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/binary-size.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Reducing binary code size
 ===========================
 .. contents::
+   :local:
 
 Common receipt
 ==============
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/binary.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,49 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+============
+ Binary ABI
+============
+.. contents::
+   :local:
+
+Caller vs callee
+================
+
+If routine A calls routine B then routine A is the caller and routine B is the
+callee. i.e. the caller is the routine which is calling the callee.
+
+The routine that initiates the call is the caller and the routine that is
+being called is is the callee.
+
+Argument vs parameter
+=====================
+
+From the perspective of the caller the thing which is passed is an argument.
+From the perspective of the routine that receives the call, i.e. the callee,
+the thing which is passed is a parameter.
+
+Linkage convention
+==================
+
+A linkage convention is computing term that means an agreement which is made
+between a caller and a callee. The agreement describes:
+
+ - how the caller should pass parameters to the callee
+
+ - what assumptions the callee is allowed to make about the values in the
+   machine registers at the moment of the call
+
+ - who should preserve registers which are modified by the callee and/or which
+   are important to the caller so that their original values are available
+   when the caller needs them
+
+ - how and where registers should be preserved
+
+ - how the callee knows where to return to when it is ready to return to the
+   caller
+
+ - how the callee returns a value to the caller if the routine is a function
+   (as opposed to a subroutine which has no return value)
+
+ - how a debugger will find the information necessary to obtain a stack trace
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/blog.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,234 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+======
+ Blog
+======
+.. contents::
+   :local:
+
+Blogspot
+========
+
+  http://code.google.com/apis/blogger/
+                The Blogger Data API
+  http://code.blogger.com/
+                Developer Documentation (API/Gadget/Layouts)
+
+Blogspot mobile version
+-----------------------
+
+  http://BLOGNAME.blogspot.com/?m=1
+
+Blogspot and Emacs
+------------------
+
+  http://code.google.com/p/e-blog/
+
+Feeds
+-----
+
+Blogspot.
+=========
+
+See:
+
+ * http://www.google.com/support/webmasters/bin/answer.py?answer=71188
+ * http://www.google.com/support/blogger/bin/answer.py?answer=97933
+
+Article feeds:
+
+ * Atom 1.0: http://BLOGNAME.blogspot.com/feeds/posts/default
+ * RSS 2.0: http://BLOGNAME.blogspot.com/feeds/posts/default?alt=rss
+ * Atom 1.0: http://BLOGNAME.blogspot.com/atom.xml
+ * RSS 2.0: http://BLOGNAME.blogspot.com/rss.xml
+
+Comments-only feed:
+
+ * Atom 1.0: http://BLOGNAME.blogspot.com/feeds/comments/default
+ * RSS 2.0: http://BLOGNAME.blogspot.com/feeds/comments/default?alt=rss
+
+Label-specific site feed:
+
+ * Atom 1.0: http://BLOGNAME.blogspot.com/feeds/posts/default/-/labelname
+ * RSS 2.0: http://BLOGNAME.blogspot.com/feeds/posts/default?alt=rss/-/labelname
+
+Individual post comment feed:
+
+ * Atom 1.0: http://BLOGNAME.blogspot.com/feeds/postId/comments/default
+ * RSS 2.0: http://BLOGNAME.blogspot.com/feeds/postId/comments/default?alt=rss
+
+Livejornal
+==========
+
+See:
+
+  http://www.livejournal.com/support/faqbrowse.bml?faqid=149
+
+Journal Feed URLs:
+
+ * Atom: http://NAME.livejournal.com/data/atom
+ * RSS: http://NAME.livejournal.com/data/rss
+
+Community Feed URLs:
+
+ * Atom: http://community.livejournal.com/NAME/data/atom
+ * RSS: http://community.livejournal.com/NAME/data/rss
+
+Tagged Entries:
+
+  View entries with a specific tag by adding ?tag=tagname to the end of the feed
+  URL, replacing tagname with the actual tag name. If you want to view two or
+  more tags at once, separate the tags with commas: ?tag=tag1,tag2.
+
+Wordpress
+=========
+
+See:
+
+ * http://support.wordpress.com/email-subscriptions/
+ * http://codex.wordpress.org/WordPress_Feeds
+
+Articles feed:
+
+ * http://BLOGNAME.wordpress.com/feed
+ * http://BLOGNAME.wordpress.com/feed/
+ * http://BLOGNAME.wordpress.com/feed/rss/
+ * http://BLOGNAME.wordpress.com/feed/rss2/
+ * http://BLOGNAME.wordpress.com/feed/rdf/
+ * http://BLOGNAME.wordpress.com/feed/atom/
+ * http://BLOGNAME.wordpress.com/?feed=rss
+ * http://BLOGNAME.wordpress.com/?feed=rss2
+ * http://BLOGNAME.wordpress.com/?feed=rdf
+ * http://BLOGNAME.wordpress.com/?feed=atom
+
+Comments feeds:
+
+ * http://BLOGNAME.wordpress.com/comments/feed/
+ * http://BLOGNAME.wordpress.com/?feed=comments-rss2
+
+Tagged Entries:
+
+ * http://BLOGNAME.wordpress.com/category/TAG/feed/
+ * http://BLOGNAME.wordpress.com/tag/TAG/feed/
+ * http://BLOGNAME.wordpress.com/?cat=CATNUMBER&feed=rss2
+ * http://BLOGNAME.wordpress.com/?tag=TAG&feed=rss2
+
+Blog engines
+============
+
+Wordpress
+---------
+
+WordPress is a state-of-the-art publishing platform with a focus on aesthetics,
+web standards, and usability. WordPress is both free and priceless at the same
+time.
+
+Movable Type
+------------
+
+  http://www.movabletype.com/download/
+    Movable Type Download
+  http://www.movabletype.org/documentation/
+    Movable Type Documentation
+  http://www.sixapart.com/movabletype/docs/
+    Old Movable Type Documentation
+  http://www.movabletype.org/documentation/developer/
+    Movable Type Developer Guide
+  http://www.movabletype.org/documentation/developer/api/
+    Web Service APIs
+
+LiveJournal
+-----------
+
+  http://www.livejournal.com/doc/server/ljp.csp.xml-rpc.protocol.html
+    XML-RPC Client/Server Protocol Reference
+  http://www.livejournal.com/developer/
+    Developer Information
+
+Byteflow
+--------
+
+Byteflow is a blog engine written in Python using Django.
+
+  http://byteflow.su/
+    Home page.
+
+Blog services
+-------------
+
+Cost-free blog services:
+
+ * Blogspot.
+ * Livejornal.
+ * Wordpress.
+ * LiveInternet.ru
+
+Commercial blog services:
+
+ * TypePad: http://www.typepad.com/
+
+Blog API
+--------
+
+  http://www.blogger.com/developers/api/
+    Blogger API (old Blogger API or version 1.0).
+  http://www.xmlrpc.com/metaWeblogApi
+    MetaWeblog API. Based on XML-RPC.
+
+    Supported engines: WordPress, LiveInternet.
+
+  http://codex.wordpress.org/XML-RPC_Support
+    XML-RPC Support
+  http://wiki.liveinternet.ru/ServisDnevnikovLiveInternet/InterfejjsyVzaimodejjstvija/MetaWeblogAPI?v=15qg
+    MetaWeblog API
+
+MovableType API Based on XML-RPC.
+
+Supported engines: WordPress, LiveInternet.
+
+  http://codex.wordpress.org/XML-RPC_Support
+    XML-RPC Support
+  http://mindsharestrategy.com/wp-xmlrpc-movabletype/
+    WordPress XML-RPC — MovableType API
+  http://wiki.liveinternet.ru/ServisDnevnikovLiveInternet/InterfejjsyVzaimodejjstvija/MovableTypeAPI
+    MovableType API
+  http://www.sixapart.com/developers/xmlrpc/movable_type_api/
+    Spec
+
+** Atom Publishing Protocol (AtomPub).
+
+Supported engines: Blogger (Blogger API v2.0), WordPress (since version 2.3).
+
+  http://codex.wordpress.org/AtomPub
+
+WordPress API
+-------------
+
+This is an extensions to the Movable Type API.
+
+Supported engines: WordPress only.
+
+  http://codex.wordpress.org/XML-RPC_wp
+    Spec.
+
+* After the jump/Read More.
+
+It's a holdover from newspaper pagination lingo. A story begun on page one might
+be longer than the space available, so a "See page #" is added at the end of the
+first page and the article continues on another. The continuation is referred to
+as the "jump".
+
+Blogs usually allow you to separate a post into two parts, one an excerpt that
+gets posted to the main page and to RSS, and the other a continuation with the
+main text of the article. 'After the jump' usually refers to the part that you
+see after you click 'Read more...'. "Below the fold" means the same thing on
+some sites.
+
+  http://www.google.com/support/blogger/bin/answer.py?answer=154172
+                Creating 'After the jump' summaries
+  http://codex.wordpress.org/Customizing_the_Read_More
+                Customizing the Read More
+  http://www.livejournal.com/support/faqbrowse.bml?faqid=75
+                How do I hide part of my entry behind a link? What is an lj-cut?
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bluetooth.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,188 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===========
+ Bluetooth
+===========
+.. contents::
+   :local:
+
+Specification
+=============
+
+  http://www.bluetooth.com/English/Technology/Building/Pages/Specification.aspx
+    Download page
+  http://en.wikipedia.org/wiki/Bluetooth_profile
+    Wiki page
+
+Debian
+======
+::
+
+  $ sudo apt-get install bluetooth
+  $ sudo apt-get install bluez-utils
+
+BlueZ
+=====
+
+BlueZ is official Linux Bluetooth protocol stack.
+
+How find local bluetooth device?
+================================
+::
+
+  $ hcitool dev
+  Devices:
+    hci0    00:03:C9:05:65:98
+    hci1    00:1F:81:00:02:5A
+
+or (hciconfig placed in /usr/sbin, so see you PATH!)::
+
+  $ hciconfig -a
+  hci0:   Type: USB
+    BD Address: 00:03:C9:05:65:98 ACL MTU: 1017:8 SCO MTU: 64:0
+    UP RUNNING PSCAN
+    RX bytes:2517 acl:12 sco:0 events:64 errors:0
+    TX bytes:756 acl:12 sco:0 commands:33 errors:0
+    Features: 0xff 0xff 0x8d 0xfe 0x9b 0xfd 0x00 0x80
+    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
+    Link policy: RSWITCH HOLD SNIFF PARK
+    Link mode: SLAVE ACCEPT
+    Name: 'desktop-0'
+    Class: 0x3e0100
+    Service Classes: Networking, Rendering, Capturing, Object Transfer, Audio
+    Device Class: Computer, Uncategorized
+    HCI Ver: 2.0 (0x3) HCI Rev: 0x2000 LMP Ver: 2.0 (0x3) LMP Subver: 0x415c
+    Manufacturer: Broadcom Corporation (15)
+
+  hci1:   Type: USB
+    BD Address: 00:1F:81:00:02:5A ACL MTU: 339:6 SCO MTU: 180:1
+    UP RUNNING PSCAN
+    RX bytes:398 acl:0 sco:0 events:18 errors:0
+    TX bytes:317 acl:0 sco:0 commands:17 errors:0
+    Features: 0xef 0x3e 0x09 0xf0 0x0b 0x08 0x00 0x00
+    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
+    Link policy: RSWITCH HOLD SNIFF PARK
+    Link mode: SLAVE ACCEPT
+    Name: 'desktop-1'
+    Class: 0x3e0100
+    Service Classes: Networking, Rendering, Capturing, Object Transfer, Audio
+    Device Class: Computer, Uncategorized
+    HCI Ver: 1.2 (0x2) HCI Rev: 0x2 LMP Ver: 1.2 (0x2) LMP Subver: 0x2
+    Manufacturer: not assigned (74)
+
+How find remote bluetooth device?
+=================================
+::
+
+  $ hcitool scan
+  Scanning ...
+        00:22:66:D1:B7:20       Nokia 5320
+
+In order to do this remote device must be set "visible".
+
+How to set bluetooth dongle "visible"?
+======================================
+::
+
+  $ hciconfig -a | grep hci.:
+  hci0: Type: USB
+
+  $ sudo hciconfig hci0 piscan
+
+How to determine bluetooth dongle is "visible"?
+===============================================
+
+Run hciconfig -a and see for PSCAN and ISCAN keyword::
+
+  $ hciconfig -a
+  hci0: Type: USB
+  ...
+      UP RUNNING PSCAN ISCAN
+  ...
+
+then try from another host::
+
+  $ hcitool scan
+
+or use another device such as phone to search.
+
+What version of Bluetooth support local device?
+===============================================
+
+HCI (Host/Controller Interface), LMP (Link Management Protocol)::
+
+  $ sudo hciconfig -a
+  hci0:   Type: USB
+  ...
+      HCI Ver: 2.0 (0x3) HCI Rev: 0x2000 LMP Ver: 2.0 (0x3) LMP Subver: 0x415c
+  ...
+  hci1:   Type: USB
+  ...
+      HCI Ver: 1.2 (0x2) HCI Rev: 0x2 LMP Ver: 1.2 (0x2) LMP Subver: 0x2
+  ...
+
+What version of Bluetooth support remote device?
+================================================
+::
+
+  $ hcitool info 00:22:66:D1:B7:20 | grep LPM
+  LPM Version: 2.0 (0x3) LPM Subversion: 0x7a6
+
+What support remote device?
+===========================
+::
+
+  $ sudo sdptool browse  00:22:66:D1:B7:20
+
+  Browsing 00:22:66:D1:B7:20 ...
+  Service Name: AVRCP Target
+  Service Description: Audio Video Remote Control
+  Service Provider: Symbian Software Ltd.
+  Service RecHandle: 0x10000
+  Service Class ID List:
+    "AV Remote Target" (0x110c)
+  Protocol Descriptor List:
+    "L2CAP" (0x0100)
+      PSM: 23
+    "AVCTP" (0x0017)
+      uint16: 0x100
+  Profile Descriptor List:
+    "AV Remote" (0x110e)
+      Version: 0x0100
+  ...
+
+  00:1b:52:a8:f6:96
+
+See:
+
+  http://www.bluez.org/
+    bluez home page
+
+Remote control throw mobile.
+============================
+
+  http://anyremote.sourceforge.net/docs.html
+
+Spec
+====
+
+See
+
+  http://www.bluetooth.com/Bluetooth/Technology/Building/Specifications/
+
+Bluetooth on Windows.
+=====================
+
+``bthprops.cpl`` used for administrating Bluetooth device in Windows XP.
+
+``ipconfig`` used for see assigned IP address by PAN (Personal Area Networking).
+
+``telephon.cpl`` used to add modem.
+
+``fsquirt.exe`` used to send/recive file.
+
+  http://support.microsoft.com/kb/883259
+    How to install and configure Bluetooth devices in Windows XP Service Pack 2
+  http://support.microsoft.com/kb/841803
+    List of Bluetooth radio drivers that are included in Windows XP SP2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bnf.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,52 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=====
+ BNF
+=====
+
+What is BNF?
+============
+.. contents::
+   :local:
+
+BNF is an acronym for "Backus Naur Form". John Backus and Peter Naur introduced
+for the first time a formal notation to describe the syntax of a given language
+(ALGOL 60 programming language).
+
+See: :rfc:`2234`.
+
+BNF syntax
+==========
+
+The meta-symbols of BNF are:
+
+  ``::=``
+    Meaning "is defined as".
+  ``|``
+    Meaning "or".
+  ``<``,  ``>``
+    Angle brackets used to surround category names (some times skipped).
+  ``[``,  ``]``
+    Optional items are enclosed in.
+  ``{``,  ``}``
+    Repetitive items (zero or more times) are enclosed in.
+  ``"abc..."``
+    Terminals are enclosed in to distinguish them from meta-symbols.
+
+BNF in BNF
+==========
+::
+
+  syntax     ::=  { rule }
+  rule       ::=  identifier  "::="  expression
+  expression ::=  term { "|" term }
+  term       ::=  factor { factor }
+  factor     ::=  identifier |
+                  quoted_symbol |
+                  "("  expression  ")" |
+                  "["  expression  "]" |
+                  "{"  expression  "}"
+  identifier ::=  letter { letter | digit }
+  quoted_symbol ::= """ { any_character } """
+
--- a/browsers.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/browsers.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Browsers.
 ===========
 .. contents::
+   :local:
 
 Browsers release history.
 =========================
--- a/bsd-debug.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/bsd-debug.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Debugging under BSD.
 ======================
 .. contents::
+   :local:
 
 dtrace.
 =======
--- a/build-tools.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/build-tools.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Build tools.
 ==============
 .. contents::
+   :local:
 
 GNU Make.
 =========
--- a/bzr.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/bzr.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  BZR.
 ======
 .. contents::
+   :local:
 
 Import existing/init new project.
 =================================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cat.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,47 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=====
+ CAT
+=====
+.. contents::
+   :local:
+
+About CAT
+=========
+
+Computer-assisted translation, computer-aided translation, or CAT is a form of
+translation wherein a human translator translates texts using computer
+software designed to support and facilitate the translation process.
+
+  http://en.wikipedia.org/wiki/Computer_assisted_translation
+
+TMX
+===
+
+TMX (Translation Memory eXchange) is an open XML standard for the exchange of
+translation memory data created by computer-aided translation and localization
+tools.
+
+  http://www.lisa.org/standards/tmx/
+  http://en.wikipedia.org/wiki/Translation_Memory_eXchange
+
+Translation memory
+==================
+
+A translation memory, or TM, is a database that stores segments that have been
+previously translated. A translation-memory system stores the words, phrases
+and paragraphs that have already been translated and aid human translators.
+The translation memory stores the source text and its corresponding
+translation in language pairs called "translation units".
+
+  http://en.wikipedia.org/wiki/Translation_memory
+
+pootle
+======
+
+Pootle is a user-friendly web portal that makes the translation process so
+much simpler. It allows online translation, work assignment, gives statistics
+and allows easy volunteer contribution.
+
+  http://translate.sourceforge.net/wiki/pootle/index
--- a/cellular-automaton.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/cellular-automaton.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Cell automata.
 ================
 .. contents::
+   :local:
 
 Simulator.
 ==========
--- a/chm.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/chm.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  CHM.
 ======
 .. contents::
+   :local:
 
 Spec.
 =====
--- a/clipboard.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/clipboard.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Clipboard/selection
 =====================
 .. contents::
+   :local:
 
 MS Windows
 ==========
--- a/cmd.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/cmd.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  CMD Windows shell.
 ====================
 .. contents::
+   :local:
 
 Quoting.
 ========
--- a/code-analysis.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/code-analysis.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Code analysis.
 ================
 .. contents::
+   :local:
 
 About.
 ======
--- a/code-metrics.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/code-metrics.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Software metrics.
 ===================
 .. contents::
+   :local:
 
 About software/code metrics.
 ============================
--- a/cpp.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/cpp.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  cpp (C preprocessor).
 =======================
 .. contents::
+   :local:
 
 How to see macros expansion?
 ============================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cpu.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,20 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=====
+ CPU
+=====
+.. contents::
+   :local:
+
+ARM
+===
+
+  http://en.wikipedia.org/wiki/ARM_architecture
+
+TrustZone
+=========
+
+  http://www.arm.com/products/processors/technologies/trustzone.php
+
+
--- a/cracking.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/cracking.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Cracking.
 ===========
 .. contents::
+   :local:
 
 Password cracking tools.
 ========================
--- a/cs.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/cs.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  .NET, CS.
 ===========
 .. contents::
+   :local:
 
 Decompiler.
 ===========
--- a/css.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/css.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  CSS.
 ======
 .. contents::
+   :local:
 
 Adding CSS to HTML.
 ===================
--- a/csv.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/csv.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  CSV.
 ======
 .. contents::
+   :local:
 
 DBF to CSV.
 ===========
--- a/cvs.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/cvs.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  CVS.
 ======
 .. contents::
+   :local:
 
 CVS via proxy server.
 =====================
--- a/cygwin.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/cygwin.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Cygwin.
 =========
 .. contents::
+   :local:
 
 Installation.
 =============
--- a/date.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/date.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Date and time.
 ================
 .. contents::
+   :local:
 
 System timer and system time.
 =============================
--- a/debian-apt.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/debian-apt.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Apt.
 ======
 .. contents::
+   :local:
 
 Conf files.
 ===========
--- a/debian-networking.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/debian-networking.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Debian networking
 ===================
 .. contents::
+   :local:
 
 Описание файлов конфигурации::
 
--- a/debian.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/debian.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Debian.
 =========
 .. contents::
+   :local:
 
 Installing Debian.
 ==================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/determine-os.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,92 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+================
+ Detect OS info
+================
+.. contents::
+   :local:
+
+uname
+=====
+::
+
+  $ uname -a
+  Linux poly.tech-recipes.com 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386
+  GNU/Linux
+
+    kernel name:     Linux
+    hostname:        poly.tech-recipes.com
+    kernel release:  2.6.5-1.358
+    kernel version:  #1 Sat May 8 09:04:50 EDT 2004
+
+Linux version files
+===================
+
+See for file ``/etc/<distroname>-version`` or ``/etc/<distroname>-release``::
+
+  $ cat determine-os.sh
+    #!/bin/sh
+    [ -e /etc/SuSE-release ] && echo This is a SuSE system.
+    [ -e /etc/redhat-release ] && echo This is a redhat system.
+    [ -e /etc/fedora-release ] && echo This is a fedora system.
+    [ -e /etc/debian-version ] && echo This is a debian system.
+    [ -e /etc/slackware-version ] && echo This is a slackware system.
+
+See also list:
+
+  Novell SuSE
+    ``/etc/SuSE-release``
+  Red Hat
+    ``/etc/redhat-release``, ``/etc/redhat_version``
+  Fedora
+    ``/etc/fedora-release``
+  Slackware
+    ``/etc/slackware-release``, ``/etc/slackware-version``
+  Debian
+    ``/etc/debian_release``, ``/etc/debian_version``,
+  Mandrake
+    ``/etc/mandrake-release``
+  Yellow dog
+    ``/etc/yellowdog-release``
+  Sun JDS
+    ``/etc/sun-release``
+  Solaris/Sparc
+    ``/etc/release``
+  Gentoo
+    ``/etc/gentoo-release``
+
+Kernel version info
+===================
+
+Commonly, distributions will leave tags in the kernel version string to identify
+themselves. This can be found in the log files like ``/var/log/syslog`` or
+``/var/log/messages``::
+
+  $ cat /etc/issue
+
+or::
+
+  $ cat /proc/version
+
+Even if you run a custom kernel, you might still get hints from the gcc version
+like this one line from ``/var/log/syslog``::
+
+  Feb 20 05:54:07 sarge kernel: nf3 (root@sarge) (gcc version 3.4.4 20050314 (prerelease)
+  (Debian 3.4.3-13sarge1)) #1 PREEMPT Thu Nov 16 20:31:43 CET 2006
+
+'lsb_release' command
+=====================
+::
+
+  $ sudo apt-get install lsb-release
+
+  $ lsb_release -s -i
+  Debian
+
+  $ lsb_release -s -c
+  squeeze
+
+  $ lsb_release -s -r
+  6.0
+
--- a/devel-codetags.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/devel-codetags.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  TODO like keywords
 ====================
 .. contents::
+   :local:
 
 Existing resources.
 ===================
--- a/devel-ideal-proj.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/devel-ideal-proj.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Ideal software development project.
 =====================================
 .. contents::
+   :local:
 
 About ideal software development model.
 =======================================
--- a/devel-productivity.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/devel-productivity.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Developers productivity.
 ==========================
 .. contents::
+   :local:
 
 Productivity statistic.
 =======================
--- a/devel-proj-branching.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/devel-proj-branching.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Project branching models.
 ===========================
 .. contents::
+   :local:
 
 Branch types.
 =============
--- a/devel-proj-files.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/devel-proj-files.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Development project files.
 ============================
 .. contents::
+   :local:
 
 Additional reading.
 ===================
--- a/devel-proj-hierarchy.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/devel-proj-hierarchy.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Software project hierarchy.
 =============================
 .. contents::
+   :local:
 
 Additional reading.
 ===================
--- a/devel-proj-managment.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/devel-proj-managment.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Project management
 ====================
 .. contents::
+   :local:
 
 Cowboy coding
 =============
--- a/devel-scm.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/devel-scm.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Software configuration management (SCM).
 ==========================================
 .. contents::
+   :local:
 
 About.
 ======
--- a/devel-versioning.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/devel-versioning.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Version format.
 =================
 .. contents::
+   :local:
 
 Feature set versioning.
 =======================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/devel.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,26 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=============
+ Development
+=============
+.. contents::
+   :local:
+
+Numbers everyone should know
+============================
+
+ * L1 cache reference 0.5 ns
+ * Branch mispredict 5 ns
+ * L2 cache reference 7 ns
+ * Mutex lock/unlock 100 ns
+ * Main memory reference 100 ns
+ * Compress 1K bytes with Zippy 10,000 ns
+ * Send 2K bytes over 1 Gbps network 20,000 ns
+ * Read 1 MB sequentially from memory 250,000 ns
+ * Round trip within same datacenter 500,000 ns
+ * Disk seek 10,000,000 ns
+ * Read 1 MB sequentially from network 10,000,000 ns
+ * Read 1 MB sequentially from disk 30,000,000 ns
+ * Send packet CA->Netherlands->CA 150,000,000 ns
+
--- a/dict.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/dict.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Dictionary.
 =============
 .. contents::
+   :local:
 
 GoldenDict.
 ===========
--- a/display.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/display.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Display.
 ==========
 .. contents::
+   :local:
 
 Native display resolutions.
 ===========================
--- a/django.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/django.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Django.
 =========
 .. contents::
+   :local:
 
 Hello world Django app.
 =======================
--- a/djvu.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/djvu.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  DJVU file format.
 ===================
 .. contents::
+   :local:
 
 About djvu.
 ===========
--- a/doxygen.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/doxygen.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Doxygen.
 ==========
 .. contents::
+   :local:
 
 Installing.
 ===========
--- a/dup.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/dup.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Duplication.
 ==============
 .. contents::
+   :local:
 
 Search for duplicate lines.
 ===========================
--- a/emacs.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/emacs.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Emacs.
 ========
 .. contents::
+   :local:
 
 About.
 ======
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/embedded.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,26 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+==========
+ Embedded
+==========
+.. contents::
+   :local:
+
+Embedded OS
+===========
+
+ * bertos
+ * contiki
+ * tnkernel
+ * nut
+ * rtems
+ * threadx
+ * mantis
+ * rtt
+ * smx
+ * scmrtos
+ * xmkrtos
+ * freertos
+ * tinyos
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/epub.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,28 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+======
+ epub
+======
+.. contents::
+   :local:
+
+Reading ePub
+============
+
+Cool Reader:
+
+  http://coolreader.org/
+    Home page.
+
+Creating ePub
+=============
+
+eCub:
+
+  http://www.juliansmart.com/ecub
+    home page
+
+Sigil:
+
+  http://en.wikipedia.org/wiki/Sigil_%28application%29
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/expect.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,24 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+========
+ Expect
+========
+.. contents::
+   :local:
+
+About
+=====
+
+  http://sourceforge.net/projects/expect/
+    Home page.
+  http://wiki.tcl.tk/201
+    links about expect on tcl wiki
+  http://en.wikipedia.org/wiki/Expect
+    Wiki page.
+
+Java implementation
+===================
+
+  http://expectj.sourceforge.net/
+    Home page.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/feed.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,49 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===========
+ Web feeds
+===========
+.. contents::
+   :local:
+
+About
+=====
+
+  http://www.xmlrpc.com/spec
+    XML-RPC Specification
+  http://www.xmlrpc.com/metaWeblogApi
+    RFC: MetaWeblog API
+  http://www.intertwingly.net/wiki/pie/Rss20AndAtom10Compared
+    The purpose of this page is to summarize, as clearly and simply as possible,
+    the differences between the RSS 2.0 and Atom 1.0 syndication languages.
+
+Feed validator
+==============
+
+  http://www.atomenabled.org/feedvalidator/
+    for Atom and RSS
+
+Emacs feed reader
+=================
+
+newsticker.el:
+
+  http://www.nongnu.org/newsticker/
+    Home page.
+
+Feed readers
+============
+
+ * Thunderbird
+ * Google Reader
+
+Blog posting software
+=====================
+
+ScribeFire is an extension for the Mozilla Firefox Web browser, Google Chrome
+Web browser, and Apple Safari Web browser that allows you to easily post to all
+of your blogs.
+
+  http://www.scribefire.com/
+    home page
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fileid.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,30 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+================
+ File signature
+================
+.. contents::
+   :local:
+
+File signature list
+===================
+
+  http://www.garykessler.net/library/file_sigs.html
+    File signatures table
+  http://www.magicdb.org/
+    magicdb
+
+Determine file type utilities
+=============================
+
+file(1) Standard unix utility. It use /etc/magic db.
+
+PEiD detects most common packers, cryptors and compilers for PE files. It can currently detect more
+than 600 different signatures in PE files.
+
+Freewere, close source:
+
+  http://www.peid.info
+    home page
+
--- a/firefox-devel.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/firefox-devel.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Develop with/of Firefox.
 ==========================
 .. contents::
+   :local:
 
 Useful Firefox add-ons for developers.
 ======================================
--- a/firefox.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/firefox.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Firefox.
 ==========
 .. contents::
+   :local:
 
 How edit settings?
 ==================
--- a/font.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/font.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Font.
 =======
 .. contents::
+   :local:
 
 Show list of avaliable font under X.
 ====================================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/forth.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,30 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+============================
+ Forth programming language
+============================
+.. contents::
+   :local:
+
+Forth Foundation Library (FFL)
+==============================
+
+Data types     Collections        Hash & RNG       Interfaces       Development    Compound
+Bit Array      Array              CRC-32           Interval Timer   ANS Structures Text Input Stream
+Character      Single Linked List MD-5             Argument Parser  Escaped String Text Output Stream
+Dynamic String Double Linked List SHA-1            Gettexts mo-file Enumeration    Regular Expressions
+Character Set  Hash Table         SHA-256          XML/HTML Parser  String Table   XML-DOM
+Date Time      Binary Tree        Mersenne Twister XML/HTML Writer  Unit Test      DateTime Output Stream
+Complex Number AVL Tree           Distributed      Message Catalog
+Fraction       N-Tree
+
+See:
+
+  http://ffl.dvoudheusden.net/index.html
+
+List of Forth systems
+=====================
+
+  http://freshmeat.net/projects/4th
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fossil.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,46 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=============
+ Fossil DVCS
+=============
+.. contents::
+   :local:
+
+Simple work flow
+================
+::
+
+  $ mkdir proj
+  $ cd proj
+  $ fossil new proj
+  project-id: 3ec2bca6e6ee450ee4763d3ec43c7023e4f8fe92
+  server-id:  2a7bacb2b49cd97e71753697f7e116fda9fc199c
+  admin-user: user (initial password is "f8362e")
+  $ ls .
+  proj
+  $ fossil open proj
+  $ ls .
+  _FOSSIL_
+  proj
+  $ touch hello.c
+  $ fossil add hello.c
+  ADDED  hello.c
+  $ fossil ci -m init
+  New_Version: dc0f9cd1e8fc4ec2cd580c5fc231030313b91107
+  $ echo "#define TRUE 1" >>hello.c
+  $ fossil diff
+  ...
+  $ fossil status
+  ...
+  $ fossil ci -m "fixed bug"
+  ...
+  $ fossil timeline
+  ...
+  $ fossil leaves
+  ...
+  $ fossil ls
+  hello.c
+  $ fossil branch list
+  === 2010-10-12 ===
+  10:45:13 [a71787083b] initial empty check-in (user: user tags: trunk)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/freebsd.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,36 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+============
+ FreeBSD OS
+============
+.. contents::
+   :local:
+
+User management
+===============
+
+Add existing user to group::
+
+  $ pw usermod user-name -G to-group
+
+Add a new user to group::
+
+  $ pw useradd jerry -G sales
+  $ passwd jerry
+
+FreeBSD ports
+=============
+
+Configure package::
+
+  $ sudo make config
+
+Build package::
+
+  $ sudo make
+
+Install package::
+
+  $ sudo make install
+
--- a/fs.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/fs.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  File system.
 ==============
 .. contents::
+   :local:
 
 Supported FS.
 =============
--- a/fvwm.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/fvwm.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  FVWM.
 =======
 .. contents::
+   :local:
 
 Obtain FVWM capabilities.
 =========================
--- a/game-console.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/game-console.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Console games.
 ================
 .. contents::
+   :local:
 
 Best games.
 ===========
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/game-rogue.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,33 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+==================
+ Rogue like games
+==================
+.. contents::
+   :local:
+
+Nethack
+=======
+
+NetHack is a single-player roguelike video game originally released in 1987.
+
+  http://www.nethack.org/
+    Home page.
+  http://en.wikipedia.org/wiki/NetHack
+    Wiki page.
+
+Angband
+=======
+
+Angband is a free, single-player dungeon exploration game where you take the
+role of an adventurer, exploring a deep dungeon, fighting monsters, and
+acquiring the best weaponry you can, in preparation for a final battle with
+Morgoth, the Lord of Darkness.
+
+  http://www.thangorodrim.net/
+    Home page.
+  http://angband.calamarain.net/
+    Game comic.
+
+
--- a/game.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/game.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Game.
 =======
 .. contents::
+   :local:
 
 Civilisation.
 =============
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gamepad.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,28 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=========
+ Gamepad
+=========
+.. contents::
+   :local:
+
+Linux
+=====
+::
+
+  $ sudo apt-get install joystick
+  $ sudo apt-get install jscalibrator
+  $ sudo chmod 666 /dev/input/js0
+
+  $ modprobe joydev
+
+  $ jscal /dev/input/js0
+  $ jstest /dev/input/js0
+
+How play game with gamepad if thay not support gamepad?
+=======================================================
+
+  http://en.wikipedia.org/wiki/Xpadder
+    non-free, Windows only
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gcc.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,77 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=====
+ GCC
+=====
+.. contents::
+   :local:
+
+Remove dead code
+================
+
+  STRIP_DEAD_CODE = -Wl,-static -fvtable-gc -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-s
+
+  -Wl,-static
+                Link against static libraries. Required for dead-code
+                elimination.
+
+  -fvtable-gc
+                C++ virtual method table instrumented with garbage collection
+                information for the linker.
+
+  -fdata-sections
+                Keeps data in separate data sections, so they can be discarded
+                if unused.
+
+  -ffunction-sections
+                Keeps funcitons in separate data sections, so they can be
+                discarded if unused.
+
+  -Wl,--gc-sections
+                Tell the linker to garbage collect and discard unused
+                sections.
+
+  -s
+                Strip the debug information, so as to make the code as small
+                as possible. (I presume that you'd want to do this in a
+                dead-code removal build.)
+
+Map file
+========
+::
+
+  $ ld -Map=file.map <opts> <files>
+
+or::
+
+  $ gcc -Wl,-Map=file.map <opts> <files>
+
+Predefined macros
+=================
+::
+
+  $ gcc -arch ppc -dM -E - < /dev/null | sort
+
+Default search path
+===================
+
+  $ echo | gcc -v -x c -E -
+
+  $ gcc -print-search-dirs
+  install: ...
+  programs: ...
+  libraries: ...
+
+Use -### in actual invoking::
+
+  $ gcc -### -o foo foo.c
+
+  $ ld --verbose | grep SEARCH_DIR
+
+``LIBRARY_PATH`` and ``LD_LIBRARY_PATH``::
+
+  $ cpp -Wp,-v
+  $ cpp -Wp,-lang-c++,-v
+  $ cpp -x c++ -Wp,-v
+
--- a/gdb.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/gdb.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  GDB.
 ======
 .. contents::
+   :local:
 
 Get backtrace from all threads.
 ===============================
--- a/gimp.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/gimp.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -4,6 +4,7 @@
 Enhancing Photographs.
 ======================
 .. contents::
+   :local:
 
 Reducing Graininess.
 --------------------
--- a/git.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/git.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Git.
 ======
 .. contents::
+   :local:
 
 Setup git.
 ==========
--- a/gmail.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/gmail.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Gmail.
 ========
 .. contents::
+   :local:
 
 Configuration.
 ==============
--- a/gnu-make.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/gnu-make.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  GNU Make.
 ===========
 .. contents::
+   :local:
 
 Make docs.
 ==========
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/graph.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,53 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=====================
+ Graph visualisation
+=====================
+.. contents::
+   :local:
+
+General view
+============
+
+  http://en.wikipedia.org/wiki/List_of_graphing_software
+
+RRDtool
+=======
+
+RRDtool is the OpenSource industry standard, high performance data logging and
+graphing system for time series data. Use it to write your custom monitoring
+shell scripts or create whole applications using its Perl, Python, Ruby, TCL
+or PHP bindings.
+
+  http://oss.oetiker.ch/rrdtool/
+    Home page.
+
+Graphviz
+========
+
+Graph visualization is a way of representing structural information as
+diagrams of abstract graphs and networks. Automatic graph drawing has many
+important applications in software engineering, database and web design,
+networking, and in visual interfaces for many other domains.
+
+  http://www.graphviz.org/
+    Home page.
+
+Gnuplot
+=======
+
+Gnuplot is a portable command-line driven graphing utility for linux, OS/2, MS
+Windows, OSX, VMS, and many other platforms.
+
+Gnuplot supports many types of plots in either 2D and 3D. It can draw using
+lines, points, boxes, contours, vector fields, surfaces, and various
+associated text. It also supports various specialized plot types.
+
+Gnuplot supports many different types of output: interactive screen terminals
+(with mouse and hotkey input), direct output to pen plotters or modern
+printers, and output to many file formats (eps, fig, jpeg, LaTeX, metafont,
+pbm, pdf, png, postscript, svg, ...).
+
+  http://www.gnuplot.info
+    Home page.
--- a/grub.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/grub.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  GRUB.
 =======
 .. contents::
+   :local:
 
 Resore GRUB 2.
 ==============
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gui.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,127 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=====
+ GUI
+=====
+.. contents::
+   :local:
+
+Widgets
+=======
+
+About widgets:
+
+  http://en.wikipedia.org/wiki/GUI_widget
+
+Menu:
+
+  http://en.wikipedia.org/wiki/Menu_%28computing%29
+
+Context menu:
+
+  http://en.wikipedia.org/wiki/Context_menu
+
+Menubar:
+
+  http://en.wikipedia.org/wiki/Menu_bar
+
+Toolbar:
+
+  http://en.wikipedia.org/wiki/Toolbar
+
+Taskbar:
+
+  http://en.wikipedia.org/wiki/Taskbar
+
+Status bar:
+
+  http://en.wikipedia.org/wiki/Status_bar
+
+Scrollbar:
+
+  http://en.wikipedia.org/wiki/Scrollbar
+
+Progress bar:
+
+  http://en.wikipedia.org/wiki/Progress_bar
+
+Infobar:
+
+  http://en.wikipedia.org/wiki/Infobar
+
+Tab:
+
+  http://en.wikipedia.org/wiki/Tab_%28GUI%29
+
+Label:
+
+  http://en.wikipedia.org/wiki/Label_%28control%29
+
+Text box:
+
+  http://en.wikipedia.org/wiki/Text_box
+
+Check box:
+
+  http://en.wikipedia.org/wiki/Check_box
+
+List box:
+
+  http://en.wikipedia.org/wiki/List_box
+
+Combo box:
+
+  http://en.wikipedia.org/wiki/Combo_box
+
+Drop-down list:
+
+  http://en.wikipedia.org/wiki/Drop-down_list
+
+Radio button:
+
+  http://en.wikipedia.org/wiki/Radio_button
+
+Spinner:
+
+  http://en.wikipedia.org/wiki/Spinner_%28computing%29
+
+Slider:
+
+  http://en.wikipedia.org/wiki/Slider_%28computing%29
+
+Balloon help:
+
+  http://en.wikipedia.org/wiki/Balloon_help
+
+Tooltip:
+
+  http://en.wikipedia.org/wiki/Tooltip
+
+Toast:
+
+  http://en.wikipedia.org/wiki/Toast_%28computing%29
+
+Grid view:
+
+  http://en.wikipedia.org/wiki/Grid_view
+
+Tree view:
+
+  http://en.wikipedia.org/wiki/Tree_view
+
+Disclosure widget:
+
+  http://en.wikipedia.org/wiki/Disclosure_widget
+
+Icon:
+
+  http://en.wikipedia.org/wiki/Computer_icon
+
+Dialog box:
+
+  http://en.wikipedia.org/wiki/Dialog_box
+
+Splash screen:
+
+  http://en.wikipedia.org/wiki/Splash_screen
--- a/hams.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/hams.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Hams.
 =======
 .. contents::
+   :local:
 
 Hams in Debian project.
 =======================
--- a/hardware.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/hardware.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  List hardware.
 ================
 .. contents::
+   :local:
 
 Linux hardware compatibility databases.
 =======================================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/haskell.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,15 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+==============================
+ Haskell programming language
+==============================
+.. contents::
+   :local:
+
+Installing
+==========
+::
+
+  $ sudo apt-get install ghc6
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hex.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,19 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=========================
+ Hex data representation
+=========================
+.. contents::
+   :local:
+
+Dump binary data in hex.
+========================
+::
+
+  $ od -t x1 <file
+
+or::
+
+  $ hexdump -v -e '1/1 "0x%02x, "'
+
--- a/hg.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/hg.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Mercurial.
 ============
 .. contents::
+   :local:
 
 About.
 ======
--- a/highlight.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/highlight.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Syntax highlighting.
 ======================
 .. contents::
+   :local:
 
 JavaScript based syntax highlighters.
 =====================================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/host-name.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,33 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+============
+ Host names
+============
+.. contents::
+   :local:
+
+What characters may be used for host name?
+==========================================
+
+As say RFC 952 hostname is a text string up to 24 characters drawn from the alphabet
+(A-Z), digits (0-9), minus sign (-), and period (.).
+
+As say RFC 1035::
+
+  <domain> ::= <subdomain> | " "
+
+  <subdomain> ::= <label> | <subdomain> "." <label>
+
+  <label> ::= <letter> [ [ <ldh-str> ] <let-dig> ]
+
+  <ldh-str> ::= <let-dig-hyp> | <let-dig-hyp> <ldh-str>
+
+  <let-dig-hyp> ::= <let-dig> | "-"
+
+  <let-dig> ::= <letter> | <digit>
+
+  <letter> ::= any one of the 52 alphabetic characters A through Z in
+  upper case and a through z in lower case
+
+  <digit> ::= any one of the ten digits 0 through 9
--- a/html-validator.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/html-validator.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  HTML markup validator.
 ========================
 .. contents::
+   :local:
 
 w3c online validators.
 ======================
--- a/html.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/html.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  HTML.
 =======
 .. contents::
+   :local:
 
 Disable quirk mode.
 ===================
--- a/http.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/http.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  HTTP.
 =======
 .. contents::
+   :local:
 
 Command line tools for HTTP protocol.
 =====================================
--- a/i18n.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/i18n.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  i18n.
 =======
 .. contents::
+   :local:
 
 Microsoft.
 ==========
--- a/image.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/image.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Image.
 ========
 .. contents::
+   :local:
 
 Viewers.
 ========
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/info.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,35 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+==========
+ GNU info
+==========
+.. contents::
+   :local:
+
+How to install info files?
+==========================
+::
+
+  $ cd autobook
+  $ make info
+  ...
+  $ ls autobook.info*
+  autobook.info  autobook.info-1  autobook.info-2  autobook.info-3
+  $ cp autobook.info* $HOME/usr/share/info
+  $ /usr/bin/install-info --info-dir=$HOME/usr/share/info autobook.info
+
+or automated::
+
+  # Under Debian you need use 'ginstall-info' instead 'install-info'.
+  for i in `find . -name "*.info" -o -name "*.info-*"`; do
+    cp  $i ~/usr/share/info
+    install-info  $i ~/usr/share/info/dir
+  done
+
+Remove duplicated item in dir file
+==================================
+::
+
+  $ install-info --add-once ${info_file} /path/to/dir
+
--- a/init.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/init.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  init.
 =======
 .. contents::
+   :local:
 
 rc.d script.
 ============
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/irc.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,124 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=====
+ IRC
+=====
+.. contents::
+   :local:
+
+What are IRC client for emacs?
+==============================
+
+Most preferred is erc - it is powerful and comes with Emacs since 22.1
+version.
+
+See: http://www.emacswiki.org/emacs/InternetRelayChat.
+
+ * erc
+   http://www.emacswiki.org/emacs/ERC
+
+ * rcirc
+   http://www.emacswiki.org/emacs/rcirc
+
+ * ZenIRC, see:
+   http://www.emacswiki.org/emacs/ZenIRC
+
+Channel modes
+=============
+
+** Invite-Only channel.
+
+An Invite-Only channel can only be joined if you are invited by one of its
+channel operators.
+
+To make your channel invite-only:
+
+  irc> /mode #channel +i
+
+To invite users to the channel:
+
+  irc> /invite user #channel
+
+** Private channels.
+
+Private channels turn up normally in the channels list. People can see you are
+on a private channel somewhere, but they can never find out on -which- private
+channel you are unless they search all (private) channels by brute force.
+
+To make your channel private:
+
+  irc> /mode #channel +p
+
+** Secret channels.
+
+Secret channels do not show up in a channels list and you cannot find out its
+topic unless you join it. If you are on a secret channel, someone who is not
+on the same channel can't see that you are there.
+
+To make your channel secret::
+
+  irc> /mode #channel +s
+
+How make chanal for private discuss?
+====================================
+
+Create new channel and set it invite-only and invite all you need. Or make
+password protected channel.
+
+Create new channel (by joining to non existed one) with password:
+
+  irc> /join #<channel> <password>
+
+Another people join same:
+
+  irc> /join #<channel> <password>
+
+Or join without password and setup it late:
+
+  irc> /join #<channel>
+  irc> /mode +k <password>
+
+Don't forget set topic for newly created channel:
+
+  irc> /topic #<channel> <topic>
+
+What server well know?
+======================
+
+Random server (connect to most near placed):
+
+  irc.freenode.net
+                http://freenode.net/
+  irc.wyldryde.org
+                http://www.wyldryde.org/
+
+Freenode.
+=========
+
+How register on freenode::
+
+  irc> /msg nickserv register <your-password> <your-email>
+  ...get mail, make mail instructions...
+  irc> /msg nickserv set hidemail on
+
+Adding alternative nick::
+
+  irc> /nick foo_
+  irc> /msg nickserv group
+
+See:
+
+  http://freenode.net/faq.shtml#registering
+  http://freenode.net/faq.shtml#nicksetup.
+
+Getting help
+============
+::
+
+  /help
+  /msg nickserv help
+  /msg chanserv help
+
+  /msg chanserv access #icfp-contest list
+
--- a/isabelle.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/isabelle.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Isabelle.
 ===========
 .. contents::
+   :local:
 
 Prepare user work dir.
 ======================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jabber.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,24 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+========
+ Jabber
+========
+.. contents::
+   :local:
+
+emacs-jabber
+============
+
+gtalk configuration::
+
+  (add-to-list 'load-path "/home/user/usr/share/emacs/site-lisp/emacs-jabber-0.7.92")
+  (require 'jabber)
+
+  (setq jabber-account-list '(
+                              ("your-name@gmail.com"
+                              ;;   (:password . nil) or (:password . "your-pass")
+                                (:network-server . "talk.google.com")
+                                (:port . 443)
+                                (:connection-type . ssl))
+                              ))
--- a/java.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/java.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Java language.
 ================
 .. contents::
+   :local:
 
 Class version.
 ==============
--- a/javadoc.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/javadoc.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  JavaDoc.
 ==========
 .. contents::
+   :local:
 
 Convert JavaDoc to CHM.
 =======================
--- a/jboss.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/jboss.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  JBoss AS.
 ===========
 .. contents::
+   :local:
 
 JBoss documentation.
 ====================
--- a/kali.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/kali.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Kali.
 =======
 .. contents::
+   :local:
 
 About Kali distribution.
 ========================
--- a/lang-comp.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/lang-comp.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Programming language comparison.
 ==================================
 .. contents::
+   :local:
 
 About.
 ======
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/latex.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,21 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=======
+ LaTeX
+=======
+.. contents::
+   :local:
+
+Compact slides for nice printing.
+=================================
+
+Installing::
+
+  $ sudo aptitude install pdfjam
+
+Using::
+
+  $ pdfnup --nup "2x3" --offset ".25cm .25cm" --delta ".25cm .5cm" \
+    --frame true --scale 0.9 slides.pdf
+
--- a/ldap.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/ldap.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  LDAP.
 =======
 .. contents::
+   :local:
 
 Installing LDAP under Debian.
 =============================
--- a/license.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/license.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Software license
 ==================
 .. contents::
+   :local:
 
 Where find info on licence issue?
 =================================
--- a/lighttpd.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/lighttpd.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Lighttpd.
 ===========
 .. contents::
+   :local:
 
 Documentation.
 ==============
--- a/linux-debug.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/linux-debug.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Debugging under Linux.
 ========================
 .. contents::
+   :local:
 
 ltrace.
 =======
--- a/linux-driver.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/linux-driver.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Driver under Linux.
 =====================
 .. contents::
+   :local:
 
 NVidia video driver.
 ====================
--- a/linux-wifi.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/linux-wifi.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  WiFi under linux.
 ===================
 .. contents::
+   :local:
 
 Getting info about WiFi connection.
 ===================================
--- a/linux.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/linux.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Linux.
 ========
 .. contents::
+   :local:
 
 Linux distro.
 =============
--- a/liquibase.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/liquibase.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  LiquiBase.
 ============
 .. contents::
+   :local:
 
 Introducing LiquiBase to existing project.
 ==========================================
--- a/lisp.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/lisp.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Lisp.
 =======
 .. contents::
+   :local:
 
 About.
 ======
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locale.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,35 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+========
+ Locale
+========
+.. contents::
+   :local:
+
+List locale settings?
+=====================
+
+Current locale::
+
+  $ locale
+
+List all available locales::
+
+  $ locale -a
+
+How set date to ISO format?
+===========================
+
+Usually this be done trough en_DK locale.
+
+You need setup, for example, ``LC_TIME=en_DK.utf8`` at shell init.
+
+Install all available locale in Debian::
+
+  $ sudo apt-get install locales-all
+
+Generate locales in Debian::
+
+  $ sudo dpkg-reconfigure locales
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/logging.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,25 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+====================
+ Logging frameworks
+====================
+.. contents::
+   :local:
+
+Logging libs for c/c++
+======================
+
+Some of these libs are complicated and its goal to provide functionality similar
+to log4j.
+
+ * log4c: http://log4c.sourceforge.net/
+ * log4cplus: http://log4cplus.sourceforge.net/
+ * Log for C++ (dead starting from 2003): http://log4cpp.sourceforge.net/
+
+log4j
+=====
+
+Apache log4j is a Java-based logging utility.
+
+  http://logging.apache.org
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lvm.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,168 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=====
+ LVM
+=====
+.. contents::
+   :local:
+
+Debian package
+==============
+::
+
+  $ sudo apt-get install lvm
+
+List partitions
+===============
+::
+
+  $ sudo sfdisk -l
+
+or use gparted(1).
+
+Setup physical volume
+=====================
+::
+
+  $ sudo pvcreate /dev/sdc3
+  Physical volume "/dev/sdc3" successfully created
+
+Setup volume group
+==================
+::
+
+  $ sudo vgcreate vg0 /dev/sdc3
+  Volume group "vg0" successfully created
+
+Show info about volume group
+============================
+::
+
+  $ sudo vgdisplay
+  --- Volume group ---
+  VG Name               vg0
+  System ID
+  Format                lvm2
+  Metadata Areas        1
+  Metadata Sequence No  1
+  VG Access             read/write
+  VG Status             resizable
+  MAX LV                0
+  Cur LV                0
+  Open LV               0
+  Max PV                0
+  Cur PV                1
+  Act PV                1
+  VG Size               77.22 GB
+  PE Size               4.00 MB
+  Total PE              19769
+  Alloc PE / Size       0 / 0
+  Free  PE / Size       19769 / 77.22 GB
+  VG UUID               ZOQvrP-PnJ2-kKsH-7aLU-eOa3-K5M2-sRstJH
+
+Create logical volume
+=====================
+::
+
+  $ sudo lvcreate -L 10G -n home vg0
+  Logical volume "home" created
+
+Show info about logical volume
+==============================
+::
+
+  $ sudo lvdisplay
+  --- Logical volume ---
+  LV Name                /dev/vg0/home
+  VG Name                vg0
+  LV UUID                XWJFnF-LjQg-Xsvm-IeQI-68mX-jiYd-pSpA00
+  LV Write Access        read/write
+  LV Status              available
+  # open                 1
+  LV Size                20.00 GB
+  Current LE             5120
+  Segments               1
+  Allocation             inherit
+  Read ahead sectors     0
+  Block device           254:0
+
+  --- Logical volume ---
+  LV Name                /dev/vg0/swap
+  VG Name                vg0
+  LV UUID                BHBQd0-1RlO-hHn7-jAij-Gyg6-KnqE-lRBgPY
+  LV Write Access        read/write
+  LV Status              available
+  # open                 1
+  LV Size                1.00 GB
+  Current LE             256
+  Segments               1
+  Allocation             inherit
+  Read ahead sectors     0
+  Block device           254:1
+
+Create fs on logical volume
+===========================
+::
+
+  $  sudo mke2fs -j /dev/vg0/home
+  mke2fs 1.40-WIP (14-Nov-2006)
+  Filesystem label=
+  OS type: Linux
+  Block size=4096 (log=2)
+  Fragment size=4096 (log=2)
+  1310720 inodes, 2621440 blocks
+  131072 blocks (5.00%) reserved for the super user
+  First data block=0
+  Maximum filesystem blocks=2684354560
+  80 block groups
+  32768 blocks per group, 32768 fragments per group
+  16384 inodes per group
+  Superblock backups stored on blocks:
+          32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
+
+  Writing inode tables: done
+  Creating journal (32768 blocks): done
+  Writing superblocks and filesystem accounting information: done
+
+Remove logical volume
+=====================
+::
+
+  $ sudo lvremove  /dev/vg0/home
+
+Move home dir to lvm
+====================
+::
+
+  $ su
+  ...
+  $ mv /home /home2
+  $ lvcreate -L 10G -n home vg0
+  $ mke2fs -j /dev/vg0/home
+  $ emacs /etc/fstab
+  ...
+  $ cat /etc/fstab
+  ...
+  /dev/vg0/home   /home  ext3  defaults  0  2
+  ...
+  $ mount -a
+  $ (cd /home2; tar -cf - .) | (cd /home; tar -xpf -)
+  $ rm -r /home2
+
+Creating swap on lvm
+====================
+::
+
+  $ su
+  ...
+  $ lvcreate -L 1G -n swap vg0
+  $ mkswap -v1 /dev/vg0/swap
+  $ emacs /etc/fstab
+  ...
+  $ cat /etc/fstab
+  ...
+  /dev/vg0/swap   swap  swap  defaults  0  0
+  ...
+  $ swapon -a
+
--- a/macos.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/macos.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Mac OS.
 =========
 .. contents::
+   :local:
 
 Free open source repositories for Msc OS X.
 ===========================================
--- a/macosx-debug.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/macosx-debug.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Debugging in Mac OS X.
 ========================
 .. contents::
+   :local:
 
 dtruss.
 =======
--- a/mail.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/mail.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Mail.
 =======
 .. contents::
+   :local:
 
 Message headers fields.
 =======================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/malware.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,101 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=========
+ Malware
+=========
+.. contents::
+   :local:
+
+About malware
+=============
+
+Malware (malicious software) is software designed to infiltrate a computer
+system without the owner's informed consent.
+
+Virus
+=====
+
+Program that has infected some executable software and that causes that
+software, when run, to spread the virus to other executable software.
+
+Viruses may also contain a payload that performs other actions, often
+malicious.
+
+Worm
+====
+
+Worm is a program that actively transmits itself over a network to infect
+other computers.
+
+Worms may also contain a payload that performs other actions, often malicious.
+
+Trojan horses
+=============
+
+Trojan horse is any program that invites the user to run it, concealing a
+harmful or malicious payload.
+
+One of the most common ways that spyware is distributed is as a Trojan horse,
+bundled with a piece of desirable software that the user downloads from the
+Internet.
+
+Rootkits
+========
+
+Rootkit is a program which modifying the host operating system so that the
+malware is hidden from the user.
+
+Rootkits can prevent a malicious process from being visible.
+
+Backdoors
+=========
+
+A backdoor is a method of bypassing normal authentication procedures. Once a
+system has been compromised, one or more backdoors may be installed in order
+to allow easier access in the future.
+
+Spyware
+=======
+
+Spyware is a type of malware that is installed on computers and collects
+information about users without their knowledge.
+
+The presence of spyware is typically hidden from the user.
+
+Sometimes, spywares such as keyloggers are installed by the owner of a shared,
+corporate or public computer on purpose in order to secretly monitor other
+users.
+
+Adware
+======
+
+Adware or advertising-supported software is any software package which
+automatically plays, displays, or downloads advertisements to a computer after
+the software is installed on it or while the application is being used.
+
+Botnets
+=======
+
+
+Keystroke loggers
+=================
+
+Malware programs install a key logger, which intercepts the user's keystrokes
+when entering a password, credit card number, or other information that may be
+exploited. These are then transmitted to the malware creator.
+
+Dialers
+=======
+
+Electronic device that is connected to a telephone line to monitor the dialed
+numbers and alter them to seamlessly provide services that otherwise require
+lengthy access codes to be dialed.
+
+Screen scrapers
+===============
+
+
+Phishing
+========
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/man.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,97 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===========
+ Man pages
+===========
+.. contents::
+   :local:
+
+Man sections
+============
+
+  1 Executable programs or shell commands.
+  2 System calls (functions provided by the kernel).
+  3 Library calls (functions within program libraries).
+  4 Special files (usually found in /dev).
+  5 File formats and conventions eg /etc/passwd.
+  6 Games.
+  7 Miscellaneous (including macro  packages  and  conventions).
+  8 System administration commands (usually only for root).
+
+Invoking man
+============
+
+Search for prog, func, conf file::
+
+  $ man [<section>] <item>
+
+Search by specific keywords::
+
+  $ man -k <keywords>
+
+Viewing inside Emacs::
+
+  M-x man RET [<section>] <item>
+  M-x man RET -k SPACE <keywords>
+
+Sections order
+==============
+::
+
+  NAME                - brief prog description
+  SYNOPSIS (USAGE)    - command line options in BNF
+  DESCRIPTION         - long prog description
+  OPTIONS             - long option descriptions
+  ... misc sections ...
+  EXAMPLES
+  EXIT STATUS
+  ENVIRONMENT
+  AVAILABILITY        - whare search source, where home page
+  FILES               - list of files that has effect on program working
+  AUTHORS
+  COPYRIGHT
+  SEE ALSO
+  BUGS                - know issue, how report bug
+  HISTORY
+
+Man page showing
+================
+
+TODO
+Bolt by print char, back one char and print same char.
+Underscore by printing undescore, back one char and print char.
+
+Development tools
+=================
+
+To preview local man page::
+
+  $ groff -man -Tascii foo.1            # 7-bit char
+  $ groff -man -Tlatin1 foo.1           # 8-bit char
+  $ groff -man -Tlatin1 foo.1 | less
+  $ groff -a -mandoc -Tlatin1 e.1
+  $ groff -man -Tutf8 foo.1
+
+  $ man ./foo.1                         # if slashes in path - use file
+
+  $ mkdir man1
+  $ cp foo.1 man1
+  $ man -M . 1 foo                      # without slashes search in MANPATH item
+                                        # and add /man1 to each item
+
+Output format
+=============
+
+Plain text::
+
+  $ man foo | col -b >.foo.txt
+
+PostScript::
+
+  $ groff -Tps foo >foo.ps
+
+DVI::
+
+  $ groff -Tdvi foo >foo.dvi
+
--- a/maven.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/maven.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Maven.
 ========
 .. contents::
+   :local:
 
 Maven tutorial.
 ===============
--- a/measurement.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/measurement.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Measurement
 =============
 .. contents::
+   :local:
 
 dpi
 ===
--- a/media-type.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/media-type.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Media types.
 ==============
 .. contents::
+   :local:
 
 List of media types.
 ====================
--- a/menu.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/menu.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Menu.
 =======
 .. contents::
+   :local:
 
 Desktop format.
 ===============
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/midi.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,16 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+======
+ MIDI
+======
+.. contents::
+   :local:
+
+Midi player
+===========
+
+TiMidity++:
+
+  https://sourceforge.net/projects/timidity
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mount-ntfs.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,51 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+======
+ NTFS
+======
+.. contents::
+   :local:
+
+Debian etch
+===========
+
+Find your ntfs partition::
+
+  $ sfdisk -l
+
+or::
+
+  $ fdisk -l
+
+Make read only
+==============
+::
+
+  $ sudo mount -t ntfs -o ro,utf8,umask=333 /dev/sd<x><y> /mnt/ntfs
+
+where <x> is drive letter as [a-z], <y> is partition number as [1-4]|5|6|...
+
+With write access
+=================
+
+Install ntfs-3g. It can be found in sid (backports). To do that install packages
+``fuse-utils``, ``libfuse2``, ``libntfs-3g``, ``ntfs-3g`` (in such order). Add
+some thing like::
+
+  deb http://www.backports.org/debian etch-backports main
+
+to /etc/apt/source.list to get access to backported packages and update package
+database::
+
+  $ apt-get update
+
+and install throw aptitude packeges. Also you can manually download and install
+this packeges throw ``dpkg --install``.
+
+Users from ``fuse`` group can now mount NTFS volume::
+
+  $ mount -t ntfs-3g -o rw,utf8,force,gid=windir,dmask=002,fmask=113 /dev/sd<x><y> /mnt/ntfs
+
+For help see ``ntfs-3g(8)``.
+
--- a/mplayer.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/mplayer.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  mplayer.
 ==========
 .. contents::
+   :local:
 
 Increase volume above sound cards maximum volume.
 =================================================
--- a/msvc.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/msvc.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Microsoft visual studio.
 ==========================
 .. contents::
+   :local:
 
 Downloads.
 ==========
--- a/music-soft.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/music-soft.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Music.
 ========
 .. contents::
+   :local:
 
 Converting music formats.
 =========================
--- a/music-software.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/music-software.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Music software
 ================
 .. contents::
+   :local:
 
 Musician software
 =================
--- a/music.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/music.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Music.
 ========
 .. contents::
+   :local:
 
 Music scale.
 ============
--- a/mysql.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/mysql.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  MySQL/MariaBD.
 ================
 .. contents::
+   :local:
 
 SQL clients.
 ============
--- a/net-mobile.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/net-mobile.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Mobile networks
 =================
 .. contents::
+   :local:
 
 * GSM.
 
--- a/net.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/net.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Network.
 ==========
 .. contents::
+   :local:
 
 Network managers.
 =================
--- a/netbeans.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/netbeans.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  NetBeans IDE.
 ===============
 .. contents::
+   :local:
 
 Update catalogs.
 ================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/newsgroup.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,32 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===========
+ newsgroup
+===========
+.. contents::
+   :local:
+
+How subscribe to newsgroup?
+===========================
+
+Select free nntp server (119 port)::
+
+  nntp.aioe.org
+  news.edisontel.com
+  news.albasani.net (need account)
+
+news.gmane.org
+==============
+
+For dev related newsgroup reading/posting use news.gmane.org.
+
+See
+
+  http://gmane.org/faq.php
+
+Newsgroup to feed
+=================
+
+  http://groups.google.com/group/<news-name>/feeds
+    news-name like mozilla.dev.tech.network or comp.emacs
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/noise.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,64 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+==============
+ Noise levels
+==============
+.. contents::
+   :local:
+
+Таблица уровней шума
+====================
+
+==== =======================================
+дБ   Описание/Аналогия
+==== =======================================
+200  Смерть.
+160  Возможен разрыв барабанных перепонок и лёгких. Ударная волна от сверхзвукового самолёта.
+155  Контузия, травмы
+150  Контузия, травмы
+145  Контузия. Старт ракеты.
+140  Контузия. Звук взлетающего реактивного самолета.
+135  Контузия.
+130  Болевой порог. Самолёт на старте.
+125  Почти невыносимо.
+120  Почти невыносимо. Отбойный молоток 1м.
+115  Крайне шумно. Пескоструйный аппарат 1м.
+110  Крайне шумно. Вертолёт, работающий трактор 1м.
+105  Крайне шумно.
+100  Крайне шумно. Оркестр, вагон метро (прерывисто), раскаты грома.
+     Максимально допустимое звуковое давление для наушников плеера по европейским нормам.
+95   Очень шумно. Вагон метро 7м.
+90   Очень шумно. Громкие крики, грузовой железнодорожный вагон 7м.
+85   Очень шумно. Громкий крик, мотоцикл с глушителем.
+80   Очень шумно. Крик, мотоцикл с глушителем, двигатель грузового автомобиля.
+75   Шумно. Крик, смех 1м.
+70   Шум, который невозможно не замечать. Громкие разговоры 1м.
+65   Шумно. Громкий разговор 1м.
+60   Шумно. Норма для предприятий.
+55   Отчётливо слышно. Норма для офисных помещений класса А (по европейским нормам).
+50   Отчётливо слышно. Разговор, пишущая машинка.
+40   Довольно слышно. Обычная речь. Норма для жилых помещений, с 7 до 23 ч.
+35   Довольно слышно. Приглушенный разговор.
+30   Шепот, различимый с расстояния 5 м.
+30   Тихо. Шепот, тиканье настенных часов. Норма для жилых помещений ночью, с 23 до 7 ч.
+25   Тихо. Шепот человека 1м, тихий сад.
+20   Едва слышно. Шепот человека 1м.
+15   Едва слышно. Шелест листвы.
+10   Почти не слышно. Тихий шелест листьев.
+5    Почти не слышно.
+0    Ничего не слышно.
+==== =======================================
+
+  http://ru.wikipedia.org/wiki/Шум
+
+Srandards
+=========
+
+Творческая, научная деятельность, обучение: <50 dB.
+В производственных помещениях и на территории предприятия: <80 dB.
+
+** ГОСТ 12.1.003-83. ССБТ «Шум. Общие требования безопасности».
+
+** СН 2.2.4/2.1.8.562-96 «Шум на рабочих местах, в помещениях жилых, общественных зданий и на территории жилой застройки».
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nsis.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,79 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+======
+ NSIS
+======
+.. contents::
+   :local:
+
+Strings
+=======
+
+String is a sequence of chars. To represent spaces enclose string in quotes.
+To escape quote use $\. ${MACRO_NAME}, $(VAR_NAME) substituted with
+macros/variable values. To escape $ use $$.
+
+  MessageBox MB_OK "I'll be happy" ; this one puts a ' inside a string
+  MessageBox MB_OK 'And he said to me "Hi there!"' ; this one puts a " inside a string
+  MessageBox MB_OK `And he said to me "I'll be happy!"` ; this one puts both ' and "s inside a string
+  MessageBox MB_OK "$\"A quote from a wise man$\" said the wise man" ; this one shows escaping of quotes
+
+Variables
+=========
+
+Allowed chaacters for variable names: [a-z][A-Z][0-9] and '_'.
+
+Variable definition
+-------------------
+
+To declare variable::
+
+  Var NAME
+
+There are exist registers (predefined variable) through them passed args for
+macros/functions/plug-ins::
+
+  $0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $R0, $R1, $R2, $R3, $R4, $R5, $R6, $R7, $R8, $R9
+
+To assign value to variable use::
+
+  StrCpy $NAME STRING
+
+To access to there value use such syntax::
+
+  $NAME
+
+Language strings
+----------------
+
+To declare multilingual string use::
+
+  LangString NAME LANGUAGE_ID STRING
+
+For ``LANGUAGE_ID`` use ``${LANG_ENGLISH}``, ``${LANG_RUSSIAN}``, etc.
+
+To access to there value use such syntax::
+
+  $(NAME)
+
+Standard language strings
+-------------------------
+
+You can see list of such var under Contrib\Language Files\*.nlf files, which
+loaded by ``LoadLanguageFile``.
+
+To access to there value use such syntax::
+
+  $(^NAME)
+
+Macros definition
+-----------------
+
+To define macro variable::
+
+  !define NAME STRING
+
+To access to there value use such syntax::
+
+  ${NAME}
--- a/ocr.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/ocr.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  OCS.
 ======
 .. contents::
+   :local:
 
 gocr.
 =====
--- a/oracle.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/oracle.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Oracle database.
 ==================
 .. contents::
+   :local:
 
 Oracle database development environment.
 ========================================
--- a/os.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/os.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Operation system.
 ===================
 .. contents::
+   :local:
 
 OS Market Share on Desktop.
 ===========================
--- a/package-distribution.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/package-distribution.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Package distribution
 ======================
 .. contents::
+   :local:
 
 Beerware
 ========
--- a/package-management.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/package-management.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Package management
 ====================
 .. contents::
+   :local:
 
 Local install with root permission
 ==================================
--- a/partition.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/partition.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Storage partitioning
 ======================
 .. contents::
+   :local:
 
 MBR
 ===
--- a/pcb.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/pcb.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  PCB.
 ======
 .. contents::
+   :local:
 
 PCB design software.
 ====================
--- a/perl.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/perl.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Perl.
 =======
 .. contents::
+   :local:
 
 Print stack trace in Perl.
 ==========================
--- a/pgp.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/pgp.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  PGP/GPG.
 ==========
 .. contents::
+   :local:
 
 What preffered client?
 ======================
--- a/photo.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/photo.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Photo.
 ========
 .. contents::
+   :local:
 
 Retrieving media from digital cameras.
 ======================================
--- a/php.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/php.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  PHP.
 ======
 .. contents::
+   :local:
 
 Debugging.
 ==========
--- a/port.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/port.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Network port.
 ===============
 .. contents::
+   :local:
 
 Port forwarding.
 ================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/posix.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,45 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=======
+ POSIX
+=======
+.. contents::
+   :local:
+
+Download POSIX
+==============
+
+  http://www.opengroup.org/onlinepubs/009695399/download
+                download page for SYSV3
+
+  http://www.opengroup.org/onlinepubs/9699919799/download
+                download page for SYSV4
+
+Shell command
+=============
+
+command
+-------
+
+Main semantic is to invoke command instead defined function with same name::
+
+  $ ls() { ls --color "$@"; }
+  $ ls                          # infinitely loop as func invoke itself
+  $ ls() { command ls --color "$@"; }
+  $ ls .                        # invoke /bin/ls with color output
+  $ unset ls                    # forget func definition
+  $ ls                          # invoke /bin/ls without color output
+
+With '-p' arg Perform the command search using a default value for PATH that
+is guaranteed to find all of the standard utilities::
+
+  $ command -p getconf PATH
+
+With '-v' arg work like 'which' command which not included in POSIX::
+
+  $ command -v ls
+  /usr/bin/ls
+  $ command -v echo             # for build-in command print command itself
+  echo                          # you can check for equality or for slash to
+                                # distinguish from utilities
--- a/postgre.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/postgre.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Postgre.
 ==========
 .. contents::
+   :local:
 
 Installing on Debian.
 =====================
--- a/prettyprint.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/prettyprint.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Pretty print source code.
 ===========================
 .. contents::
+   :local:
 
 About pretty printing.
 ======================
--- a/printer.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/printer.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Printers.
 ===========
 .. contents::
+   :local:
 
 CUPS.
 =====
--- a/python.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/python.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Python
 ========
 .. contents::
+   :local:
 
 Licence and history of Python.
 ==============================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qt.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,15 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+====
+ QT
+====
+.. contents::
+   :local:
+
+QT Assistant
+============
+::
+
+  $ assistant-qt3
+
--- a/refcard.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/refcard.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Refcard.
 ==========
 .. contents::
+   :local:
 
 About refcard.
 ==============
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/remote-shell.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,16 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+==============
+ Remote shell
+==============
+.. contents::
+   :local:
+
+Ajaxterm
+========
+
+Allow remote shell access to host from web browser (require html+css+javascript).
+
+  http://antony.lesuisse.org/software/ajaxterm
+    Home page.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rs232.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,35 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=======
+ RS232
+=======
+.. contents::
+   :local:
+
+Pinout
+======
+
+Rx/Tx
+RTS/CTS/DTR/DSR
+
+Signal Level converts
+=====================
+
+MAX 232 is from an RS-232 serial port to signals suitable for use in TTL
+circuit.
+
+  http://en.wikipedia.org/wiki/MAX232
+
+USB to COM chip
+===============
+
+PL-2303:
+
+  http://www.prolific.com.tw/eng/products.asp?id=59
+                about/overview
+  http://www.prolific.com.tw/eng/downloads.asp?ID=23
+                datasheet download page
+  http://www.prolific.com.tw/eng/downloads.asp?id=31
+                driver download page
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ru.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,23 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+==================
+ Russian language
+==================
+.. contents::
+   :local:
+
+Толкование русского языка
+=========================
+
+  http://gramota.ru
+                Справочно-информационный портал. Портала осуществляется
+                Федеральным агентством по печати и массовым коммуникациям.
+
+Старый против нового
+====================
+
+  http://vivovoco.astronet.ru/VV/BOOKS/LANG/CONTENT.HTM
+                Корней Чуковский "ЖИВОЙ КАК ЖИЗНЬ"
+
+
--- a/samba.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/samba.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Samba.
 ========
 .. contents::
+   :local:
 
 Installing smbfs.
 =================
--- a/screencast.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/screencast.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Screncast.
 ============
 .. contents::
+   :local:
 
 VLC.
 ====
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/screensaver.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,30 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=============
+ screensaver
+=============
+.. contents::
+   :local:
+
+Deactiate screensaver
+=====================
+
+xscreensaver::
+
+  /usr/bin/xscreensaver-command -deactivate
+
+gnome-screensaver::
+
+  $ gnome-screensaver-command -p
+
+See:
+
+  http://live.gnome.org/GnomeScreensaver/FrequentlyAskedQuestions#Is_there_a_way_to_perform_actions_when_the_screensaver_activates_or_deactivates.3F__Or_when_the_session_becomes_idle.3F
+
+Watch video without screensaver
+===============================
+
+  $ mplayer −heartbeat−cmd "xscreensaver-command -deactivate" $file
+  $ mplayer -heartbeat-cmd "gnome-screensaver-command -p" $file
+
--- a/screenshort.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/screenshort.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Screenshort.
 ==============
 .. contents::
+   :local:
 
 Screenshort from Linux console.
 ===============================
--- a/security.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/security.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Security.
 ===========
 .. contents::
+   :local:
 
 Email encryption.
 =================
--- a/selenium.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/selenium.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Selenium.
 ===========
 .. contents::
+   :local:
 
 Official docs.
 ==============
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sgml.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,34 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+======
+ SGML
+======
+.. contents::
+   :local:
+
+About
+=====
+
+An SGML System Conforming to International Standard ISO 8879 -- Standard
+Generalized Markup Language.
+
+  http://www.jclark.com/sp/
+    Home page.
+  http://www.jclark.com/sp/howtoget.htm
+    How to get SP
+
+PSGML mode for Emacs
+====================
+
+  http://www.lysator.liu.se/~lenst/about_psgml/
+    Original home page.
+  http://www.emacswiki.org/emacs/PsgmlMode
+    Emacs wiki.
+  http://www.snee.com/bob/sgmlfree/emcspsgm.html
+    PSGML Tricks.
+  http://psgml.sourceforge.net/
+    Project page.
+  https://sourceforge.net/projects/psgml/
+    Project page.
+
--- a/sh.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/sh.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Shell.
 ========
 .. contents::
+   :local:
 
 Quoting.
 ========
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/signal.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,324 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+================
+ Process signal
+================
+.. contents::
+   :local:
+
+Send signal to process
+======================
+
+  $ kill -s NAME PID
+
+Under C you can use kill(2) system call which will send the specified signal
+to the process, if permissions allow, or raise(3) library function, which
+sends the specified signal to the current process.
+
+List of signals
+===============
+
+  $ kill --list
+  $ kill -l      # short variant
+
+See
+
+  http://en.wikipedia.org/wiki/Unix_signals
+
+Signal descriptions
+===================
+
+SIGHUP 1
+--------
+
+Hangup. Type: notification, can be handled.
+
+Sent when assigned to process terminal closed.
+
+nohup(1) utility used as a wrapper to start a program and make it immune to
+SIGHUP.
+
+The default action on POSIX-compliant systems is an abnormal termination.
+
+Demon used this signal as commant to reread config file.
+
+SIGINT
+------
+
+Interrupt. Ctrl-C. Type: control, can be handled.
+
+Signal sent to a process by its controlling terminal when a user wishes to
+interrupt the process.
+
+By default, this causes the process to terminate.
+
+SIGQUIT 3
+---------
+
+Quit. Ctrl-\. Type: control.
+
+Signal sent to a process by its controlling terminal when the user requests
+that the process dump core.
+
+By default, this causes the process to terminate and produce a memory core dump.
+
+Java dump thread traces to stdout.
+
+SIGILL 4
+--------
+
+Illegal instruction. Type: exception, can not be handled.
+
+Signal sent to a process when it attempts to execute a malformed, unknown, or
+privileged instruction.
+
+SIGTRAP 5
+---------
+
+Trace trap. Type: debug, can be handled.
+
+Signal sent to a process when a condition arises that a debugger has requested
+to be informed of.
+
+By default this causes abnormal termination of the process.
+
+SIGABRT 6
+---------
+
+Type: control, can be handled.
+
+Signal sent to a computer program to tell it to abort, ie terminate.
+
+SIGABRT is sent by the process to itself when it calls the abort libc
+function. It is used when an assertion fails.
+
+By default this causes abnormal termination of the process.
+
+SIGEMT 7
+--------
+
+Emt instruction.
+
+SIGFPE 8
+--------
+
+Floating point exception. Type: exception, can be handled.
+
+Signal sent to a process when it performs an erroneous arithmetic operation
+(like division by zero).
+
+By default cause a core dump and a program exit.
+
+SIGKILL 9
+---------
+
+Kill. Type: control, can not be handled.
+
+Signal sent to a process to cause it to terminate immediately.
+
+Zombie processes cannot be killed since they are already dead and waiting for
+their parent processes to reap them.
+
+Processes that are in the blocked state will not die until they wake up again.
+
+SIGBUS 10
+---------
+
+Bus error. Type: exception, can not be handled.
+
+Signal sent to a process when it causes a bus error.
+
+By default this causes abnormal termination of the process.
+
+SIGSEGV 11
+----------
+
+Segmentation violation. Type: exception.
+
+Signal sent to a process when it makes an invalid memory reference, or
+segmentation fault.
+
+By default cause a core dump and a program exit.
+
+SIGSYS 12
+---------
+
+Bad argument to system call. Type: exception.
+
+By default this causes abnormal termination of the process.
+
+SIGPIPE 13
+----------
+
+Write on a pipe with no one to read it. Type: notification.
+
+Signal sent to a process when it attempts to write to a pipe without a process
+connected to the other end.
+
+This causes the process to terminate, which is convenient when constructing
+shell pipelines.
+
+SIGALRM 14
+----------
+
+Alarm clock. Type: notification.
+
+Signal sent to a process when a time limit has elapsed.
+
+By default this causes abnormal termination of the process.
+
+SIGTERM 15
+----------
+
+Software termination signal. Type: control.
+
+Signal sent to a process to request its termination.
+
+It causes the termination of a process, but unlike the SIGKILL signal, it can
+be caught and interpreted (or ignored) by the process.
+
+SIGTERM is akin to asking a process to terminate nicely, allowing cleanup and
+closure of files. For this reason, on many Unix systems during shutdown, init
+issues SIGTERM to all processes that are not essential to powering off, waits
+a few seconds, and then issues SIGKILL to forcibly terminate any such
+processes that remain.
+
+By default kill(1) send to process SIGTERM signal.
+
+SIGURG 16
+---------
+
+Urgent condition on IO channel. Type: notification.
+
+By default this signal ignored.
+
+SIGSTOP 17
+----------
+
+Signal sent to a process to stop it for later resumption. Type: control.
+
+SIGSTOP cannot be caught or ignored.
+
+Usually SIGSTOP and SIGCONT are used for job control in the Unix shell.
+
+SIGTSTP 18
+----------
+
+Stop signal from tty. Ctrl-Z. Type: control.
+
+By default, this causes the process to suspend execution.
+
+SIGCONT 19
+----------
+
+Continue a stopped process. Type: control.
+
+Signal sent to restart a process previously paused by the SIGSTOP or SIGTSTP
+signal.
+
+SIGCHLD 20
+----------
+
+To parent on child stop or exit. Type: notification.
+
+By default the signal is simply ignored. In C:
+
+  signal(SIGCHLD, SIG_IGN);
+
+Parent can invoke wait(1) otherwise children stay zombie.
+
+SIGTTIN 21
+----------
+
+Signal sent to a process when it attempts to read from the tty while in the
+background.
+
+Daemons do not have controlling terminals and should never receive this
+signal.
+
+By default this causes suspends of the process.
+
+SIGTTOU 22
+----------
+
+Signal sent to a process when it attempts to write to the tty while in the
+background.
+
+Daemons do not have controlling terminals and should never receive this
+signal.
+
+By default this causes suspends of the process.
+
+SIGPOLL 23
+----------
+
+System V name for SIGIO. Type: notification.
+
+Signal sent to a process when an asynchronous I/O event occurs.
+
+By default this causes abnormal termination of the process.
+
+SIGXCPU 24
+----------
+
+Exceeded CPU time limit. Type: notification.
+
+By default this causes abnormal termination of the process.
+
+SIGXFSZ 25
+----------
+
+Exceeded file size limit as determined by the ulimit system call and shell
+builtin. Type: notification.
+
+By default this causes abnormal termination of the process.
+
+SIGVTALRM 26
+------------
+
+Virtual time alarm. Type: notification.
+
+Signal sent to a process when a time limit has elapsed.
+
+By default this causes abnormal termination of the process.
+
+SIGPROF 27
+----------
+
+Profiling time alarm. Type: debug.
+
+Signal sent to a process when the profiling timer expires.
+
+By default this causes abnormal termination of the process.
+
+SIGWINCH 28
+-----------
+
+Window changed. Type: notification.
+
+Signal sent to a process when its controlling terminal changes size.
+
+By default this signal ignored.
+
+SIGLOST 29
+----------
+
+Signal sent to process when a file lock is lost. This may occur, for example,
+when an NFS server reboots and forgets about a file lock.
+
+By default this causes abnormal termination of the process.
+
+SIGUSR1 30
+----------
+
+User defined signal 1. Type: user defined.
+
+By default this causes abnormal termination of the process.
+
+SIGUSR2 31
+----------
+
+User defined signal 2. Type: user defined.
+
+By default this causes abnormal termination of the process.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/smartcard.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,53 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===========
+ Smartcard
+===========
+.. contents::
+   :local:
+
+Standards for smartcards
+========================
+
+ * FIPS 201.
+ * NIST SP 800-78 (Cryptographic Algorithms and Key Sizes for PIV).
+ * X.509 Certificate for Digital Signature.
+ * X.509 Certificate for Key Management.
+ * X.509 Certificate for Card Authentication.
+ * Card Capability Container.
+ * Cardholder Unique Identifier.
+ * X.509 Certificate for PIV Authentication.
+ * Cardholder Fingerprints.
+ * Security Object.
+ * Cardholder Facial Image.
+ * Printed Information.
+
+United States  federal government standard that specifies Personal Identity
+Verification (PIV) requirements for Federal employees and contractors.
+
+  http://csrc.nist.gov/groups/SNS/piv/index.html
+  http://en.wikipedia.org/wiki/FIPS_201
+
+Driver for smartcards
+=====================
+
+Windows:
+
+  http://www.microsoft.com/whdc/device/input/smartcard/default.mspx
+                Smart Card Devices - Architecture and Driver Support
+  http://www.microsoft.com/whdc/device/input/smartcard/usb_ccid.mspx
+                Microsoft Class Drivers for USB CCID Smart Cards
+  http://msdn.microsoft.com/en-us/library/ee484819.aspx
+                USB CCID Smart Card Reader Class Driver with Windows Embedded CE 6.0 R2, Windows
+                Embedded CE
+
+Smart Card Minidriver:
+
+  http://www.microsoft.com/whdc/device/input/smartcard/sc-minidriver.mspx
+                Smart Card Minidriver Specification
+  http://support.microsoft.com/kb/976832
+                Error message when you insert a smart card in a reader on a Windows 7-based or
+                Windows Server 2008 R2-based computer: "Device driver software was not successfully
+                installed"
+
--- a/sml.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/sml.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Standard ML.
 ==============
 .. contents::
+   :local:
 
 Implementation.
 ===============
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/solaris.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,73 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=========
+ Solaris
+=========
+.. contents::
+   :local:
+
+Free software for Solaris
+=========================
+
+  http://www.opencsw.org/
+                free, volunteer effort, to provide quality downloadable binary
+                packages for the currently fully supported versions of Sun
+                Solaris
+  http://sunfreeware.com/
+                Solaris Freeware Project
+  http://www.blastwave.org/
+                The "Blastwave Software Stack" is a commercial software service
+                for Solaris x86 and Solaris Sparc users
+
+Add new user
+============
+::
+
+  $ useradd -d /export/home/fred -m -s /bin/ksh -c "Fred Smith" fred
+
+where ``-d`` is path to HOME dir, ``-m`` create home directory if necessary and
+copy the default skeleton files, ``-s`` your favourite shell, ``-c`` your full
+name.
+
+On Solaris ``/home`` dir inaccessible for creating home dir.
+
+Change attribute of already exists user::
+
+  $ usermod -d /export/home/new-home-dir -s /usr/bin/bash
+
+Solaris network configuration
+=============================
+::
+
+  $ cat /etc/nodename       (сетевое имя компьютера без домена)
+  sparc
+  $ cat /etc/resolv.conf    (Настройки DNS)
+  domain bifit.int
+  nameserver 192.168.1.1
+  $ cat /etc/hostname.eri0  (имя из hosts или IP)
+  sparc
+  $ cat /etc/hosts          (назначение IP хосту)
+  #
+  # Internet host table
+  #
+  ::1 localhost             (обязательная строка)
+  127.0.0.1   localhost     (обязательная строка)
+  192.168.1.41    sparc   loghost   (обязательная строка, имя настраиваемого хоста и его IP)
+  192.168.1.26    gavenko
+  $ cat /etc/netmask        (назначить сетевую маску для подсетей)
+  #
+  #   network-number  netmask
+  #
+  192.168.1.0 255.255.255.0
+
+Mounting ISO Images in Solaris
+==============================
+::
+
+  $ /usr/sbin/lofiadm -d /dev/lofi/1
+  $ /usr/sbin/lofiadm -a /var/tmp/CDImage.iso
+  $ [ -d /mnt ] && echo OK || echo FAILURE
+  $ /usr/sbin/umount /mnt
+  $ /usr/sbin/mount -F hsfs -o ro /dev/lofi/1 /mnt
+  $ cd /mnt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/source-docgen.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,48 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=========================
+ Source code documenting
+=========================
+.. contents::
+   :local:
+
+About
+=====
+
+  http://en.wikipedia.org/wiki/Comparison_of_documentation_generators
+
+Doxygen
+=======
+
+Doxygen is a documentation generator for C++, C, Java, Objective-C, Python,
+IDL (CORBA and Microsoft flavors), Fortran, VHDL, PHP, C#.
+
+  http://www.doxygen.org
+    Home page.
+  http://en.wikipedia.org/wiki/Doxygen
+    Wikipedia page.
+
+DOC++
+=====
+
+DOC++ is a documentation system for C, C++, IDL and Java generating both TeX
+output for high quality hardcopies and HTML output for sophisticated online
+browsing of your documentation. The documentation is extracted directly from
+the C/C++/IDL header/source files or Java class files.
+
+  http://docpp.sourceforge.net/
+    Home page.
+
+ROBODoc
+=======
+
+ROBODoc is a documentation tool. It extracts the documentation from your source
+code and formats it in HTML, RTF, TeX, XML DocBook (PDF), or ASCII. Works with
+C, C++, Fortran, Perl, Scripts, Assembler, Tcl, Basic, and any language that
+supports remarks.
+
+  http://sourceforge.net/projects/robodoc
+    Home page.
+  http://en.wikipedia.org/wiki/ROBODoc
+    Wikipedia page.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/source-navigation.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,56 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===================
+ Source navigation
+===================
+.. contents::
+   :local:
+
+etags
+=====
+
+For Emacs.
+
+ctags (Exuberant Ctags)
+=======================
+
+For Emacs/Vim.
+
+  http://ctags.sourceforge.net
+    Home page.
+
+GNU GLOBAL
+==========
+
+  http://www.gnu.org/software/global
+    Home page.
+
+ID Utils
+========
+
+  http://www.gnu.org/software/idutils/idutils.html
+    Home page.
+
+cscope
+======
+
+For Vim.
+
+cbrowser
+========
+
+Cbrowser is a graphical C/C++ source code searching and browsing tool, and a
+hierarchical function call viewer.
+
+Cbrowser is implemented in Tcl/Tk.
+
+  http://www.ziplink.net/~felaco/cbrowser
+
+OpenGrok
+========
+
+Written on Java. Allow WEB hosting and highlighting.
+
+  http://ru.wikipedia.org/wiki/OpenGrok
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/spell.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,59 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===============
+ Spell checker
+===============
+.. contents::
+   :local:
+
+ispell
+======
+
+aspell
+======
+
+Spell checking::
+
+  $ aspell --lang=russian --encoding=cp1251 check FILE
+
+List of dictionaries::
+
+  $ aspell dump dicts
+
+See:
+
+  http://aspell.net
+    Home page.
+
+hunspell
+========
+
+GPL/LGPL/MPL tri-license, support 8-bit and unicode dictionaries.
+
+  http://hunspell.sourceforge.net
+    Home page.
+  http://en.wikipedia.org/wiki/Hunspell
+    Wikipedia page.
+
+native
+======
+
+** Microsoft.
+  http://www.microsoft.com/language/en/us/download.mspx
+                download page
+  http://www.microsoft.com/language/en/us/feedback.mspx
+                feedback to Microsoft
+  http://www.microsoft.com/language/en/us/search.mspx
+                search for term usage
+
+** Ukrainian.
+
+  http://dki.gov.ua/article/show/alias/Okl
+    Офіційні класифікатори
+
+Emacs
+=====
+
+  C-x ispell
+  C-x ispell-change-dictionary russian <RET>
--- a/spring.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/spring.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Spring Framework.
 ===================
 .. contents::
+   :local:
 
 Documentation.
 ==============
--- a/sql.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/sql.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  SQL.
 ======
 .. contents::
+   :local:
 
 Joins.
 ======
--- a/stat.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/stat.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  OS resource statistics.
 =========================
 .. contents::
+   :local:
 
 Process list.
 =============
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/style-checker.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,17 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===============
+ Style checker
+===============
+.. contents::
+   :local:
+
+List of code style checkers
+===========================
+
+  http://checkstyle.sourceforge.net
+    Checkstyle is a development tool to help programmers write Java code that
+    adheres to a coding standard.
+  http://www.inspirel.com/vera
+    Vera++ - Programmable verification and analysis tool for C++
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sudo.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,29 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=======
+ sudo.
+=======
+.. contents::
+   :local:
+
+Stop sudo asking for password.
+==============================
+::
+
+  username ALL =(ALL) NOPASSWD: ALL
+
+or::
+
+  @group ALL =(ALL) NOPASSWD: ALL
+
+Change user/primary group for executed command.
+===============================================
+::
+
+  $ sudo -u $user -g $group $command
+
+To allow this plase in /etc/sudoers::
+
+  username ALL =(ALL:ALL) NOPASSWD: ALL
+
--- a/svn.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/svn.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Subversion.
 =============
 .. contents::
+   :local:
 
 Where palced config files?
 ==========================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/swap.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,31 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+======
+ Swap
+======
+.. contents::
+   :local:
+
+Enable swap in file
+===================
+
+Create large file and set up a Linux swap area, enable file for paging and
+swapping::
+
+  $ dd if=/dev/zero of=/swapfile bs=1024 count=524288
+  $ mkswap -v1 /swapfile
+  $ sudo swapon /swapfile
+  $ sync
+
+Insure that all fine::
+
+  $ dmesg | tail
+  ...
+  $ cat /proc/swaps
+   ...
+
+Add line to /etc/fstab::
+
+  /swapfile   swap        swap    defaults    0   0
+
--- a/symbian-devel.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/symbian-devel.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Development under Symbian platform.
 =====================================
 .. contents::
+   :local:
 
 About Symbian platform.
 =======================
--- a/terminal.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/terminal.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Terminal.
 ===========
 .. contents::
+   :local:
 
 Spec.
 =====
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/texi.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,35 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+======
+ Texi
+======
+.. contents::
+   :local:
+
+Convert texi to html
+====================
+
+With ``texi2html``::
+
+  http://www.mathematik.uni-kl.de/~obachman/Texi2html/
+    Texi2html's Homepage
+
+Install texi files
+==================
+::
+
+  $ install -m 444  my.info.gz /usr/local/share/info
+  $ cd /usr/local/share/info
+  $ install-info --name=my --entry="My utilities." my.info.gz dir
+
+For debug you can use ``--dry-run`` (do nothing).
+
+Uninstall texi files
+====================
+::
+
+  $ cd /usr/local/share/info
+  $ install-info --delete my.info.gz dir
+  $ rm my.info.gz
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/thunderbird.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,112 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=============
+ Thunderbird
+=============
+.. contents::
+   :local:
+
+Customization
+=============
+
+  http://kb.mozillazine.org/Mail_and_news_settings
+
+FAQ
+===
+
+  http://www.mozilla.org/support/thunderbird/faq
+  http://www.mozilla.org/support/thunderbird/tips
+  http://kb.mozillazine.org/Thunderbird_:_FAQs
+
+Profile
+=======
+
+Profile location
+----------------
+
+``xxxxxxxx`` is a random string of 8 characters:
+
+  ``%AppData%\Thunderbird\Profiles\xxxxxxxx.default``
+    Windows
+  ``C:\Documents and Settings\[User Name]\Application Data\Thunderbird\Profiles``
+    Windows XP/2000
+  ``C:\users\[User Name]\AppData\Roaming\Thunderbird\Profiles``
+    Windows Vista
+  ``C:\WINDOWS\Application Data\Thunderbird\Profiles\xxxxxxxx.default``
+    Windows 95/98/Me
+  ``~/.thunderbird/xxxxxxxx.default``
+    Linux
+  ``~/.mozilla-thunderbird/xxxxxxxx.default``
+    Linux
+  ``~/Library/Thunderbird/Profiles/xxxxxxxx.default``
+    Mac OS X
+
+** User editing files.
+
+These files do not exist by default, so you need to create it before you can
+start adding your preferences:
+
+  <profile-dir>/chrome/userChrome.css
+  <profile-dir>/chrome/userContent.css
+  <profile-dir>/user.js
+
+** userChrome.css
+
+This file sets the display rules for various elements in the Thunderbird user
+interface.
+
+** userContent.css
+
+Thqis file sets the display rules for web content.
+
+** user.js
+
+This is the additional preferences file for Thunderbird.
+
+* Make newsgroup names appear expanded, not abbreviated.
+
+The newsgroup server names appear abbreviated in the folder pane. To display
+the full name, use the Config Editor to change the value of the preference
+'mail.server.default.abbreviate' to 'false'.
+
+* Date amd time.
+
+  http://kb.mozillazine.org/Date_display_format
+
+** Windows.
+
+Start ==> Control Panel ==> Date, Time, Language, and Regional Options ==> Regional and Language Options
+      ==> Customize ==> Customize Regional Options
+
+  http://support.microsoft.com/?kbid=307938
+
+Gmail with Thunderbird
+======================
+
+Tools menu ==> Account Settings ==> highlight your Gmail address.
+
+On the Server Settings tab:
+
+  * Check for new messages at startup > checked
+  * Check for new messages every 10 minutes > checked
+  * When I delete a message > Mark it as deleted
+  * Clean up ("Expunge") Inbox on Exit > do NOT check
+  * Empty Trash on Exit > do NOT check
+
+On the Copies & Folders tab:, automatically section:
+
+  * When sending messages ==> Place a copy in > do NOT check
+  * Drafts and Templates section ==> Keep message drafts in > Other > [Your Gmail address] > [Gmail] > Drafts
+
+On the Junk Settings tab:
+
+  * Enable adaptive junk mail controls > do NOT check
+
+  http://mail.google.com/support/bin/answer.py?answer=9008
+                Legitimate mail is marked as spam
+  http://mail.google.com/support/bin/answer.py?answer=78892
+                Recommended IMAP client settings
+  http://kb.mozillazine.org/Using_Gmail_with_Thunderbird_and_Mozilla_Suite
+                Using Gmail with Thunderbird and Mozilla Suite
+
--- a/torrent.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/torrent.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Torrent
 =========
 .. contents::
+   :local:
 
 deluge.
 =======
--- a/typing-training.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/typing-training.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Typing training
 =================
 .. contents::
+   :local:
 
 Which software to use?
 ======================
--- a/udev.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/udev.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  udev.
 =======
 .. contents::
+   :local:
 
 About.
 ======
--- a/upnp.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/upnp.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  UPnP/DLNA.
 ============
 .. contents::
+   :local:
 
 Discover UPnP services.
 =======================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uri.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,21 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=====
+ URI
+=====
+.. contents::
+   :local:
+
+Available URI schemes
+=====================
+
+  http://www.iana.org/assignments/uri-schemes.html
+    List of registered by IANA URI schemes
+  http://www.iana.org/assignments/urn-namespaces/urn-namespaces.xml
+    Uniform Resource Names
+  http://www.rfc-editor.org/rfc/rfc1738.txt
+    Uniform Resource Locators (URL)
+  http://en.wikipedia.org/wiki/URI_scheme
+    Wikipedia page.
+
--- a/video.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/video.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Video.
 ========
 .. contents::
+   :local:
 
 Players for linux?
 ==================
--- a/vim.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/vim.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Vim
 =====
 .. contents::
+   :local:
 
 Tips.
 =====
--- a/virtualbox.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/virtualbox.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  VirtualBox.
 =============
 .. contents::
+   :local:
 
 Supported guests.
 =================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vm.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,63 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+========================
+ VM (virtual machines).
+========================
+.. contents::
+   :local:
+
+Virtualization projects.
+========================
+
+VMware, VirtualBox, QEMU, Bochs, DosBox.
+
+VirtualBox.
+===========
+
+About VirtualBox.
+-----------------
+
+  http://www.virtualbox.org/wiki/Guest_OSes
+                Guest OSes support status for VirtualBox.
+
+Copy and resize VirtualBox disk.
+--------------------------------
+
+I have clear copies of several OSes for VirtualBox. When I need new one I copy
+and resize them to get desired size.
+
+To copy I make a copy::
+
+  $ vboxmanage clonehd /path/to/Hurd.vdi /path/to/Hurd-new.vdi
+
+determine size::
+
+  $ vboxmanage showhdinfo /path/to/Hurd-new.vdi
+
+  UUID:                 63b87983-3130-4db3-cd8c-6d693dcfd92b
+  Accessible:           yes
+  Logical size:         2996 MBytes
+  Current size on disk: 1660 MBytes
+  Type:                 normal (base)
+  Storage format:       VDI
+  Format variant:       dynamic default
+  In use by VMs:        Hurd (UUID: f7591848-2c60-4c7c-3886-b66bdb35e425)
+  Location:             /path/to/Hurd-new.vdi
+
+and then apply new size (in MiB)::
+
+  $ vboxmanage modifyhd --resize 35000 /path/to/Hurd-new.vdi
+
+Next I mount ``parted-magic`` and boot to it and use ``gparted`` to extend
+existing fs to free space.
+
+VMWare.
+=======
+
+VMWare remote graphical client.
+===============================
+::
+
+  $ vmware-vmrc.exe -h 192.168.1.2 -u user -p passwd "dir/file.vmx"
+
--- a/vt100.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/vt100.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  This document describes how to control a VT100 terminal.
 ==========================================================
 .. contents::
+   :local:
 
 ANSI escape sequence is a sequence of ASCII characters, the first two of which
 are the ASCII "Escape" character 27 (1Bh) and the left-bracket character " [ "
--- a/web-accessibility.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/web-accessibility.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Web accessibility.
 ====================
 .. contents::
+   :local:
 
 ============
 Check tools.
--- a/web-search.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/web-search.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  WEB search.
 =============
 .. contents::
+   :local:
 
 Disable page indexing by search engine.
 =======================================
--- a/web-seo.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/web-seo.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  WEB SEO.
 ==========
 .. contents::
+   :local:
 
 Informing search engine about site structure.
 =============================================
--- a/web-site.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/web-site.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Web site.
 ===========
 .. contents::
+   :local:
 
 Speeding up web site loading.
 =============================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,38 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=====
+ WEB
+=====
+.. contents::
+   :local:
+
+Favicon
+=======
+
+favicon.ico is Microsoft ico file. Some browser support png and git format.
+Its size 16x16 or 32x32 pixel and 8-bit or 24-bit in color depth.
+
+Browser searched for ``/favicon.ico`` in the root directory of website. Or as
+W3C HTML recommend use in ``<head>`` tag::
+
+  <link rel="shortcut icon" href="http://example.com/favicon.ico" />
+  <link rel="icon" type="image/png" href="http://example.com/image.png">
+  <link rel="icon" type="image/gif" href="http://example.com/image.gif">
+
+If more than one Web page shares the same shortcut icon, the shortcut icon is
+downloaded only once.
+
+  http://www.w3.org/2005/10/howto-favicon
+    How to Add a Favicon to your Site
+  http://msdn.microsoft.com/en-us/library/ms537656%28VS.85%29.aspx
+    How to Add a Shortcut Icon to a Web Page
+  http://en.wikipedia.org/wiki/Favicon
+    Wikipedia article
+
+Site statistics
+===============
+::
+
+  awstats
+
--- a/webdaw.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/webdaw.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  WebDAV.
 =========
 .. contents::
+   :local:
 
 ========
  About.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/windows-devel.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,350 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+============================
+ Development under Windows.
+============================
+.. contents::
+   :local:
+
+Windows images.
+===============
+
+  http://www.modern.ie/en-us/virtualization-tools#downloads
+                Test versions of IE using Virtual Machines that you download and
+                manage in your own development environment.
+
+Dependency Walker.
+==================
+
+Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows
+module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of
+all dependent modules. For each module found, it lists all the functions that
+are exported by that module, and which of those functions are actually being
+called by other modules. Another view displays the minimum set of required
+files, along with detailed information about each file including a full path
+to the file, base address, version numbers, machine type, debug information,
+and more.
+
+See:
+
+ * http://www.dependencywalker.com/
+
+Windows 2000 Resource Kit Tools.
+================================
+
+  http://support.microsoft.com/kb/927229
+                Windows 2000 Resource Kit Tools for administrative tasks
+
+Sysinternals.
+=============
+
+TODO
+
+Application verifier.
+=====================
+
+  http://www.microsoft.com/downloads/en/details.aspx?familyid=c4a25ab9-649d-4a1b-b4a7-c9d8b095df18
+                download page
+  http://msdn.microsoft.com/en-us/library/ms220948.aspx
+                Application Verifier
+
+Debugging with windbg.
+======================
+
+  http://www.microsoft.com/whdc/devtools/debugging/default.mspx
+                Download and Install Debugging Tools for Windows
+  http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
+                Debugging Tools for Windows 32-bit Version
+                download page
+  http://www.microsoft.com/whdc/devtools/debugging/install64bit.mspx
+                Debugging Tools for Windows 64-bit Version
+                download page
+
+Break on dll load/unload.
+-------------------------
+::
+
+  sxe ld <module>
+  sxe ud <module>
+
+Set breakpoint by pattern and/or on specific module.
+----------------------------------------------------
+::
+
+  bm <module>!<name>    # set breakpoints on 'module' with name 'name'
+  bm *!<prefix>*        # set breakpoints on all names with prefix 'prefix'
+  bm <module>!*         # set breakpoints on all names in module 'module'
+
+``bp``, ``bm`` commands sets software breakpoints, debugger replaces the processor
+instruction with a break instruction.
+
+Clear breakpoints.
+------------------
+::
+
+  bc *
+
+How to set WinDbg as a Default Windows Postmortem Debugger.
+-----------------------------------------------------------
+::
+
+  cmd> WinDbg -I
+
+How analyse crash.
+------------------
+
+When program crash and use enter in WinDbg execute::
+
+  !analyze -v
+
+Adding symbols from Symbol Server.
+----------------------------------
+
+Execute in WinDbg::
+
+  .sympath SRV*D:\srv\symcache*http://msdl.microsoft.com/download/symbols
+
+or Ctrl+S and add::
+
+  SRV*D:\srv\symcache*http://msdl.microsoft.com/download/symbols
+
+See:
+
+  http://support.microsoft.com/kb/311503
+                Use the Microsoft Symbol Server to obtain debug symbol files
+
+Using the SymChk.exe utility to download symbols.
+-------------------------------------------------
+::
+
+  symchk /r c:\windows\system32 /s SRV*c:\symbols\*http://msdl.microsoft.com/download/symbols
+
+Debugging child process.
+------------------------
+::
+
+  .childdbg 1
+
+Running at startup.
+===================
+
+  HKCU\Software\Microsoft\Windows\CurrentVersion\Run
+                Launches a program automatically when a particular user logs
+                in. This key is used when you always want to launch a program
+                when a particular user is using a system.
+  HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce
+                Launches a program the next time the user logs in and removes
+                its value entry from the registry. This key is typically used
+                by installation programs.
+  HKLM\Software\Microsoft\Windows\CurrentVersion\Run
+                Launches a program automatically at system startup. This key
+                is used when you always want to launch a program on a
+                particular system.
+  HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce
+                Launches a program the next time the system starts and removes
+                its value entry from the registry. This key is typically used
+                by installation programs.
+  HKLM\Software\Microsoft\Windows\CurrentVersion\RunServices
+                Launches a service (a standard NT service or a background
+                process) automatically at startup. An example of a service is
+                a Web server such as Microsoft Internet Information Server.
+  HKLM\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
+                Launches a service (a standard NT service or a background
+                process) the next time the system is started, then removes its
+                value entry from the registry.
+
+Values to registry on Windows XP can be added by::
+
+  cmd> reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v run.bat /t REG_SZ /d "path\to\run.bat"
+  cmd> reg query HKCU\Software\Microsoft\Windows\CurrentVersion\Run   <-- see what done
+
+Cabinet file (.cab).
+====================
+
+Extract content from .cab file::
+
+  cmd# expand my.cab
+
+See:
+
+  http://support.microsoft.com/kb/198038
+                INFO: Useful Tools for Package and Deployment Issues
+  http://msdn.microsoft.com/en-us/library/aa367841%28VS.85%29.aspx
+                The Makecab.exe utility is included in the Windows SDK
+                Components for Windows Installer Developers.
+  http://web.archive.org/web/20070403215326/http://download.microsoft.com/download/platformsdk/cab/2.0/w98nt42kmexp/en-us/cabsdk.exe
+                download link from web archive
+  http://msdn.microsoft.com/en-us/library/aa370834%28v=VS.85%29.aspx
+                The components of the Windows Installer Software Development
+                Kit are included in the Microsoft Windows Software Development
+                Kit (SDK).
+  http://msdn.microsoft.com/en-us/library/bb417343.aspx
+                Microsoft Cabinet Format
+
+Internet Explorer.
+==================
+
+Debugging IE.
+-------------
+
+Install IE 8.0 and press 'F12' key.
+
+  http://msdn.microsoft.com/library/dd565626.aspx
+                Developer Tools User Interface Reference
+
+Microsoft technologies.
+=======================
+
+COM.
+----
+
+The family of COM technologies includes COM+, Distributed COM (DCOM) and
+ActiveX® Controls.
+
+  http://www.microsoft.com/com/default.mspx
+                home page
+
+OLE.
+----
+
+OLE (Object Linking and Embedding) allows embedding and linking to documents and
+other objects.
+
+OLE 1.0 released in 1990, OLE 2.0 released in 1993, in 1994 OLE custom controls
+(OCXs) were introduced.
+
+OLE objects and containers are implemented on top of the Component Object Model.
+
+Next release after 2.0 introdused in 1996 and named as ActiveX.
+
+ * http://en.wikipedia.org/wiki/Object_Linking_and_Embedding
+
+ActiveX.
+--------
+
+Faced with the complexity of OLE 2.0 and with poor support for COM in MFC,
+Microsoft rationalized the specifications to make them simpler, and rebranded
+the technology as ActiveX in 1996.
+
+  http://msdn.microsoft.com/en-us/library/aa751968.aspx
+                ActiveX Controls.
+  http://en.wikipedia.org/wiki/ActiveX
+                Wikipedia article.
+
+ATL.
+----
+
+The Active Template Library (ATL) is a set of template-based C++ classes
+developed by Microsoft, intended to simplify the programming of Component Object
+Model (COM) objects.
+
+  http://en.wikipedia.org/wiki/Active_Template_Library
+
+MFC.
+----
+
+MFC (Microsoft Foundation Classes) is a library that wraps portions of the
+Windows API in C++ classes, including functionality that enables them to use a
+default application framework. Classes are defined for many of the
+handle-managed Windows objects and also for predefined windows and common
+controls.
+
+A lightweight alternative to MFC is the Windows Template Library (WTL).
+
+ * http://en.wikipedia.org/wiki/Microsoft_Foundation_Class_Library
+ * http://ru.wikipedia.org/wiki/Microsoft_Foundation_Classes
+
+Can I link to MFC statically.
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Yes, see:
+
+ * http://msdn.microsoft.com/en-us/library/f22wcbea%28VS.80%29.aspx
+
+Microsoft Visual C++ Redistributable Package.
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+  http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=32bc1bee-a3f9-4c13-9c99-220b62a191ee&displayLang=en
+                This package installs runtime components of C Runtime (CRT),
+                Standard C++, ATL, MFC, OpenMP and MSDIA libraries.
+
+WTL.
+====
+
+WTL (Windows Template Library) is a free software, object-oriented C++ template
+library for Win32 development.
+
+WTL provides support for implementing various user interface elements, to MDI,
+standard and common controls, common dialogs, property sheets and pages, GDI
+objects, and other common UI elements, such as scrollable windows, splitter
+windows, toolbars and command bars.
+
+Most of the WTL API is a mirror of the standard Win32 calls.
+
+ * http://sourceforge.net/projects/wtl
+ * http://en.wikipedia.org/wiki/Windows_Template_Library
+
+Windows style variable names.
+=============================
+::
+
+  Prefix   |  Data type
+  ---------+-----------------------------------------
+  b        |  boolean
+  by       |  byte or unsigned char
+  c        |  char
+  cx / cy  |  short used as size
+  dw       |  DWORD, double word or unsigned long
+  fn       |  function
+  h        |  handle
+  i        |  int (integer)
+  l        |  Long
+  n        |  short int
+  p        |  a pointer variable containing the address of a variable
+  s        |  string
+  sz       |  ASCIIZ null-terminated string
+  w        |  WORD unsigned int
+  x, y     |  short used as coordinates
+
+::
+
+  PrefixCategory  | Mean
+  ----------------+----------------
+  CS              | Class style
+  CW              | Create window
+  DT              | Draw text
+  IDC             | Cursor ID
+  IDI             | Icon ID
+  WM              | Window message
+  WS              | Window style
+
+::
+
+  Data type | Meaning
+  ----------+-------------------------------------------------------------------
+  FAR       | Same as far. Identifies an address that originally used the
+            | segment:offset addressing schema. Now FAR simply identifies a
+            | (default) 32-bit address but may be omitted entirely in many cases.
+            |
+  PASCAL    | Same as Pascal. The Pascal convention demanded by Windows
+            | defines the order in which arguments are found in the stack when
+            | passed as calling parameters.
+            |
+  WORD	    | Unsigned integer (16 bits)
+            |
+  UINT      | Unsigned integer, same as WORD
+            |
+  DWORD     | Double word, unsigned long int (32 bits)
+            |
+  LONG      | Signed long integer (32 bits)
+            |
+  LPSTR     | Long (far) pointer to character string
+            |
+  NEAR      | Obsolete, previously identified an address value within a 16KB
+            | memory block.
+
+See:
+
+  http://www.tenouk.com/cnotation.html
+                C/C++ NOTATION STORY
--- a/windows-driver.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/windows-driver.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Driver for Windows.
 =====================
 .. contents::
+   :local:
 
 About.
 ======
--- a/windows-reg.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/windows-reg.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Registry files.
 =================
 .. contents::
+   :local:
 
 How to add, modify, or delete registry subkeys and values.
 ==========================================================
--- a/windows-service.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/windows-service.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Windows service.
 ==================
 .. contents::
+   :local:
 
 About Windows services.
 =======================
--- a/windows.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/windows.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Windows OS.
 =============
 .. contents::
+   :local:
 
 Determining windows version.
 ============================
--- a/wine.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/wine.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Wine.
 =======
 .. contents::
+   :local:
 
 Useful info.
 ============
--- a/x.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/x.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  X.
 ====
 .. contents::
+   :local:
 
 Standard.
 =========
--- a/xkb.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/xkb.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  xkb.
 ======
 .. contents::
+   :local:
 
 List xkb settings.
 ==================
--- a/xml-rpc.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/xml-rpc.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  XML-RPC.
 ==========
 .. contents::
+   :local:
 
 XML-RPC spec.
 =============
--- a/xml.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/xml.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  XML.
 ======
 .. contents::
+   :local:
 
 About XML.
 ==========
--- a/xorg.rst	Mon Feb 22 12:42:48 2016 +0200
+++ b/xorg.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -5,6 +5,7 @@
  Xorg.
 =======
 .. contents::
+   :local:
 
 Where find info?
 ================