# HG changeset patch # User Oleksandr Gavenko # Date 1288886356 -7200 # Node ID 7969d71777c0a52053d7dfca1deb01b1e8b30088 # Parent d46bffeb8fa9b08dfa59912d13f3c94d6002850c# Parent 82f1a982109ddcb3bdbf4383e7e497b08ffe8b9c merged diff -r d46bffeb8fa9 -r 7969d71777c0 driver-win.rst --- a/driver-win.rst Mon Nov 01 23:03:37 2010 +0200 +++ b/driver-win.rst Thu Nov 04 17:59:16 2010 +0200 @@ -192,6 +192,10 @@ Code-Signing Best Practices. http://msdn.microsoft.com/en-us/library/ff550764.aspx Device Installation Signing Requirements. + http://www.microsoft.com/whdc/winlogo/categories.mspx + Windows Logo Program Test Categories. + http://www.microsoft.com/whdc/driver/install/drvsign/crosscert.mspx + Root Authority Cross-Certificate List ** Tools for Signing Drivers. @@ -236,3 +240,28 @@ package for the user's device, can legally distribute it, and can automatically download it. http://msdn.microsoft.com/en-us/library/ff554874.aspx + +* Hardware ID. + +PCI and AGP buses: Contain subsystem ID and subsystem vendor ID (&SUBSYS in the ID string). Drivers +must have VID/DID/SVID/SID PNP ID entries to be published via Windows Update. + +PCI Device Subsystem IDs and Windows specifications are available at: +http://www.microsoft.com/whdc/archive/pciidspec.mspx + +PCMCIA: Always specific; contains PCMCIA in the ID string. + +USB: Contains VID and &PID in the ID string. + +IEEE 1394: Always specific; contains 1394 in the ID string. + +HID: Contains &VID and &PID in the ID string. + +IDE: Contains IDE\ in the ID string. + +Parallel Port Printers: Contain LPTENUM\ in the ID string. + +IrDA Printers: IDs begin with HWP. + + http://www.microsoft.com/whdc/winlogo/winup/default.mspx + Windows Update Driver Publishing diff -r d46bffeb8fa9 -r 7969d71777c0 emacs.rst --- a/emacs.rst Mon Nov 01 23:03:37 2010 +0200 +++ b/emacs.rst Thu Nov 04 17:59:16 2010 +0200 @@ -279,3 +279,15 @@ http://xslt-process.sourceforge.net/ home page + +* Useful program logging. + +Put first line to your log file, you must replace default-directory to dir where you build program: + + -*- mode: compilation-minor; mode: auto-revert-tail; default-directory: "~/devel/proj" -*- + +Program must use one of supported by 'compilation-minor-mode' (see +'compilation-error-regexp-alist'), like: + + printf(__FILE__ ":%d: %s\n", __LINE__, msg); /* msg - user defined string */ + diff -r d46bffeb8fa9 -r 7969d71777c0 http.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/http.rst Thu Nov 04 17:59:16 2010 +0200 @@ -0,0 +1,6 @@ +-*- mode: outline; coding: utf-8 -*- + +* Web server in Cygwin. + + $ setup -p apache2,lighttpd,dhttp + diff -r d46bffeb8fa9 -r 7969d71777c0 windows.rst --- a/windows.rst Mon Nov 01 23:03:37 2010 +0200 +++ b/windows.rst Thu Nov 04 17:59:16 2010 +0200 @@ -307,3 +307,21 @@ 1. Start Control Panel and double-click User Accounts. 2. In the User Accounts tasks window, click Turn User Account Control on or off. 3. Clear the Use User Account Control (UAC) to help protect your computer check box, and then click OK. + +* Fix file association. + +Check current association: + + $ cmd /c assoc | grep -i "^\.mp3" +.mp3=mp3file + +Get list of all available commands: + + $ cmd /c ftype +... +AIMP.mp3="C:\Program Files\AIMP2\AIMP2.exe" "%1" +... + +and select one on them: + + $ cmd /c assoc .mp3=AIMP.mp3