# HG changeset patch # User Oleksandr Gavenko # Date 1298990400 -7200 # Node ID 35eb6338089265217071b03d6eb73338e303562f # Parent 98f05e7c29df60f8d658ad56cf726bcbf1ae5553# Parent d2e4790fa92f67c6b6bfaa3a0c421743600b416c Automated merge with file:///cygdrive/d/srv/hg-home/tips diff -r d2e4790fa92f -r 35eb63380892 debian-apt.rst --- a/debian-apt.rst Tue Mar 01 16:39:57 2011 +0200 +++ b/debian-apt.rst Tue Mar 01 16:40:00 2011 +0200 @@ -47,3 +47,17 @@ $ gpg --export 9AA38DCD55BE302B | sudo apt-key add - OK + +* Install build dependency for package. + + $ apt-get install build-essential # install dev LIBC and GCC C/C++ + $ sudo apt-get build-dep $package + +If all you want is checking what packages are needed to build a given package: + + $ apt-cache showsrc $package + +or check 'Build-Depends' attribute in + + $ apt-cache show $package + diff -r d2e4790fa92f -r 35eb63380892 emacs.rst --- a/emacs.rst Tue Mar 01 16:39:57 2011 +0200 +++ b/emacs.rst Tue Mar 01 16:40:00 2011 +0200 @@ -2,6 +2,12 @@ * About. + http://elpa.gnu.org/ + Packages for Emacs. This requires Emacs version 24.1 or + higher. + +* Getting help. + http://news.gmane.org/gmane.emacs.help http://news.gmane.org/gmane.emacs.announce http://news.gmane.org/gmane.emacs.auctex.announce @@ -351,3 +357,17 @@ -*- mode: grep; mode: auto-revert-tail; default-directory: "~/devel/proj" -*- +* Edit HTML. + +psgml-mode +nxml-mode +sgml-mode + +** html-helper-mode. + +Highlighting, autocompletion, and auto-insertion of closing tags. + + http://www.emacswiki.org/emacs/HtmlHelperMode + http://savannah.nongnu.org/projects/baol-hth/ + http://www.nongnu.org/baol-hth/ + diff -r d2e4790fa92f -r 35eb63380892 ftp.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ftp.rst Tue Mar 01 16:40:00 2011 +0200 @@ -0,0 +1,8 @@ +-*- mode: outline; coding: utf-8; fill-column: 80 -*- + +* '~/.netrc'. + + machine ... login ... password ... + +Also available macro definition. + diff -r d2e4790fa92f -r 35eb63380892 gcc.rst --- a/gcc.rst Tue Mar 01 16:39:57 2011 +0200 +++ b/gcc.rst Tue Mar 01 16:40:00 2011 +0200 @@ -50,6 +50,10 @@ programs: ... libraries: ... +Use -### in actual invoking: + + $ gcc -### -o foo foo.c + $ ld --verbose | grep SEARCH_DIR 'LIBRARY_PATH' and 'LD_LIBRARY_PATH' diff -r d2e4790fa92f -r 35eb63380892 xorg.rst --- a/xorg.rst Tue Mar 01 16:39:57 2011 +0200 +++ b/xorg.rst Tue Mar 01 16:40:00 2011 +0200 @@ -39,6 +39,14 @@ ... EndSection +To disable standby for current session use command: + + $ xset -dpms + +To turn off monitor use: + + $ xset dpms force off + * Set display dimensions. To see currect settings type: