# HG changeset patch # User Oleksandr Gavenko # Date 1364115976 -7200 # Node ID 01eecd0d108e951be2883645ec0389506d50dd3a # Parent 1e6a475dcf966af48bb1304829e5d607061b5da2# Parent c8f7a7a5c5f87b3cd5608fc6783a2965e51971cc merged diff -r c8f7a7a5c5f8 -r 01eecd0d108e Makefile --- 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. diff -r c8f7a7a5c5f8 -r 01eecd0d108e browsers.rst --- /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. + diff -r c8f7a7a5c5f8 -r 01eecd0d108e bzr.rst --- 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. ================= :: diff -r c8f7a7a5c5f8 -r 01eecd0d108e chm.rst --- 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 +`_ +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 +`_, 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 diff -r c8f7a7a5c5f8 -r 01eecd0d108e css.rst --- 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. ====== :: diff -r c8f7a7a5c5f8 -r 01eecd0d108e cvs.rst --- 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 + diff -r c8f7a7a5c5f8 -r 01eecd0d108e debian-apt.rst --- 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. diff -r c8f7a7a5c5f8 -r 01eecd0d108e debian.rst --- 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 + diff -r c8f7a7a5c5f8 -r 01eecd0d108e devel-ideal-proj.rst --- 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. ================== diff -r c8f7a7a5c5f8 -r 01eecd0d108e devel-proj-files.rst --- 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. ======================== :: diff -r c8f7a7a5c5f8 -r 01eecd0d108e devel-proj-hierarchy.rst --- /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`` + diff -r c8f7a7a5c5f8 -r 01eecd0d108e dns.rst --- 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 diff -r c8f7a7a5c5f8 -r 01eecd0d108e emacs.rst --- 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. ------------- diff -r c8f7a7a5c5f8 -r 01eecd0d108e firefox-devel.rst --- 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 diff -r c8f7a7a5c5f8 -r 01eecd0d108e frame.html --- 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 @@ - + diff -r c8f7a7a5c5f8 -r 01eecd0d108e fvwm.rst --- 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 diff -r c8f7a7a5c5f8 -r 01eecd0d108e hardware-listner.rst --- 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 diff -r c8f7a7a5c5f8 -r 01eecd0d108e html.rst --- 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::
SOME
diff -r c8f7a7a5c5f8 -r 01eecd0d108e hw-list.rst --- /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. + + diff -r c8f7a7a5c5f8 -r 01eecd0d108e i18n.rst --- 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 + Про впорядкування транслітерації українського алфавіту латиницею. diff -r c8f7a7a5c5f8 -r 01eecd0d108e java.rst --- 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``:: + + + +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 diff -r c8f7a7a5c5f8 -r 01eecd0d108e javadoc.rst --- 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/ + diff -r c8f7a7a5c5f8 -r 01eecd0d108e jboss.rst --- /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 + + diff -r c8f7a7a5c5f8 -r 01eecd0d108e js.rst --- 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. +=====