merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 25 Dec 2011 13:18:19 +0200
changeset 1183 35a64ff26d4c
parent 1159 60db6debab94 (current diff)
parent 1182 f0fd5e35e832 (diff)
child 1184 a5963bf339e8
child 1187 eaa71972ea1d
merged
windows.rst
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/code-analysis.rst	Sun Dec 25 13:18:19 2011 +0200
@@ -0,0 +1,152 @@
+.. -*- coding: utf-8; -*-
+
+================
+ Code analysis.
+================
+.. contemts::
+
+About.
+======
+
+ * http://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis
+ * http://en.wikipedia.org/wiki/Static_code_analysis
+ * http://en.wikipedia.org/wiki/Automated_code_review
+ * http://en.wikipedia.org/wiki/Dynamic_code_analysis
+ * http://en.wikipedia.org/wiki/Program_analysis_%28computer_science%29
+ * http://en.wikipedia.org/wiki/Performance_analysis
+ * http://en.wikipedia.org/wiki/Program_verification
+
+Splint.
+=======
+
+Secure Programming Lint, is a programming tool for statically checking C
+programs for security vulnerabilities and coding mistakes. Formerly called
+LCLint, it is a modern version of the Unix lint tool.
+
+  http://en.wikipedia.org/wiki/Splint_%28programming_tool%29
+
+Valgrind.
+=========
+
+Runs programs on a virtual processor and can detect memory errors (e.g., misuse
+of malloc and free) and race conditions in multithread programs.
+
+  http://en.wikipedia.org/wiki/Valgrind
+                Wikipedia page.
+
+Dmalloc.
+========
+
+Dmalloc is a memory debugger C library.
+
+  http://en.wikipedia.org/wiki/Dmalloc
+
+Avalanche.
+==========
+
+Avalanche is a dynamic defect detection tool that generates "inputs of death" -
+input data reproducing critical bugs and vulnerabilities in the analysed
+program.
+
+  http://code.google.com/p/avalanche/
+                Home page.
+  http://en.wikipedia.org/wiki/Avalanche_%28dynamic_analysis_tool%29
+                Wikipedia page.
+
+Sparse.
+=======
+
+Sparse is a tool designed to find possible coding faults in the Linux kernel.
+
+  http://en.wikipedia.org/wiki/Sparse
+                Wikipedia page.
+
+PMD.
+====
+
+PMD is a static ruleset based Java source code analyzer that identifies
+potential problems.
+
+PMD has plugins for JDeveloper, Eclipse, JEdit, JBuilder, Omnicore's CodeGuide,
+NetBeans/Sun Studio, IntelliJ IDEA, TextPad, Maven, Ant, Gel, JCreator, Hudson,
+Jenkins, Sonar and Emacs.
+
+  http://pmd.sf.net/
+                Home page.
+  http://en.wikipedia.org/wiki/PMD_%28software%29
+                Wikipedia page.
+
+Checkstyle.
+===========
+
+Static code analysis tool used in software development for checking if Java
+source code complies with coding rules.
+
+  http://en.wikipedia.org/wiki/Checkstyle
+                Wikipedia page.
+
+FindBugs.
+=========
+
+  http://en.wikipedia.org/wiki/FindBugs
+                Wikipedia page.
+
+Pychecker.
+==========
+
+  http://en.wikipedia.org/wiki/Pychecker
+                Wikipedia page.
+
+Pylint.
+=======
+
+  http://en.wikipedia.org/wiki/Pylint
+                Wikipedia page.
+
+JSLint.
+=======
+
+JSLint is a static code analysis tool used in software development for checking
+if JavaScript source code complies with coding rules.
+
+It is provided primarily as an online tool, but there are also command-line
+adaptations.
+
+  http://en.wikipedia.org/wiki/JSLint
+                Wikipedia page.
+
+Squale.
+=======
+
+Squale (Software Quality Enhancement) is an open-source platform that helps
+monitoring software quality for multi-language applications. It currently
+supports Java out-of-the-box, and can also analyse C/C++ and Cobol code with an
+adapter to McCabe tool. Squale is distributed under the terms of the LGPL v3
+licence.
+
+  http://en.wikipedia.org/wiki/Squale
+                Wikipedia page.
+
+Yasca.
+======
+
+Yasca leverages external open source programs, such as FindBugs, PMD, JLint,
+JavaScript Lint, PHPLint, Cppcheck, ClamAV, Pixy, and RATS to scan specific file
+types, and also contains many custom scanners developed for Yasca.
+
+  http://yasca.org/
+                Home page.
+  http://yasca.org/
+                Development home page.
+  http://en.wikipedia.org/wiki/Yasca
+                Wikipedia page.
+
+Sonar.
+======
+
+Sonar uses various static code analysis tools such as Checkstyle, PMD, FindBugs,
+Clover to extract software metrics.
+
+  http://en.wikipedia.org/wiki/Sonar_%28software_quality%29
+                Wikipedia page.
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/code-metrics.rst	Sun Dec 25 13:18:19 2011 +0200
@@ -0,0 +1,14 @@
+.. -*- coding: utf-8; -*-
+
+===================
+ Software metrics.
+===================
+.. contents::
+
+About software/code metrics.
+============================
+
+ * http://en.wikipedia.org/wiki/Software_metrics
+ * http://en.wikipedia.org/wiki/Comparison_of_development_estimation_software
+ * http://en.wikipedia.org/wiki/Software_development_effort_estimation
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dup.rst	Sun Dec 25 13:18:19 2011 +0200
@@ -0,0 +1,94 @@
+.. -*- coding: utf-8; -*-
+
+==============
+ Duplication.
+==============
+.. contents::
+
+Search for duplicate lines.
+===========================
+
+  http://en.wikipedia.org/wiki/Duplicate_code
+                wiki page
+  http://students.cis.uab.edu/tairasr/clones/literature/
+                Code Clones Literature
+
+Open source or free licence:
+
+ * http://duplo.sourceforge.net/
+ * http://clonedigger.sourceforge.net/
+ * http://www.ccfinder.net/ccfinderxos.html
+
+Proprietary or restricted licence:
+
+ * http://www.txl.ca/nicaddownload.html
+ * http://www.harukizaemon.com/simian/index.html
+ * http://getatomiq.com/
+ * http://www.harukizaemon.com/simian/index.html
+
+Search for duplicate files.
+===========================
+
+This utilities only search for duplicate files:
+
+  http://duff.sourceforge.net/
+                duff home page
+  http://freedup.org/
+                freedup home page
+  http://dupedit.com/
+                dupedit home page
+  http://rdfind.pauldreik.se/
+                Rdfind home page
+  http://code.google.com/p/softenido/wiki/FindRepe
+                FindRepe home page
+
+fdupes.
+=======
+::
+
+  $ sudo apt-get install fdupes
+
+See:
+
+  http://code.google.com/p/fdupes/
+                fdupes home page
+  http://ru.wikipedia.org/wiki/Fdupes
+                fdupes wiki page
+  http://packages.debian.org/search?keywords=fdupes
+                fdupes Debian package
+
+freedups.
+---------
+
+Freedups searches through the directories you specify. When it finds two
+identical files, it hard links them together. Now the two or more files still
+exist in their respective directories, but only one copy of the data is stored
+on disk; both directory entries point to the same data blocks.
+
+  http://www.stearns.org/freedups/
+                freedups home page
+
+dupmerge.
+---------
+
+Dupmerge reads a list of files from standard input (eg., as produced by "find .
+-print") and looks for identical files. When it finds two or more identical
+files, all but one are unlinked to reclaim the disk space and recreated as hard
+links to the remaining copy.
+
+  https://sourceforge.net/projects/dupmerge/
+                dupmerge home page
+  http://freecode.com/projects/dupmerge
+                dupmerge freecode page
+
+ssdeep.
+-------
+
+ssdeep is a program for computing context triggered piecewise hashes (CTPH).
+Also called fuzzy hashes, CTPH can match inputs that have homologies. Such
+inputs have sequences of identical bytes in the same order, although bytes in
+between these sequences may be different in both content and length.
+
+  http://ssdeep.sourceforge.net/
+                ssdeep home page
+
--- a/windows.rst	Fri Dec 23 18:04:47 2011 +0200
+++ b/windows.rst	Sun Dec 25 13:18:19 2011 +0200
@@ -21,6 +21,10 @@
 To check 32/64-bit OS use PROCESSOR_ARCHITECTURE env var (it has such values:
 x86, AMD64, IA64).
 
+Full info about Windows edition available from this .vbs::
+
+  cmd> slmgr -dli
+
 Windows update.
 ===============
 
@@ -37,6 +41,8 @@
 
   http://www.microsoft.com/downloads/ru-ru/default.aspx
 
+Updates that reset pirate copy of Windows: КВ971033.
+
 Check system files integrity.
 =============================
 ::
@@ -77,9 +83,20 @@
 
   http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/net_use.mspx
 
-Activate windows.
+Activate Windows.
 =================
 
+Activate Windows from command line::
+
+  cmd> slmgr -ipk YGR45-THIS9-WONT5–0WORK-D7667
+
+Reset the evaluation period/licensing status and activation state of the
+machine::
+
+  cmd> slmgr -rearm
+
+See:
+
   http://www.microsoft.com/genuine/selfhelp/XPPkuinst.aspx?sGuid=bab9e103-6365-44dd-9337-93f0cd9dd4b7&displaylang=en
                 Windows Product Key Update Tool Instructions