# HG changeset patch # User Oleksandr Gavenko # Date 1287921548 -10800 # Node ID 94c028098e50227cdf945f4d23fcbb639c34860c # Parent ddca4ce1832fdd1a9d15460ba0a02ea11271977d# Parent 2ddec78833f45c32738bc656fa99ad76ddc20e99 merged diff -r ddca4ce1832f -r 94c028098e50 audio.rst --- a/audio.rst Sun Oct 24 14:08:39 2010 +0300 +++ b/audio.rst Sun Oct 24 14:59:08 2010 +0300 @@ -37,3 +37,12 @@ * How convert m4a to mp3? $ faad -o - $file.m4a | lame -V 0 - $file.mp3 + +* How split mp3/ogg files? + +Split mp3 and ogg files: + + $ mp3splt + + http://mp3splt.sourceforge.net/mp3splt_page/home.php + home page diff -r ddca4ce1832f -r 94c028098e50 cygwin.rst --- a/cygwin.rst Sun Oct 24 14:08:39 2010 +0300 +++ b/cygwin.rst Sun Oct 24 14:59:08 2010 +0300 @@ -36,6 +36,8 @@ This project provides Cygwin binary and source packages for a large variety of programs and libraries, including the GNOME and KDE desktop environments + http://cygwin-ports.sourceforge.net/ + newest home of the Cygwin Ports project http://sourceware.org/cygwinports/ home page http://cygwinports.blogspot.com diff -r ddca4ce1832f -r 94c028098e50 devel-windows.rst --- a/devel-windows.rst Sun Oct 24 14:08:39 2010 +0300 +++ b/devel-windows.rst Sun Oct 24 14:59:08 2010 +0300 @@ -24,6 +24,13 @@ TODO +* Application verifier. + + http://www.microsoft.com/downloads/en/details.aspx?familyid=c4a25ab9-649d-4a1b-b4a7-c9d8b095df18 + download page + http://msdn.microsoft.com/en-us/library/ms220948.aspx + Application Verifier + * Running at startup. HKCU\Software\Microsoft\Windows\CurrentVersion\Run diff -r ddca4ce1832f -r 94c028098e50 driver-win.rst --- a/driver-win.rst Sun Oct 24 14:08:39 2010 +0300 +++ b/driver-win.rst Sun Oct 24 14:59:08 2010 +0300 @@ -122,6 +122,8 @@ * How install drivers? +** dpinst. + Driver Install Frameworks (DIFx) tools allow installing driver under following OSes: @@ -143,11 +145,39 @@ %windir%\system32\ReinstallBackups folder is created with backups of the old drivers. +** devcon. + +This command-line specifies the location of the driver package's INF file (c:\toaster\toastpkg.inf) +and the toaster device's hardware identifier (ID), which is specified within the INF file. + + cmd# devcon.exe install c:\toaster\toastpkg.inf {b85b7c50-6a01-11d2-b841-00c04fad5171}\mstoaster + + http://msdn.microsoft.com/en-us/library/ff553642.aspx + Using the DevCon Tool to Install a Driver Package + * How debug Windows drivers. +To detect whether a driver loaded, check the status of the device in Device Manager. + +In Windows Vista and later versions of Windows, SetupAPI logs information about device installation +in a plain-text log file that you can use to verify the installation of a device and to troubleshoot +device installation problems. Check + + %SystemRoot%\inf\SetupAPI.dev.log installation events in the device + %SystemRoot%\inf\SetupAPI.app.log application installation + + http://msdn.microsoft.com/en-us/library/ff553497.aspx + Troubleshooting Install and Load Problems with Signed Driver Packages http://www.microsoft.com/whdc/devtools/debugging/debugtips.mspx Improve Driver Debuggability http://msdn.microsoft.com/en-us/library/ff551063.aspx Debugging Tools for Windows http://msdn.microsoft.com/en-us/library/ff543450%28VS.85%29.aspx Checked and Free Build Differences + +* Driver signing. + + http://msdn.microsoft.com/en-us/library/ff552958.aspx + Tools for Signing Drivers + http://www.microsoft.com/whdc/driver/install/drvsign/best-practices.mspx + Code-Signing Best Practices diff -r ddca4ce1832f -r 94c028098e50 expect.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/expect.rst Sun Oct 24 14:59:08 2010 +0300 @@ -0,0 +1,16 @@ +-*- mode: outline -*- + +* About. + + http://sourceforge.net/projects/expect/ + source code + + http://wiki.tcl.tk/201 + links about expect on tcl wiki + + http://en.wikipedia.org/wiki/Expect + +* Java implementation. + + http://expectj.sourceforge.net/ + home page diff -r ddca4ce1832f -r 94c028098e50 fossil.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fossil.rst Sun Oct 24 14:59:08 2010 +0300 @@ -0,0 +1,37 @@ +-*- mode: outline -*- + +* Simple work flow. + + $ mkdir proj + $ cd proj + $ fossil new proj +project-id: 3ec2bca6e6ee450ee4763d3ec43c7023e4f8fe92 +server-id: 2a7bacb2b49cd97e71753697f7e116fda9fc199c +admin-user: user (initial password is "f8362e") + $ ls . +proj + $ fossil open proj + $ ls . +_FOSSIL_ +proj + $ touch hello.c + $ fossil add hello.c +ADDED hello.c + $ fossil ci -m init +New_Version: dc0f9cd1e8fc4ec2cd580c5fc231030313b91107 + $ echo "#define TRUE 1" >>hello.c + $ fossil diff +... + $ fossil status +... + $ fossil ci -m "fixed bug" +... + $ fossil timeline +... + $ fossil leaves +... + $ fossil ls +hello.c + $ fossil branch list +=== 2010-10-12 === +10:45:13 [a71787083b] initial empty check-in (user: user tags: trunk) diff -r ddca4ce1832f -r 94c028098e50 fs.rst --- a/fs.rst Sun Oct 24 14:08:39 2010 +0300 +++ b/fs.rst Sun Oct 24 14:59:08 2010 +0300 @@ -41,3 +41,39 @@ http://msdn.microsoft.com/en-us/library/aa365247.aspx Naming Files, Paths, and Namespaces + +* Linux fs under Windows. + +** Ext2 IFS. + +It provides Windows NT4.0/2000/XP/2003/Vista/2008 with full access to Linux Ext2 volumes (read +access and write access). This may be useful if you have installed both Windows and Linux as a dual +boot environment on your computer. + +The "Ext2 Installable File System for Windows" software is freeware. + +After install use 'ifsdrives.cpl' control panel to modify settings. + + http://www.fs-driver.org/ + home page + +** Ext2Fsd. + +Ext2Fsd is an open source linux ext2/ext3 file system driver for Windows systems (NT/2K/XP/VISTA, +X86/AMD64). + + http://www.ext2fsd.com/ + home page + http://sourceforge.net/projects/ext2fsd/ + +** rfstool. + +Allows you to access ReiserFS partitions from a Windows 95/98/ME/NT/2000/XP system. It also allows +you to access ReiserFS partitions from Linux. It is a complete rewrite of the ReiserFS functions +needed to list directories, copy files, and backup metadata. + + http://p-nand-q.com/e/reiserfs.html + home page + http://freshmeat.net/projects/rfstool/ + + diff -r ddca4ce1832f -r 94c028098e50 info.rst --- a/info.rst Sun Oct 24 14:08:39 2010 +0300 +++ b/info.rst Sun Oct 24 14:59:08 2010 +0300 @@ -17,3 +17,7 @@ cp $i ~/usr/share/info install-info $i ~/usr/share/info/dir done + +* Remove duplicated item in dir file. + + $ install-info --add-once ${info_file} /path/to/dir diff -r ddca4ce1832f -r 94c028098e50 ldd.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ldd.rst Sun Oct 24 14:59:08 2010 +0300 @@ -0,0 +1,6 @@ +-*- mode: outline; coding: utf-8 -*- + +* Mac OS X. + + $ otool -L `which $prog` + diff -r ddca4ce1832f -r 94c028098e50 qt.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qt.rst Sun Oct 24 14:59:08 2010 +0300 @@ -0,0 +1,6 @@ +-*- mode: outline -*- + +* QT Assistant. + + $ assistant-qt3 + diff -r ddca4ce1832f -r 94c028098e50 record.rst --- a/record.rst Sun Oct 24 14:08:39 2010 +0300 +++ b/record.rst Sun Oct 24 14:59:08 2010 +0300 @@ -2,6 +2,8 @@ * Screen capture. +** recordmydesktop. + ** Wink. Using Wink you can capture screenshots, add explanations boxes, buttons, diff -r ddca4ce1832f -r 94c028098e50 refcard.rst --- a/refcard.rst Sun Oct 24 14:08:39 2010 +0300 +++ b/refcard.rst Sun Oct 24 14:59:08 2010 +0300 @@ -12,3 +12,4 @@ http://www.digilife.be/quickreferences/quickrefs.htm http://www.cheat-sheets.org http://www.addedbytes.com/cheat-sheets/ + http://refcardz.dzone.com/ diff -r ddca4ce1832f -r 94c028098e50 screensaver.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/screensaver.rst Sun Oct 24 14:59:08 2010 +0300 @@ -0,0 +1,18 @@ +-*- mode: outline; coding: utf-8 -*- + +* Deactiate screensaver. + +** xscreensaver. + + /usr/bin/xscreensaver-command -deactivate + +** gnome-screensaver. + + $ gnome-screensaver-command -p + + http://live.gnome.org/GnomeScreensaver/FrequentlyAskedQuestions#Is_there_a_way_to_perform_actions_when_the_screensaver_activates_or_deactivates.3F__Or_when_the_session_becomes_idle.3F + +** Watch video without screensaver. + + $ mplayer −heartbeat−cmd "xscreensaver-command -deactivate" $file + $ mplayer -heartbeat-cmd "gnome-screensaver-command -p" $file diff -r ddca4ce1832f -r 94c028098e50 search-web.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/search-web.rst Sun Oct 24 14:59:08 2010 +0300 @@ -0,0 +1,149 @@ +-*- mode: outline; coding: utf-8 -*- + +* Google search query syntax. + + http://www.google.com/support/websearch/bin/answer.py?answer=136861 + Google search basics: More search help + http://code.google.com/intl/ru/apis/soapsearch/reference.html + Google SOAP Search API Reference + http://www.google.com/cse/docs/resultsxml.html + Google WebSearch Protocol Reference for Google Site Search + http://en.wikipedia.org/wiki/Google_Search + +** Phrase Search. + +Use double quotes to search exactly mutch of string. Words marked in this way will appear together +in all results exactly as entered. + + "WORD1 WORD2 WORD3" + +Note: You may need to use a "+" to force inclusion of common words in a phrase. + +** Boolean OR Search. + +"OR" capital is essential. + + WORD1 OR WORD2 + +Remove site from search by "-site:" + + WORD1 WORD2 -site:ebay.com -site:shopping.com + +** Include query term (search exactly as is). + +If a common word is essential to getting the results you want, you can include it by putting a "+" +sign in front of it. + + +WORD WORD1 WORD2 + +** Exclude query term. + +You can exclude a word from your search by putting a minus sign ("-") immediately in front of the +term you want to exclude from the search results. + + WORD1 WORD2 -WORD + +** Fill in the blanks. + + GNU * + Mozilla * + +** Site Restricted Search. + + site:example.com WORD1 WORD2 + site:.gov WORD + +** Cached Results Page. + +The query prefix "cache:" returns the cached HTML version of the specified web document that the +Google search crawled. Note there can be no space between "cache:" and the web page URL. If you +include other words in the query, Google will highlight those words within the cached document. + + cache:www.google.com + +Use Google as a free proxy (if direct access bloked): cache:example.com + +** Title Search. + +Restricts the results to those with all of the query words in the title. + + intitle:WORD1 intitle:WORD2 WORD3 + allintitle:WORD1 WORD2 + +Note: Putting "intitle:" in front of every word in your query is equivalent to putting "allintitle:" +at the front of your query. + +** URL Search. + +If you prepend "inurl:" to a query term, Google search restricts the results to documents containing +that word in the result URL. Note there can be no space between the "inurl:" and the following word. + +Starting a query with the term "allinlinks:" restricts the results to those with all of the query +words in the URL links on the page. + + inurl:WORD1 inurl:WORD2 WORD + allinurl: WORD1 WORD2 + +Note: "inurl:" works only on words, not URL components. In particular, it ignores punctuation and +uses only the first word following the "inurl:" operator. To find multiple words in a result URL, +use the "inurl:" operator for each word. + +Note: Putting "inurl:" in front of every word in your query is equivalent to putting "allinurl:" at +the front of your query. + +** Text Only Search. + +Starting a query with the term "allintext:" restricts the results to those with all of the query +words in only the body text, ignoring link, URL, and title matches. + + allintext: WORD1 WORD2 + +** File Type Filtering. + +The query prefix "filetype:" filters the results returned to include only documents with the +extension specified immediately after. Note there can be no space between "filetype:" and the +specified extension. + + WORD filetype:doc OR filetype:pdf + +** File Type Exclusion. + +The query prefix "-filetype:" filters the results to exclude documents with the extension specified +immediately after. Note there can be no space between "-filetype:" and the specified extension. + + WORD -filetype:doc -filetype:pdf + +** Web Document Info. + +The query prefix "info:" returns a single result for the specified URL if it exists in the index. + + info:www.google.com + +Note: No other query terms can be specified when using this special query term. + +** Back Links. + +The query prefix "link:" lists web pages that have links to the specified web page. + + link:www.google.com + +Note: there can be no space between "link:" and the web page URL. + +Note: No other query terms can be specified when using this special query term. + +** Related Links. + +Lists web pages that are similar to the specified web page. + + related:www.google.com + +Note: there can be no space between "related:" and the web page URL. + +Note: No other query terms can be specified when using this special query term. + +** Word definition. + +The query prefix "define:" will provide a definition of the words listed after it. + + define:WORD + diff -r ddca4ce1832f -r 94c028098e50 security.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/security.rst Sun Oct 24 14:59:08 2010 +0300 @@ -0,0 +1,5 @@ +-*- mode: outline; coding: utf-8 -*- + +* Email encryption. + +* Digital document signing. diff -r ddca4ce1832f -r 94c028098e50 smartcard.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/smartcard.rst Sun Oct 24 14:59:08 2010 +0300 @@ -0,0 +1,57 @@ +-*- mode: outline; coding: utf-8 -*- + +* Standards for smartcards. + +** Personal Identity Verification (PIV). + +*** FIPS 201. + +United States federal government standard that specifies Personal Identity +Verification (PIV) requirements for Federal employees and contractors. + + http://csrc.nist.gov/groups/SNS/piv/index.html + http://en.wikipedia.org/wiki/FIPS_201 + +*** NIST SP 800-78 (Cryptographic Algorithms and Key Sizes for PIV). + +** X.509 Certificate for Digital Signature. + +** X.509 Certificate for Key Management. + +** X.509 Certificate for Card Authentication. + +** Card Capability Container. + +** Cardholder Unique Identifier. + +** X.509 Certificate for PIV Authentication. + +** Cardholder Fingerprints. + +** Security Object. + +** Cardholder Facial Image. + +** Printed Information. + +* Driver for smartcards. + +** Windows. + + http://www.microsoft.com/whdc/device/input/smartcard/default.mspx + Smart Card Devices - Architecture and Driver Support + http://www.microsoft.com/whdc/device/input/smartcard/usb_ccid.mspx + Microsoft Class Drivers for USB CCID Smart Cards + http://msdn.microsoft.com/en-us/library/ee484819.aspx + USB CCID Smart Card Reader Class Driver with Windows Embedded CE 6.0 R2, Windows + Embedded CE + +*** Smart Card Minidriver. + + http://www.microsoft.com/whdc/device/input/smartcard/sc-minidriver.mspx + Smart Card Minidriver Specification + http://support.microsoft.com/kb/976832 + Error message when you insert a smart card in a reader on a Windows 7-based or + Windows Server 2008 R2-based computer: "Device driver software was not successfully + installed" + diff -r ddca4ce1832f -r 94c028098e50 usb.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/usb.rst Sun Oct 24 14:59:08 2010 +0300 @@ -0,0 +1,7 @@ +-*- mode: outline; coding: utf-8 -*- + +* Windows driver for USB. + + http://msdn.microsoft.com/en-us/library/ff538820%28VS.85%29.aspx + Drivers for the Supported USB Device Classes + diff -r ddca4ce1832f -r 94c028098e50 virus.rst --- a/virus.rst Sun Oct 24 14:08:39 2010 +0300 +++ b/virus.rst Sun Oct 24 14:59:08 2010 +0300 @@ -18,17 +18,23 @@ $ sudo chkrootkit ... -* Virus. +* Debian. -** Debian. - -*** ClamAV. +** ClamAV. anti-virus utility for Unix. $ sudo apt-get install clamav -** Windows. +* Windows. + +** Free. + +*** Microsoft Security Essentials. + + http://en.wikipedia.org/wiki/Microsoft_Security_Essentials + +** Non free. *** Nod32. diff -r ddca4ce1832f -r 94c028098e50 web.rst --- a/web.rst Sun Oct 24 14:08:39 2010 +0300 +++ b/web.rst Sun Oct 24 14:59:08 2010 +0300 @@ -20,3 +20,7 @@ http://msdn.microsoft.com/en-us/library/ms537656%28VS.85%29.aspx How to Add a Shortcut Icon to a Web Page http://en.wikipedia.org/wiki/Favicon + +* Site statistics. + + awstats