merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 24 Mar 2013 11:06:16 +0200
changeset 1481 01eecd0d108e
parent 1475 1e6a475dcf96 (diff)
parent 1480 c8f7a7a5c5f8 (current diff)
child 1487 64a4e431b762
child 1490 db9fb38505e1
child 1500 fc0212fe5080
merged
--- a/Makefile	Wed Aug 08 07:37:07 2012 +0300
+++ b/Makefile	Sun Mar 24 11:06:16 2013 +0200
@@ -1,3 +1,7 @@
+
+################################################################
+# Standard GNU Makefile settings.
+
 SHELL = /bin/sh
 export PATH := /bin:/usr/bin:${PATH}
 
@@ -7,6 +11,8 @@
 MAKEFLAGS += -R
 # Disable built in suffix rules.
 .SUFFIXES:
+# Delete target file if command fails.
+.DELETE_ON_ERROR:
 # Default target.
 .DEFAULT_GOAL = all
 
@@ -59,12 +65,12 @@
 
 # Will be accessible via: http://gavenkoa.users.sourceforge.net/tips-html/frame.html
 .PHONY: deploy2sf-web
-deploy2sf: html
+deploy2sf-web: html
 	rsync --delete -avP -e ssh tips-html/ gavenkoa@frs.sourceforge.net:/home/user-web/g/ga/gavenkoa/htdocs/tips-html/
 
 .PHONY: deploy2sf-hg
 deploy2sf-hg:
-	hg push ssh://gavenkoa@hg.code.sf.net/u/gavenkoa/tips
+	hg push ssh://gavenkoa@hg.code.sf.net/u/gavenkoa/tips || [ $$? = 1 ]
 
 ################################################################
 # Build targets.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/browsers.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -0,0 +1,36 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===========
+ Browsers.
+===========
+.. contents::
+
+Browsers release history.
+=========================
+
+  https://wiki.mozilla.org/Releases
+                Firefox Releases.
+  http://en.wikipedia.org/wiki/Firefox_release_history
+                Firefox release history.
+  http://en.wikipedia.org/wiki/History_of_Firefox
+                History of Firefox.
+  http://www.opera.com/docs/history/
+                Opera version history.
+  http://en.wikipedia.org/wiki/History_of_the_Opera_web_browser
+                History of the Opera web browser.
+  http://en.wikipedia.org/wiki/Safari_version_history
+                Safari version history.
+
+Browser popularity.
+===================
+
+  http://caniuse.com/usage_table.php
+                Browser usage table, based on data from StatCounter GlobalStats.
+
+Browser performance.
+====================
+
+  http://arewefastyet.com/
+                Tracking performance of popular JavaScript engines.
+
--- a/bzr.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/bzr.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -37,6 +37,14 @@
 Updating repo.
 ==============
 
+Get default remote changes::
+
+  $ bzr update
+
+Update to specific revision::
+
+  $ bzr up -r $REV
+
 Incoming changes.
 =================
 ::
--- a/chm.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/chm.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -34,22 +34,52 @@
   http://support.microsoft.com/kb/269766/
                 INFO: Limited Unicode Support in HTML Help
 
+Microsoft HTML Help under Debian.
+=================================
+
+Set Wine's Windows version to Windows 2000 (or above), and add an override to
+use the native itss.dll, both via ``winecfg``::
+
+  wine winecfg
+
+Download `Microsoft HTML Help Workshop
+<http://msdn.microsoft.com/library/en-us/htmlhelp/html/hwMicrosoftHTMLHelpDownloads.asp>`_
+and install it as::
+
+  wine htmlhelp.exe
+
+Install itircl.dll and itss.dll as::
+
+  cabextract -F hhupd.exe htmlhelp.exe
+  cabextract -F itircl.dll hhupd.exe
+  cabextract -F itss.dll hhupd.exe
+  cp -a itircl.dll ~/.wine/drive_c/windows/system32/
+  cp -a itss.dll ~/.wine/drive_c/windows/system32/
+  wine regsvr32 /s 'C:\WINDOWS\SYSTEM32\itircl.dll'
+  wine regsvr32 /s 'C:\WINDOWS\SYSTEM32\itss.dll'
+
+Download `Microsoft Foundation Classes update
+<http://activex.microsoft.com/controls/vc/mfc40.cab>`_, extract it, and install
+it as::
+
+  wget http://activex.microsoft.com/controls/vc/mfc40.cab
+  cabextract mfc40.cab
+  wine mfc40.exe
+  wget -N http://activex.microsoft.com/controls/vc/mfc40.cab
+  cabextract -F mfc40.exe mfc40.cab
+  cabextract -F mfc40.dll mfc40.exe
+  cp -a mfc40.dll ~/.wine/drive_c/windows/system32/
+
+See:
+
+ * http://code.google.com/p/htmlhelp/wiki/HHW4Wine
+
 Viewer.
 =======
-
-gnochm.
--------
-
-Debian:
-
-  $ sudo apt-get install gnochm
-
-xchm.
------
-
-Debian:
+::
 
   $ sudo apt-get install xchm
+  $ sudo apt-get install gnochm
 
 
 
--- a/css.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/css.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -32,6 +32,7 @@
 
 Selectors.
 ==========
+::
 
   tag {}
   .class {}
@@ -44,6 +45,7 @@
   tag ~ tag {} - выбор любого соседа
 
   [attr] {}
+  [attr1][attr2] {}
   [attr="..."] {}
   [attr~="..."] {} - присутствует слово ... в поле атрибута
   [attr*="..."] {} - присутствует набор символов ... в поле атрибута
@@ -65,6 +67,22 @@
   использовать счетчики)
   :after{} - тоже, что и before, только ставит текст после контента тега
 
+See:
+
+ * http://www.w3.org/TR/CSS2/selector.html
+ * http://www.w3.org/TR/css3-selectors/#selectors
+
+CSS include statement.
+======================
+::
+
+  @import url("common.css");
+
+Default style for HTML elements.
+================================
+
+ * http://www.w3.org/TR/CSS2/sample.html
+
 Emacs.
 ======
 ::
--- a/cvs.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/cvs.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -94,3 +94,17 @@
   $ rm $file            # remove it from local sources
   $ cvs update $file    # get a new copy from the repository
 
+List of CVS branches.
+=====================
+
+There are no such command but this command allow extract such info::
+
+  $ cd $CVS_PROJ
+  $ cvs rlog -l -h -b $(cat CVS/Repository)
+
+Update to HEAD.
+===============
+::
+
+  $ cvs up -A
+
--- a/debian-apt.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/debian-apt.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -9,15 +9,38 @@
 Conf files.
 ===========
 
-See man sources.list(5), apt.conf(5)::
+See man sources.list(5), apt.conf(5), apt_preferences(5).
+
+``/etc/apt/sources.list``::
+
+  deb http://ftp.debian.org.ua/debian/ stable main contrib non-free
+  deb http://ftp2.debian.org.ua/debian/ testing main contrib non-free
+  deb http://ftp2.debian.org.ua/debian/ unstable main contrib non-free
+  deb http://ftp.uk.debian.org/debian/ experimental main contrib non-free
+  deb http://www.deb-multimedia.org testing main non-free
+
+``/etc/apt/preferences``::
 
-  /etc/apt/sources.list
-  /etc/apt/apt.conf
+  Package: *
+  Pin: release a=stable
+  Pin-Priority: 800
+
+  Package: *
+  Pin: release a=testing
+  Pin-Priority: 900
+
+  Package: *
+  Pin: release a=unstable
+  Pin-Priority: 700
+
+  Package: *
+  Pin: release a=experimental
+  Pin-Priority: 600
 
 Setup backport.
 ===============
 
-Main backports archive you can find on www.backports.org.
+Main backports archive located at http://www.backports.org.
 
 To get packeges gpg sign key::
 
@@ -29,9 +52,6 @@
 Write where packeges places::
 
   $ cat /etc/apt/sources.list
-  deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-2 20070407-12:15]/ etch contrib main
-  deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 20070407-12:15]/ etch contrib main
-
   deb http://www.backports.org/debian/ etch-backports main contrib non-free
 
 Getting new keys for packages.
--- a/debian.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/debian.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -90,3 +90,24 @@
 
   $ sudo apt-get install dhelp info2www man2html swish++
 
+Debian runlevels.
+=================
+
+ * 0		System Halt
+ * 1		Single user
+ * 2		Full multi-user mode (Default)
+ * 3-5		Same as 2
+ * 6		System Reboot
+
+Show curent runlevel.
+=====================
+::
+
+  $ /sbin/runlevel
+
+Switching runlevels.
+====================
+::
+
+  $ sudo telinit 2
+
--- a/devel-ideal-proj.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/devel-ideal-proj.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -1,9 +1,9 @@
 .. -*- coding: utf-8; -*-
 .. include:: HEADER.rst
 
-======================================
- Ideal softwaare development project.
-======================================
+=====================================
+ Ideal software development project.
+=====================================
 .. contents::
 
 About ideal software development model.
@@ -14,40 +14,39 @@
 Open source.
 ============
 
-Open source software project have freedom how develop project and which
-development toolchains use.
+Open source software project have freedom on how organise project workflow and
+which development toolchains to use.
 
 Close source.
 =============
 
 Close source projects have proprietary nature because of:
 
- * interest to make money (another parties can not easily reproduce project or
-   steal realisation ideas/code, allowing another party get same product and get
-   company money)
+ * interest to make money (another parties can not easily reproduce project to
+   get monopoly on market)
  * low code quality (to stop stain company good name or to stop malicious
    attacks based on code analysis)
  * security consideration (to hide protocols and data format to make harder
    malicious attack)
  * business model (closed data formats allow vendor lock)
 
-Disadvantage of closed source project (in many case):
+Disadvantages of closed source project (in many case):
 
  * you can not directly contact with developers (only through support)
- * low support quality
+ * low support quality (supported ugually don't have tech skills)
  * paid support (and you have no enough money)
  * can not access to product bug tracing system (you only can submit bug via
-   crash report application or technical support, publicly appear internal bug
-   tracing can damage product reputation
+   crash report application or technical support; publishing internal bugs can
+   damage product reputation)
 
 Component of software project.
 ==============================
 
- * Src (sources).
- * Doc (documentation).
- * VCS (version control system).
- * BTS (bug tracking).
- * News (project news/history/changelog).
+ * Sources.
+ * Documentation.
+ * Version control system (VCS).
+ * Bug tracking system (BTS).
+ * Project news/history/changelog.
 
 Project home page.
 ==================
--- a/devel-proj-files.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/devel-proj-files.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -6,6 +6,11 @@
 ============================
 .. contents::
 
+Additional reading.
+===================
+
+ * http://autotoolset.sourceforge.net/tutorial.html
+
 Essential project files.
 ========================
 
@@ -15,102 +20,14 @@
  * AUTHORS
  * CHANGES
 
-General info files.
-===================
-
-README file.
-------------
-
- * README file should refer to the file INSTALL and copying conditions.
- * Use README-xxx for specific topic.
-
-ABOUT/OVERVIEW/SUMMARY file.
-----------------------------
-
-ABOUT-NLS file.
----------------
-
- * Notes on the Free Translation Project.
-
-NOTES/NOTICE file.
-------------------
-
-FEATURES file.
---------------
-
-FEEDBACK file.
---------------
-
-PLATFORMS file.
----------------
-
- * Supported platforms and compilers.
-
-PROBLEMS/KNOWNBUG/WARNINGS file.
---------------------------------
-::
-
-  PROBLEMS
-  KNOWNBUG  KNOWN_BUGS  KNOWN-BUGS
-  WARNINGS
-
-FORK file.
-----------
-
- * Why this project is fork of another project.
-
-COMMANDS file.
---------------
+This files can have suffixes to represent formating syntax:
 
- * brief list of commands for built-in language
-
-PROGLIST file.
---------------
-
-UPGRADE/UPGRADING/CONVERSION file.
-----------------------------------
-
- * How upgrade to new version.
-
-MIRRORS/WHERE file.
--------------------
-
- * Where get src/build, mirrors list.
-
-SERVICE/SUPPORT file.
----------------------
-
- * about support services for software
-
-Thanks files.
-=============
-::
+ * ``.txt`` - plain text
+ * ``.rst`` - reStructuredText
+ * ``.md`` - Markdown
+ * ``.rd``, ``.rdoc`` - RDtool
 
-  ACKNOWLEDGEMENTS
-
-AUTHORS/THANKS files.
-=====================
-
-AUTHORS/MAINTAINERS file.
--------------------------
-::
-
-  AUTHOR  AUTHORS  MAINTAINERS
-
- * Regular contributor list.
- * List of project members with contact info (email, phone, home page, address,
-   etc).
-
-CONTRIBUTORS/THANKS/CREDITS file.
----------------------------------
-::
-
-  CONTRIBUTORS THANKS CREDITS ACKNOWLEDGEMENTS
-
- * Casual/non-regular contributor list.
-
-DEDICATION file.
-----------------
+and optionally compressed - ``.gz``.
 
 README file.
 ============
@@ -118,32 +35,98 @@
 Assumed that users first read this file before start using project.
 
  * Project name.
- * Project goal.
+ * Project goal/purpose.
  * Point to license statements.
  * Point to build instructions.
  * Point to documentations.
+ * Use README-xxx for specific topic.
 
-ABOUT file.
-===========
+ABOUT/OVERVIEW/SUMMARY file.
+============================
 
  * About project.
- * In form of 'ABOUT-xxx' - about topic 'xxx'.
+ * Use ABOUT-xxx for specific topic.
+
+ABOUT-NLS file.
+===============
+
+ * Notes on the Free Translation Project.
+
+NOTES/NOTICE file.
+==================
+
+FEATURES file.
+==============
+
+MIRRORS/WHERE file.
+===================
+
+ * Where get src/build, mirrors list.
+
+PLATFORMS file.
+===============
+
+ * Supported platforms and compilers.
+
+AUTHORS/MAINTAINERS file.
+=========================
+::
+
+  AUTHOR  AUTHORS  MAINTAINERS
+
+ * Was maintained for legal reasons.
+ * Regular contributor list.
+ * List of project members with contact info (email, phone, home page, address,
+   etc).
+
+CONTRIBUTORS/THANKS/CREDITS file.
+=================================
+::
 
-Build/install instruction.
-==========================
+  CONTRIBUTORS THANKS CREDITS ACKNOWLEDGEMENTS
+
+ * Casual/non-regular contributor list.
+ * Wasn't maintained for legal reasons.
+ * Thanks for hardware/hosting/money etc.
+
+DEDICATION file.
+================
+
+FEEDBACK file.
+==============
+
+FORK file.
+==========
+
+ * Why this project is fork of another project.
 
-INSTALL file.
--------------
+COMMANDS file.
+==============
+
+ * brief list of commands for built-in language
+
+PROGLIST file.
+==============
+
+UPGRADE/UPGRADING/CONVERSION file.
+==================================
+
+ * How upgrade to new version.
+
+SERVICE/SUPPORT file.
+=====================
+
+ * about support services for software
+
+INSTALL/BUILD file.
+===================
 
  * List of supported platform.
  * Build dependencies/prerequisites.
  * Build/installation instructions.
 
-BUILD file.
------------
-
 CUSTOMIZE file.
----------------
+===============
 
  * Customize the compilation.
 
@@ -367,8 +350,16 @@
 Version info files.
 ===================
 
-VERSION/RELDATE/RELEASE-DATE file.
-----------------------------------
+VERSION file.
+-------------
+
+ * Package version.
+ * Package name (optional).
+ * Release naming schema and version number semantics (optional).
+ * Release names and version relations (like starts, toys, animals, etc, optional).
+
+RELDATE/RELEASE-DATE file.
+--------------------------
 
 ANNOUNCE file.
 --------------
@@ -377,6 +368,9 @@
   ANNOUNCE
   ANNOUNCEMENT
 
+ * Only current release changes and notes. No history. Same text was sent to
+   mail lists as announce.
+
 HISTORY file.
 =============
 
@@ -410,6 +404,14 @@
 HOWTO file.
 -----------
 
+PROBLEMS/KNOWNBUG/WARNINGS file.
+================================
+::
+
+  PROBLEMS
+  KNOWNBUG  KNOWN_BUGS  KNOWN-BUGS
+  WARNINGS
+
 Bug report instructions.
 ========================
 ::
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/devel-proj-hierarchy.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -0,0 +1,36 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=============================
+ Software project hierarchy.
+=============================
+.. contents::
+
+Additional reading.
+===================
+
+ * http://stackoverflow.com/questions/14747056/common-practice-to-name-project-directory-which-hold-support-scripts-configs-d
+
+Essential project dirs.
+=======================
+
+TODO
+
+Support directories.
+====================
+
+``examples`` or ``samples`` used to show practical usage of project in
+mini-scripts or mini-programs, or mini-configs.
+
+``scripts``, ``support`` - wrappers or copy of missing scripts/utilities to
+provide cross-environment build.
+
+``tools`` - extra utilities to profile or debug project.
+
+``contrib`` - user supplied scripts, configs, etc...
+
+``misc``, ``etc`` - uncategorised files (if you don't know the right place for
+it).
+
+``config``, ``extra``
+
--- a/dns.rst	Wed Aug 08 07:37:07 2012 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
--*- mode: outline; coding: utf-8; -*-
-
-* How reread config file?
-
-** FreeBSD.
-
-  $ named.reload
--- a/emacs.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/emacs.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -64,6 +64,7 @@
 See value of variable ``load-history`` (by C-h v load-history RET)::
 
   (symbol-file 'c-mode)
+  (find-lisp-object-file-name 'c-mode (symbol-function 'c-mode))
 
 Using edebug.
 -------------
--- a/firefox-devel.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/firefox-devel.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -1,23 +1,19 @@
--*- mode: outline; coding: utf-8; fill-column: 90 -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
-* Setting up environment.
-
-In 'about:config' set this variable:
+==========================
+ Develop with/of Firefox.
+==========================
+.. contents::
 
-  javascript.options.showInConsole = true
-                Logs errors in chrome files to the Error Console.
-  javascript.options.strict = true
-                Enables strict JavaScript warnings in the Error Console.
-  extensions.logging.enabled = true
-                This will send more detailed information about installation and update
-                problems to the Error Console.
+Useful Firefox add-ons for developers.
+======================================
 
-  https://developer.mozilla.org/en/Setting_up_extension_development_environment
-                setting up profile, options and about developer plugin
+  https://addons.mozilla.org/en-US/firefox/collections/mozilla/webdeveloper/
+                Plug-ins for Web-development.
 
-* Useful developer plugin.
-
-** Firebug.
+Firebug.
+--------
 
 Firebug integrates with Firefox to put a wealth of development tools at your fingertips
 while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any
@@ -28,7 +24,8 @@
   https://addons.mozilla.org/firefox/addon/1843
                 download page
 
-** Live HTTP Headers.
+Live HTTP Headers.
+------------------
 
  * First by adding a 'Headers' tab in 'View Page Info' of a web page.
  * Second by adding a tool in the 'Tools->Web Development' menu to be able to display http
@@ -51,7 +48,8 @@
   http://www.fiddler2.com/fiddler2/
                 Web Debugging Proxy
 
-** Tamper Data.
+Tamper Data.
+------------
 
  * Use tamperdata to view and modify HTTP/HTTPS headers and post parameters.
  * Trace and time http response/requests.
@@ -64,45 +62,52 @@
   https://addons.mozilla.org/en-US/firefox/addon/966/
                 download page
   http://jimbojw.com/wiki/index.php?title=Tamper_Data
-
-* How build Firefox.
+                Tamper Data tutorial.
 
-  https://developer.mozilla.org/en/Build_Documentation
-                Build Instructions
-  https://developer.mozilla.org/en/Mozilla_Source_Code_%28Mercurial%29
-                Getting Mozilla Source Code Using Mercurial
+Extension security.
+===================
 
-* Extension security.
-
-  https://developer.mozilla.org/en/Security_best_practices_in_extensions
+ * https://developer.mozilla.org/en/Security_best_practices_in_extensions
 
-* Debugin Firefox.
+Debugging in Firefox.
+=====================
 
-  https://developer.mozilla.org/en/how_to_get_a_stacktrace_with_windbg
-
-* Debugin JavaScript in Firefox.
+For JavaScript::
 
-// Logs errors in chrome files to the Error Console. Enable Components.utils.reportError().
-user_pref("javascript.options.showInConsole", true);
-// Disables the XUL cache so that changes to windows and dialogs do not require a restart.
-user_pref("nglayout.debug.disable_xul_cache", true);
-// Enables the use of the dump() statement to print to the standard console.
-user_pref("browser.dom.window.dump.enabled", true);
-// Enables strict JavaScript warnings in the Error Console.
-user_pref("javascript.options.strict", true);
-// This enables to run JavaScript code snippets in the chrome context of the Scratchpad from the Tools menu.
-user_pref("devtools.chrome.enabled", true);
-// This will send more detailed information about installation and update problems to the Error Console.
-user_pref("extensions.logging.enabled", true);
-user_pref("dom.report_all_js_exceptions", true);
+  // Enables strict JavaScript warnings in the Error Console.
+  user_pref("javascript.options.strict", true);
+  // Logs errors in chrome files to the Error Console. Enable Components.utils.reportError().
+  user_pref("javascript.options.showInConsole", true);
+  // Disables the XUL cache so that changes to windows and dialogs do not require a restart.
+  user_pref("nglayout.debug.disable_xul_cache", true);
+  // Enables the use of the dump() statement to print to the standard console.
+  user_pref("browser.dom.window.dump.enabled", true);
+  // This enables to run JavaScript code snippets in the chrome context of the Scratchpad from the Tools menu.
+  user_pref("devtools.chrome.enabled", true);
+  // This will send more detailed information about installation and update problems to the Error Console.
+  user_pref("extensions.logging.enabled", true);
+  user_pref("dom.report_all_js_exceptions", true);
+
+See:
 
-** Debugging JavaScript in Firefox with Web Console.
+  https://developer.mozilla.org/en/Setting_up_extension_development_environment
+                setting up profile, options and about developer plugin
 
-'console.log()', 'console.info()', 'console.warn()', 'console.error()'.
+Debugging JavaScript with Web Console.
+--------------------------------------
+
+Instead of "Error Console" (press Ctrl+Shift+J) use "Web Console" (press
+Ctrl+Shift+K) in Firefox >=4.0::
 
-  https://developer.mozilla.org/en/Using_the_Web_Console
+  'console.log()', 'console.info()', 'console.warn()', 'console.error()'.
+
+See:
 
-** Debugging JavaScript in Firefox with Firebug.
+ * https://developer.mozilla.org/en/Using_the_Web_Console
+ * https://developer.mozilla.org/en-US/docs/Tools/Web_Console
+
+Debugging JavaScript with Firebug.
+----------------------------------
 
 With Firebug you can use 'console.log(obj)' for logging. Also output can be grouped with
 console.group("name") to start a new indentation block, and then console.groupEnd().
@@ -118,38 +123,59 @@
                 logging
   http://getfirebug.com/wiki/index.php/Console_API
                 Console API
-
-** dump().
+  http://getfirebug.com/wiki/index.php/Command_Line
+                Command Line
+  http://getfirebug.com/wiki/index.php/Console_Panel
+                Console Panel
 
-Set in 'about:config' 'browser.dom.window.dump.enabled' to 'true'.
+dump().
+-------
 
-All messages go to native console. On Windows this require '-console' option for 'firefox.exe'.
+Set in ``about:config`` ``browser.dom.window.dump.enabled`` to ``true``.
+
+All messages go to native console. On Windows this require ``-console`` option
+for ``firefox.exe``.
 
   https://developer.mozilla.org/en/DOM/window.dump
 
-** Components.utils.reportError.
+Components.utils.reportError.
+-----------------------------
 
-Write error msg to Error console (not in Web Console).
+Write error msg to Error console (not in Web Console)::
 
   Components.utils.reportError("msg");
   // Show the error console.
   toJavaScriptConsole();
 
-Firefox 3.x require set preference 'javascript.options.showInConsole' to 'true' which is
-default value fro Firefox 4.x.
+Firefox 3.x require set preference 'javascript.options.showInConsole' to 'true'
+which is default value fro Firefox 4.x.
 
-  https://developer.mozilla.org/en/Components.utils.reportError
+ * https://developer.mozilla.org/en/Components.utils.reportError
+
+Build Firefox from sources.
+===========================
 
-* Native Firefox debugging.
+  https://developer.mozilla.org/en/Build_Documentation
+                Build Instructions
+  https://developer.mozilla.org/en/Mozilla_Source_Code_%28Mercurial%29
+                Getting Mozilla Source Code Using Mercurial
 
-** Adding symbols from Symbol Server.
+Native Firefox debugging.
+=========================
+
+ * https://developer.mozilla.org/en/how_to_get_a_stacktrace_with_windbg
 
-Execute in WinDbg:
+Adding symbols from Symbol Server.
+----------------------------------
+
+Execute in WinDbg::
 
   .sympath SRV*c:\symcache\*http://msdl.microsoft.com/download/symbols;SRV*c:\symcache\*http://symbols.mozilla.org/firefox
 
-or Ctrl+S and add:
+or Ctrl+S and add::
 
   SRV*c:\symcache\*http://msdl.microsoft.com/download/symbols;SRV*c:\symcache\*http://symbols.mozilla.org/firefox
 
+See:
+
   https://developer.mozilla.org/en/Using_the_Mozilla_symbol_server
--- a/frame.html	Wed Aug 08 07:37:07 2012 +0300
+++ b/frame.html	Sun Mar 24 11:06:16 2013 +0200
@@ -5,6 +5,6 @@
 </head>
 <frameset cols="220,*">
     <frame src="frame-index.html" name="toc">
-    <frame src="index.html" name="article">
+    <frame src="README.html" name="article">
 </frameset>
 </html>
--- a/fvwm.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/fvwm.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -1,6 +1,48 @@
--*- mode: outline; coding: utf-8; -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=======
+ FVWM.
+=======
+.. contents::
+
+Obtain FVWM capabilities.
+=========================
+::
+
+  $ fvwm-config --supports
+  $ if fvwm-config --supports-xft; then echo yes; else echo no; fi
+
+  $ fvwm-config --info
+  $ fvwm-config --prefix
+  $ fvwm-config --bindir
+  $ fvwm-config --fvwm-moduledir
+
+Dump Fvwm configuration in runtime.
+===================================
 
-* FVWM Themes.
+Run in Fvwm console::
+
+  PrintInfo style 2
+  PrintInfo bindings
+
+and check results in ``~/.xsession-errors``.
+
+Perl module for FVWM.
+=====================
+::
+
+  #!/usr/bin/perl -w
+  use lib `fvwm-perllib dir`;
+  use FVWM::Module;
+
+or::
+
+  use lib `fvwm-config -p | tr -d '0`;
+  use FVWM::Module;
+
+FVWM Themes.
+============
 
 See
 
--- a/hardware-listner.rst	Wed Aug 08 07:37:07 2012 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
--*- mode: outline; coding: utf-8; -*-
-
-* Linux.
-
-  $ dmesg
-  $ lsusb
-  $ lspci
-
-** Graphics card.
-
-glxinfo - details about OpenGL, the Xserver, and your graphics card
-glxinfo | grep direct - do you have direct 3d rendering?
-glxinfo | grep vendor - graphics card vendor
-lspci | grep VGA - specific graphics card model
-glxgears - a simple 3d benchmark, prints frame rate to the terminal
-xrandr - supported display resolutions
-
-** Audio.
-
-lspci | grep Audio - audio controller
-aplay --list-devices - more audio device information
-
-** Software versions.
-cat /etc/issue - current distribution and version
-apt-cache showpkg packagename - packagename’s version and dependencies
-uname -r - Linux kernel version
-uname -a - all kernel details
-
-** Networking.
-
-lspci | grep Ethernet - Ethernet controllers
-ifconfig - networking interfaces, IP addresses, and more
-
-** Processor.
-
-cat /proc/cpuinfo - all processors, clock speeds, flags, and more
-cat /proc/loadavg - processor load average for the last 1, 5, and 15 minutes
-top - press C key to sort processes by CPU usage
-
-** Memory.
-
-cat /proc/meminfo - amount of RAM and swap, and how much is being used for what
-free -m - total, used, and free memory shown in MB
-top - press M key to sort processes by memory usage
-
-** Hard disks.
-
-df -H - partitions, as well as their mount-points and usage in GB
-sudo fdisk -l - all partitions, their device names, and positions on disk
-
-** USB devices.
-
-lsusb - USB buses and attached devices
-
-** Even more.
-
-lshal -m - monitor for hardware changes
-lspci - all PCI devices
-hwinfo --short (install from package hwinfo) - overview of all hardware, as well as more detailed info
-lshw - another program for listing hardware
-lshw -html | w3m -T text/html - lists hardware with HTML output in the w3m web browser
-uptime - current time elapsed since last reboot, users, and load average
-
-** Debian.
-
-  $ sudo apt-get install lshw
--- a/html.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/html.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -27,7 +27,7 @@
 Center an object.
 =================
 
-To center blog-level element::
+To center block-level element::
 
   <div style="margin-left: auto; margin-right: auto; position: relative; width: 700px;">
     <div>SOME</div>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hw-list.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -0,0 +1,107 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+================
+ List hardware.
+================
+.. contents::
+
+Connon method under Linux.
+==========================
+
+  ``dmesg``
+                Messages about detecting new hardware.
+  ``lshal -m``
+                monitor for hardware changes
+  ``lspci``
+                all PCI devices
+  ``hwinfo --short``
+                Overview of all hardware, as well as more detailed info.
+  ``lshw``
+                Another program for listing hardware.
+  ``lshw -html | w3m -T text/html``
+                Lists hardware with HTML output in the w3m web browser.
+  ``uptime``
+                Current time elapsed since last reboot, users, and load average.
+  ``lsusb``
+                USB buses and attached devices.
+
+Graphics card.
+==============
+
+  ``glxinfo``
+                Details about OpenGL, the Xserver, and your graphics card.
+  ``glxinfo | grep direct``
+                Do you have direct 3d rendering?
+  ``glxinfo | grep vendor``
+                Graphics card vendor.
+  ``lspci | grep VGA``
+                Specific graphics card model.
+  ``glxgears``
+                A simple 3d benchmark, prints frame rate to the terminal.
+  ``xrandr``
+                Supported display resolutions.
+
+Audio.
+======
+
+  ``lspci | grep Audio``
+                Audio controller.
+  ``aplay --list-devices``
+                More audio device information.
+
+Software versions.
+==================
+
+  ``cat /etc/issue``
+                Current distribution and version.
+  ``apt-cache showpkg packagename``
+                Packagename’s version and dependencies.
+  ``uname -r``
+                Linux kernel version.
+  ``uname -a``
+                All kernel details.
+
+Networking.
+===========
+
+  ``lspci | grep Ethernet``
+                Ethernet controllers.
+  ``ip addr show``
+                List of netword devices, assigned IP addresses and MAC addresses.
+  ``ifconfig``
+                Networking interfaces, IP addresses, and more.
+
+Processor.
+==========
+
+  ``cat /proc/cpuinfo``
+                All processors, clock speeds, flags, and more.
+  ``cat /proc/loadavg``
+                Processor load average for the last 1, 5, and 15 minutes.
+  ``top``
+                Press C key to sort processes by CPU usage.
+
+Memory.
+=======
+
+  ``cat /proc/meminfo``
+                Amount of RAM and swap, and how much is being used for what.
+  ``free -m``
+                Total, used, and free memory shown in MB.
+  ``top``
+                Press M key to sort processes by memory usage.
+
+Hard disks.
+===========
+
+  ``df -H``
+                Partitions, as well as their mount-points and usage in GB.
+  ``sudo fdisk -l``
+                All partitions, their device names, and positions on disk.
+  ``hwinfo --disk`` or  ``lshw -class disk``
+                Disk hardware info.
+  ``smartctl``
+                Show S.M.A.R.T. reports about disk heals.
+
+
--- a/i18n.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/i18n.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -21,6 +21,9 @@
 Style Guide.
 ------------
 
+Microsoft Style Guides are collections of rules that define language and style
+conventions for specific languages.
+
   http://www.microsoft.com/Language/en-US/StyleGuides.aspx
                 download page
 
@@ -65,5 +68,18 @@
                 desktop_kdelibs.pot and desktop_l10n.pot and around 75% of
                 kdebase should be translated in order to get into a release.
 
+Transliteration.
+================
+
+ГОСТ 7.79-2000 аналогичен ISO 9 и действует в::
+
+  Азербайджане Армении Беларуси Казахстане Киргизии России Таджикистане Туркмении Узбекистане
+
+See:
+
+  http://ru.wikipedia.org/wiki/ISO_9
+                Транслитерация кириллических алфавитов славянских и неславянских языков посредством латиницы.
+  http://zakon1.rada.gov.ua/cgi-bin/laws/main.cgi?nreg=55-2010-%EF&p=1264427739007490
+                Про впорядкування транслітерації українського алфавіту латиницею.
 
 
--- a/java.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/java.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -186,3 +186,29 @@
   http://mvnrepository.com/search.html?query=PKG
   http://www.jarfinder.com
 
+Java EE versions.
+=================
+
+======= ======== ======== ========
+Java EE Servlet  JSP      JSTL
+======= ======== ======== ========
+6       3.0      2.2      -
+5       2.5      2.1      1.2
+1.4     2.4      2.0      1.1
+1.2     2.3      1.2      1.0
+======= ======== ======== ========
+
+To set servlet version check ``WEB-INF/web.xml``::
+
+  <web-app xmlns="http://java.sun.com/xml/ns/javaee" version="3.0">
+
+See:
+
+  http://jcp.org/aboutJava/communityprocess/final/jsr315/index.html
+                Servlet 3.0 Specification
+  http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index.html
+                Servlet 2.5 Specification
+  http://www.mularien.com/blog/2008/04/24/how-to-reference-and-use-jstl-in-your-web-application/
+                How to Reference and Use JSTL in your Web Application
+  http://en.wikipedia.org/wiki/Java_EE_version_history
+                Java EE version history
--- a/javadoc.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/javadoc.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -9,7 +9,11 @@
 Convert JavaDoc to CHM.
 =======================
 
-  http://www.burgaud.com/jd2chm
-  http://javadoc2help.sourceforge.net/
+ * http://www.burgaud.com/jd2chm
+ * http://javadoc2help.sourceforge.net/
 
+JavaDoc in CHM.
+===============
 
+ * http://javadoc.allimant.org/
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jboss.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -0,0 +1,34 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===========
+ JBoss AS.
+===========
+.. contents::
+
+JBoss documentation.
+====================
+
+ * https://docs.jboss.org/author/display/AS7/Documentation
+ * https://docs.jboss.org/author/display/AS7/Getting+Started+Guide
+ * https://docs.jboss.org/author/display/AS7/Management+Clients
+ * https://community.jboss.org/wiki/UsingJconsoleToConnectToJMXOnAS7
+ * https://community.jboss.org/wiki/UsingCLIGUIWithJconsoleOnJBossAS7
+
+Starting local JBoss AS.
+========================
+::
+
+  $ /opt/jboss/bin/standalone.sh &
+
+Deploy war to JBoss AS with Maven.
+==================================
+::
+
+  $ mvn help:describe -DartifactId=jboss-as-maven-plugin -DgroupId=org.jboss.as.plugins
+
+See:
+
+ * http://docs.jboss.org/jbossas/7/plugins/maven/latest/examples/deployment-example.html
+
+
--- a/js.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/js.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -1,10 +1,19 @@
--*- mode: outline; coding: utf-8; -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
-* HTML.
+=============
+ JavaScript.
+=============
+.. contents ::
+
+HTML.
+=====
 
 <noscript> tag used to render HTML if JavaScript disabled in browser.
 
-** Include in HTML.
+Including JavaScript in HTML page.
+==================================
+::
 
   <html>
     <head>
@@ -13,7 +22,9 @@
    ...
   <html>
 
-** Inline in HTML.
+Inlining JavaScript in HTML code.
+=================================
+::
 
   <html>
     <h1>Hello!<h1/>
@@ -25,16 +36,53 @@
     </script>
   </html>
 
-* Reduce js code size.
+Reduce js code size.
+====================
 
   http://crockford.com/javascript/jsmin
                 The JavaScript Minifier
   http://developer.yahoo.com/yui/compressor/
                 YUI Compressor
 
-* XML processing from js.
+JavaScript standards.
+=====================
+
+  http://www.ecma-international.org/publications/standards/Ecma-262.htm
+                ECMAScript Language Specification.
+  http://www.ecma-international.org/publications/standards/Ecma-262-arch.htm
+                ECMAScript Language Specification.
+  http://www.ecma-international.org/publications/standards/Ecma-327.htm
+                ECMAScript 3rd Edition Compact Profile
+  http://www.ecma-international.org/publications/standards/Ecma-357.htm
+                ECMAScript for XML (E4X) Specification.
+  http://www.ecma-international.org/publications/standards/Ecma-290.htm
+                ECMAScript Components Specification.
+
+JavaScript versions.
+====================
+
+JavaScript 1.5 was introduced back in 1999.
 
-** XML for <SCRIPT>.
+  https://developer.mozilla.org/en-US/docs/JavaScript/Reference#JavaScript.2FBrowser_support_history
+                List of versions with CHANGES.
+  http://en.wikipedia.org/wiki/Javascript#Versions
+                List of versions per browser.
+  http://en.wikipedia.org/wiki/ECMAScript#Version_correspondence
+                List of versions.
+  http://kangax.github.com/es5-compat-table/
+                ECMAScript 5 compatibility table.
+  http://caniuse.com/use-strict
+                Can I use ECMAScript 5 Strict Mode?
+
+Pretty print from JavaScript.
+=============================
+
+To Web Developer console (Firefox/Chrome)::
+
+   console.debug ("%o", obj);
+
+XML from JavaScript.
+====================
 
 Powerful, standards-compliant JavaScript XML parser that is designed to help web application
 designers implement cross platform applications that take advantage of client-side manipulation of
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/maven.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -0,0 +1,91 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+========
+ Maven.
+========
+.. contents::
+
+Maven tutorial.
+===============
+
+ * http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
+ * http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
+
+Maven FAQ.
+==========
+
+ * http://maven.apache.org/general.html
+
+Maven plugins.
+==============
+
+ * http://maven.apache.org/plugins/
+
+Generate simple project.
+========================
+::
+
+  $ mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
+
+Search for maven artifact by Java package or class name.
+========================================================
+
+ * https://repository.sonatype.org/
+ * http://search.maven.org/
+
+Get help on Maven plug-in.
+==========================
+::
+
+  $ mvn help:describe -DartifactId=maven-war-plugin -DgroupId=org.apache.maven.plugins
+  $ mvn help:describe -Dcmd=dependency:resolve -Ddetail
+
+  $ mvn dependency:tree
+  $ mvn dependency:list
+  $ mvn dependency:resolve
+  $ mvn dependency:resolve-plugins
+
+  $ mvn -X ...
+
+Reason for inclusion or omitting dependencies::
+
+  $ mvn dependency:tree -Dverbose=true
+
+What actual code processed by Maven::
+
+  $ mvn help:effective-settings
+  $ mvn help:effective-pom
+
+Run Java main from Maven.
+=========================
+::
+
+  mvn exec:java -Dexec.mainClass="com.vineetmanohar.module.Main" -Dexec.args="arg0 arg1 arg2"
+
+How to run single unit test?
+============================
+::
+
+  $ mvn test -Dtest=SeriousComponentTest
+
+How do I skip the tests during the default lifecycle?
+=====================================================
+::
+
+  $ mvn -DskipTests package
+
+Download all external dependencies sources and javadocs.
+========================================================
+::
+
+  mvn dependency:resolve -Dclassifier=javadoc
+  mvn dependency:resolve -Dclassifier=sources
+
+Run Ant from Maven.
+===================
+
+ * https://support.sonatype.com/entries/20736282-executing-an-external-ant-script-in-a-maven-build
+ * https://support.sonatype.com/entries/20723081-running-an-inline-ant-script-in-a-maven-build
+ * https://support.sonatype.com/entries/20744068-writing-a-maven-plugin-with-ant
+
--- a/native.rst	Wed Aug 08 07:37:07 2012 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
--*- mode:outline; coding: utf-8 -*-
-
-* Translation.
-
-  http://www.microsoft.com/Language/en-US/StyleGuides.aspx
-                Microsoft Style Guides are collections of rules that define language and style
-                conventions for specific languages.
-
-* Transliteration.
-
-ГОСТ 7.79-2000 аналогичен ISO 9 и действует в
-
- Азербайджане Армении Беларуси Казахстане Киргизии России Таджикистане Туркмении Узбекистане
-
-  http://ru.wikipedia.org/wiki/ISO_9
-                Транслитерация кириллических алфавитов славянских и неславянских языков посредством латиницы.
-  http://zakon1.rada.gov.ua/cgi-bin/laws/main.cgi?nreg=55-2010-%EF&p=1264427739007490
-                Про впорядкування транслітерації українського алфавіту латиницею.
-
-* Latin abbreviation.
-
-** e.g.
-
-When you mean "for example," use e.g. It is an abbreviation for the Latin
-phrase "exempli gratia".
-
-** i.e.
-
-When you mean "that is," use "i.e." It is an abbreviation for the Latin phrase
-"id est".
--- a/nntp.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/nntp.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -1,48 +1,55 @@
--*- mode: outline; coding: utf-8; -*-
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
 
-* Installing.
+=======
+ NNTP.
+=======
 
-** Debian.
+Installing INN2 on Debian.
+==========================
+::
 
   $ sudo apt-get install inn2
   $ cat /etc/news/inn.conf
-...
-mta:                    "/usr/sbin/exim4 -oi -oem %s"
-organization:           "My HOME nntp"
-pathhost:               my.org.int
-domain:                 org.int
-maxartsize:             10000
-maxconnections:         10
-...
+  ...
+  mta:                    "/usr/sbin/exim4 -oi -oem %s"
+  organization:           "My HOME nntp"
+  pathhost:               my.org.int
+  domain:                 org.int
+  maxartsize:             10000
+  maxconnections:         10
+  ...
+
   $ cat /etc/news/readers.conf
-...
-auth bifit {
-     hosts: "*.org.int, 192.168.1.0/24"
-     default: "<LOCAL>"
-}
-access bifit {
-    users: "<LOCAL>"
-    newsgroups: "comp.*"
-    access: RP
-}
-...
+  ...
+  auth bifit {
+       hosts: "*.org.int, 192.168.1.0/24"
+       default: "<LOCAL>"
+  }
+  access bifit {
+      users: "<LOCAL>"
+      newsgroups: "comp.*"
+      access: RP
+  }
+  ...
+
   $ sudo /etc/init.d/inn2 reload
   $ sudo ctlinnd newgroup comp.general y gavenko@org.int
   $ sudo ctlinnd newgroup comp.general.lang y gavenko@org.int
 
-* FAQ
+innd: SERVER cant listen RCreader Address already in use.
+---------------------------------------------------------
 
-** innd: SERVER cant listen RCreader Address already in use
-
-You need disable IPv6, temporary this done by:
+You need disable IPv6, temporary this done by::
 
   $ su
-...
-  # echo 1 > /proc/sys/net/ipv6/bindv6only
+  $ echo 1 > /proc/sys/net/ipv6/bindv6only
 
-* Public NNTP server.
+Public NNTP server.
+===================
 
-** Gmane.
+Gmane.
+------
 
   news:news.gmane.org
                 news list address
@@ -55,3 +62,12 @@
   http://search.gmane.org
                 search through mailing list
 
+Public NNTP archives.
+=====================
+
+  https://groups.google.com/
+                Biggest usenet archive.
+  http://www.derkeiler.com/
+                USENET archive since 2001.
+  http://marc.info/
+                Very big mailing list archive.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/oracle.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -0,0 +1,62 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+==================
+ Oracle database.
+==================
+.. contents::
+
+Oracle database development environment.
+========================================
+
+  http://en.wikipedia.org/wiki/Oracle_SQL_Developer
+                Integrated development environment (IDE) for working with
+                SQL/PLSql in Oracle databases.
+  http://en.wikipedia.org/wiki/SQL*Plus
+                An Oracle database client that can run SQL and PL/SQL commands
+                and display their results.
+  http://en.wikipedia.org/wiki/Oracle_Forms
+                Is a software product for creating screens that interact with an
+                Oracle database. It has an IDE including an object navigator,
+                property sheet and code editor that uses PL/SQL.
+  http://en.wikipedia.org/wiki/Oracle_JDeveloper
+                JDeveloper is a freeware IDE supplied by Oracle Corporation. It
+                offers features for development in Java, XML, SQL and PL/SQL,
+                HTML, JavaScript, BPEL and PHP.
+  http://en.wikipedia.org/wiki/Oracle_Reports
+                Oracle Reports is a tool for developing reports against data
+                stored in an Oracle database.
+
+Информация о таблицах в БД Oracle.
+==================================
+
+Список таблиц::
+
+  select * from user_tables;
+
+Занимаемый размер таблиц и индексов::
+
+  select segment_name, segment_type, sum(bytes) from user_extents
+    group by segment_name, segment_type order by sum(bytes);
+
+  select sum(bytes) from user_extents;
+
+Список индексов по таблицам::
+
+  select * from user_indexes order by table_name;
+
+Список размеров индексов по таблицам::
+
+  select index_name, table_name, sum(user_extents.bytes) as bytes from user_indexes
+    left outer join user_extents on user_extents.segment_name = table_name
+    group by index_name, table_name
+    order by table_name;
+
+Список ограничений::
+
+  select * from user_constraints;
+
+Используемое пространство таблиц::
+
+  select distinct tablespace_name from user_tables;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/photo.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -0,0 +1,40 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+========
+ Photo.
+========
+.. contents::
+
+Retrieving media from digital cameras.
+======================================
+::
+
+  $ sudo apt-get install gphoto2
+  $ sudo addgroup camera
+  $ sudo adduser user camera
+  $ /usr/lib/i386-linux-gnu/libgphoto2/print-camera-list udev-rules mode 0660 group camera | sudo sh -c "cat >/etc/udev/rules.d/90-my-libgphoto2.rules"
+
+You can write own rules::
+
+  $ lsusb | grep Nikon
+  Bus 001 Device 005: ID 04b0:031c Nikon Corp.
+
+  $ cat /etc/udev/rules.d/90-my-camera.rules
+  ATTRS{idVendor}=="04b0", ATTRS{idProduct}=="031c", MODE="0660", GROUP="camera"
+
+After all those actions restart Linux.
+
+Check if your camera detected:
+
+  $ gphoto2 --auto-detect
+
+Install GUI client:
+
+  $ sudo apt-get install gtkam
+
+  https://wiki.archlinux.org/index.php/Libgphoto2
+                Digital Cameras
+
+
+
--- a/python.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/python.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -50,6 +50,10 @@
 
 Generate documentation from Python sources by Sphinx.
 -----------------------------------------------------
+::
+
+  $ sudo apt-get install python-sphinx
+  $ sudo apt-get install rst2pdf
 
 Code analyzers and style checkers.
 ==================================
--- a/screencast.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/screencast.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -63,6 +63,12 @@
 Screenshort movies.
 ===================
 
+Screenshort movie by mencoder.
+------------------------------
+::
+
+  $ mencoder "mf://*.jpg" -mf fps=30 -o output.avi
+
 ImageMagic and shell script.
 ----------------------------
 ::
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/spring.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -0,0 +1,14 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===================
+ Spring Framework.
+===================
+.. contents::
+
+Documentation.
+==============
+
+  http://www.springsource.org/download/community
+                Spring Framework docs (HTML/PDF) for offile reading.
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sql.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -0,0 +1,29 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+======
+ SQL.
+======
+.. contents::
+
+Joins.
+======
+
+  http://www.codinghorror.com/blog/2007/10/a-visual-explanation-of-sql-joins.html
+                A Visual Explanation of SQL Joins.
+
+Primary key length.
+===================
+
+For ``int`` type (32-bit): ``NUMBER(9)``. For ``long`` type (64-bit):
+``NUMBER(18)``.
+
+Oracle allow up to 38 significant digits in ``NUMBER`` and up to 28 digits in
+``SEQUENCE``.
+
+  http://docs.oracle.com/cd/B28359_01/server.111/b28318/datatype.htm
+                Oracle Data Types
+  http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_6015.htm
+                CREATE SEQUENCE.
+  http://docs.oracle.com/cd/E19501-01/819-3659/gcmaz/index.html
+                Java Type to SQL Type Mappings.
--- a/ssh.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/ssh.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -6,6 +6,12 @@
 ===========
 .. contents::
 
+Debugging ssh client.
+=====================
+::
+
+  $ ssh -vvv ...
+
 Maintaining key pair.
 =====================
 ::
@@ -38,12 +44,26 @@
   $ ssh -l $user $host
   $ ssh -l $user $host:$port
 
-X session.
-==========
-::
+X11 forwarding.
+===============
+
+Enable X11 forwarding on remote host in ``~/.ssh/config`` or ``/etc/ssh_config``::
+
+  X11Forwarding yes
+
+then login to this host by::
 
   $ ssh -X $user@$host
 
+or by using trusted X11 forwarding::
+
+  $ ssh -Y $user@$host
+
+See:
+
+  http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding
+                X11Forwarding does not work with OpenSSH under Cygwin
+
 Multiply private keys.
 ======================
 
@@ -75,7 +95,7 @@
 ==========================
 
  * Install base packages and openssh.
- * Set CYGWIN env var to 'binmode tty ntsec'.
+ * Set CYGWIN env var to 'binmode ntsec'.
  * Create Windows user.
  * Recreate /etc/passwd::
      $ mkpasswd -l -u user >>/etc/passwd
@@ -104,15 +124,17 @@
 Запускаем SSH server на правах произвольного пользователя.
 ----------------------------------------------------------
 
- * Создаем пользователя, например с именем user, задаем ему пароль,
-   права (т.е. в какие группы будет входить) и т.д., пользователя не блокируем.
- * В консоле MMC добавляем оснастку "Параметры безопасности.". Модифицируем параметры:
+ * Создаем пользователя, например с именем user, задаем ему пароль, права (т.е.
+   в какие группы будет входить) и т.д., пользователя не блокируем.
+ * В консоле MMC добавляем оснастку "Параметры безопасности". Модифицируем
+   параметры:
 
-     "Параметры безопасности."->"Локальные политики."->"Назначение прав пользователя."
-     ->"Вход в качестве службы."->добавить 'user'.
+     "Параметры безопасности" --> "Локальные политики" --> "Назначение прав
+     пользователя." --> "Вход в качестве службы" --> добавить 'user'.
 
-     "Параметры безопасности."->"Локальные политики."->"Назначение прав пользователя."
-     ->"Отклонить локальный вход."->удалить 'user' (если был установлен).
+     "Параметры безопасности" --> "Локальные политики" --> "Назначение прав
+     пользователя" --> "Отклонить локальный вход" --> удалить 'user' (если был
+     установлен).
 
-     XXX "Принудительное удаленнон завершение."
+     XXX "Принудительное удаленное завершение."
 
--- a/svn.rst	Wed Aug 08 07:37:07 2012 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,92 +0,0 @@
--*- mode: outline; coding: utf-8; -*-
-
-* Where palced config files?
-
-The per-user configuration area currently contains three files two
-configuration files ('config' and 'servers').
-
-  /etc/subversion
-                Unix system wide configurations.
-  $HOME/.subversion
-                Unix per-user configuration area.
-  %APPDATA%\Subversion
-                Windows per-user configuration area.
-
-
-* Copy repo from SourceForge to GoogleCode.
-
-  $ svnsync init https://PROJ.googlecode.com/svn https://PROJ.svn.sourceforge.net/svnroot/PROJ
-  $ svnsync --username NAME --password PASSWORD \
-                sync https://PROJ.googlecode.com/svn https://PROJ.svn.sourceforge.net/svnroot/PROJ
-
-* Disable interactive conflict resolution.
-
-Write in '$HOME/.subversion/config'
-
-  [miscellany]
-  interactive-conflicts = no
-
-* Creating svn repo.
-
-  $ mkdir -p /srv/svn
-  $ svnadmin create /srv/svn/$repo
-  $ svn co file:///srv/svn/$repo $repo
-  $ cd /tmp/$repo
-  $ mkdir trunk branches features tags
-  $ svn add *
-  $ svn st      # check all OK
-  $ svn ci -m "Init repo."
-
-For multi-project repo do follow:
-
-  $ mkdir -p /srv/svn
-  $ svnadmin create /srv/svn/$repo
-  $ svn co file:///srv/svn/$repo $repo
-  $ cd /tmp/$repo
-  $ for proj in $proj1 $proj2; do mkdir $proj/trunk $proj/branches $proj/features $proj/tags; done
-  $ svn add *
-  $ svn st      # check all OK
-  $ svn ci -m "Init repo."
-
-* Run local svn server.
-
-  $ svnserve.exe -d --pid-file=svnserve.pid --root=/srv/svn/proj  # default port: 3690
-  $ svn ls svn://localhost    # check all OK
-  $ kill -l
-
-* Undo bad commit.
-
-  $ emacs FILE
-...
-  $ svn ci -m "Introduce first bug."
-Sending        trunk/FILE
-Transmitting file data .
-Committed revision 7.
-  $ emacs FILE
-...
-  $ svn ci -m "Make a lot of good changes."
-...
-Committed revision 8.
-...
-  $ emacs FILE
-...
-  $ svn ci -m "Introduce second bug."
-...
-Committed revision 10.
-  $ emacs FILE
-...
-  $ svn ci -m "Make a lot of good changes."
-...
-
-Now you understand that revision 7 and 10 buggy. You decide revert changes:
-
-  $ svn merge -r 7:6 -r 10:9 FILE
-  $ svn ci -m "Reverted revision 7 and 10."
-
-For one changeset revert you can use shortly syntax:
-
-  $ svn merge -c -7 -c -10 FILE
-
-Also you can use long diapason:
-
-  $ svn merge -r 10:6 FILE
--- a/symbian-devel.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/symbian-devel.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -31,6 +31,6 @@
 
 Download developer's certificate and key, to list it use::
 
-  $ openssl rsa -in developercertificate.key -text
-  $ openssl x509 -in developercertificate.cer -text
+  $ openssl rsa -text -in developercertificate.key
+  $ openssl x509 -text -in developercertificate.cer
 
--- a/video.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/video.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -13,6 +13,19 @@
   $ sudo apt-get install vlc
   $ sudo apt-get install mplayer
 
+Determine video format.
+=======================
+::
+
+  $ file $VIDEO
+  $ mplayer -frames 0 -vo null -ao null -identify $VIDEO
+  $ mediainfo $VIDEO
+
+See:
+
+  http://en.gentoo-wiki.com/wiki/Show_Video_Codecs
+                Show Video Codecs
+
 3d film.
 ========
 ::
@@ -37,6 +50,42 @@
   http://wiki.debian.org/Webcam
                 Debian wiki.
 
+Extract audio from video file.
+==============================
+::
+
+  $ mplayer -ao pcm:fast:file=audio.wav -vc null -vo null  input.avi
+
+Integrate audio to video file.
+==============================
+::
+
+  $ mencoder \
+    -ffourcc divx \
+    -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=400 \
+    -audiofile audio.wav \
+    -oac mp3lame -lameopts vbr=3 \
+    -o output.avi input.mkv
+
+Synchronise video and audio streams.
+====================================
+::
+
+  $ mencoder -delay 0.7 -oac copy -ovc copy in.avi -o out.avi
+  $ mencoder -mc 0 -of lavf -lavfopts format=mp4 -oac lavc -ovc lavc \
+    -lavcopts aglobal=1:vglobal=1:acodec=libmp3lame:abitrate=128:vcodec=mpeg4:vbitrate=500:keyint=200
+    -vf scale=-3:240,crop=320:240,harddup -af lavcresample=44100 -o out.mp4 in.mp4
+
+Convert video for Nokia 5320.
+=============================
+::
+
+  $ mencoder -mc 0 -of lavf -lavfopts format=mp4 \
+    -oac lavc -ovc lavc \
+    -lavcopts aglobal=1:vglobal=1:acodec=libmp3lame:abitrate=96:vcodec=mpeg4:vbitrate=400:keyint=100 \
+    -vf scale=-3:240,crop=320:240,harddup -af lavcresample=44100 -ofps 15 \
+    -o out.mp4 in.avi
+
 How convert .3gp to .avi(mpeg)?
 ===============================
 ::
--- a/virtualization.rst	Wed Aug 08 07:37:07 2012 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
--*- mode: outline; coding: utf-8; -*-
-
-* VirtualBox.
-
-x86 virtualization solution.
-
-In Debian Etch use backport repo.
-
-  $ sudo apt-get install virtualbox-ose
-
-
--- a/vm.rst	Wed Aug 08 07:37:07 2012 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
--*- mode: outline; coding: utf-8 -*-
-
-* VMWare.
-
-** VMWare remote graphical client.
-
-  $ vmware-vmrc.exe -h 192.168.1.2 -u user -p passwd "dir/file.vmx"
--- a/web-search.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/web-search.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -58,7 +58,7 @@
 
   http://code.google.com/
                 Google Code.
-  http://www.koders.com/
+  http://code.ohloh.net/ http://www.koders.com/
                 Search for code in released Open Source tarballs. You can select
                 license and language.
   http://www.merobase.com/
@@ -105,6 +105,8 @@
 Google search query syntax.
 ===========================
 
+  http://support.google.com/mail/bin/answer.py?answer=7190
+                Using advanced search.
   http://www.google.com/support/websearch/bin/answer.py?answer=136861
                 Google search basics: More search help
   http://www.google.ru/help/operators.html
@@ -219,6 +221,12 @@
 
   inanchor:"WORD1 WORD2"
 
+Limit date range.
+-----------------
+::
+
+  after:2010-01-01  before:2012-01-01
+
 Text Only Search.
 -----------------
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xml-rpc.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -0,0 +1,35 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+==========
+ XML-RPC.
+==========
+.. contents::
+
+XML-RPC spec.
+=============
+
+  http://xmlrpc.scripting.com/spec.html
+                Official specs for XML-RPC.
+  http://tldp.org/HOWTO/XML-RPC-HOWTO/
+                XML-RPC HOWTO.
+
+C libraries.
+============
+
+ * http://xmlrpc-c.sourceforge.net/
+
+Python libraries.
+=================
+
+  http://docs.python.org/2/library/xmlrpclib.html
+                Standard Python xmlrpclib module.
+
+Java libraries.
+===============
+
+  http://ws.apache.org/xmlrpc/
+                Apache implementation (org.apache.xmlrpc.*).
+  http://xmlrpc.sourceforge.net/
+                redstone.xmlrpc.* implementation.
+
--- a/xml.rst	Wed Aug 08 07:37:07 2012 +0300
+++ b/xml.rst	Sun Mar 24 11:06:16 2013 +0200
@@ -12,6 +12,18 @@
  * http://xmlhack.ru
  * http://microformats.org/wiki/namespaces-considered-harmful
 
+Converting between schema formants.
+===================================
+::
+
+  $ man trang
+  trang [-I rng|rnc|dtd|xml] [-O rng|rnc|dtd|xsd] $input $output
+
+See:
+
+  http://code.google.com/p/xsdtorngconverter/
+                That XSLT transformation converts a XSD schema to RelaxNG.
+
 relaxng-mode.
 =============