# HG changeset patch # User Oleksandr Gavenko # Date 1247464232 -10800 # Node ID 2a14e47c75b37aae911d38551a44f0cb1595a2f7 # Parent 761a47cf5400a655c7e9b5537a2ef2e929012485# Parent 2ed1540d30343d352c845781776113366301e784 merged diff -r 761a47cf5400 -r 2a14e47c75b3 bluetooth.rst --- a/bluetooth.rst Thu Jun 25 17:09:24 2009 +0300 +++ b/bluetooth.rst Mon Jul 13 08:50:32 2009 +0300 @@ -16,9 +16,9 @@ hci0 00:03:C9:05:65:98 hci1 00:1F:81:00:02:5A -or +or (hciconfig placed in /usr/sbin, so see you PATH!) - $ sudo hciconfig -a + $ hciconfig -a hci0: Type: USB BD Address: 00:03:C9:05:65:98 ACL MTU: 1017:8 SCO MTU: 64:0 UP RUNNING PSCAN @@ -57,6 +57,30 @@ Scanning ... 00:22:66:D1:B7:20 Nokia 5320 +In order to do this remote device must be set "visible". + +** How to set bluetooth dongle "visible"? + + $ hciconfig -a | grep hci.: +hci0: Type: USB + $ sudo hciconfig hci0 piscan + +** How to determine bluetooth dongle is "visible"? + +Run hciconfig -a and see for PSCAN and ISCAN keyword: + + $ hciconfig -a +hci0: Type: USB +... + UP RUNNING PSCAN ISCAN +... + +then try from another host: + + $ hcitool scan + +or use another device such as phone to search. + ** What version of Bluetooth support local device? $ sudo hciconfig -a @@ -98,6 +122,10 @@ http://www.bluez.org/ bluez home page +* Remote control throw mobile. + + http://anyremote.sourceforge.net/docs.html + * Spec. See diff -r 761a47cf5400 -r 2a14e47c75b3 dict.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dict.rst Mon Jul 13 08:50:32 2009 +0300 @@ -0,0 +1,18 @@ +-*- outline -*- + +* StarDict. + + + +See + + http://sourceforge.net/projects/sdcv/ + +** sdcv. + +sdcv is the command line version of StarDict. + +See + + http://sdcv.sourceforge.net/ + http://en.wikipedia.org/wiki/Sdcv diff -r 761a47cf5400 -r 2a14e47c75b3 fvwm.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fvwm.rst Mon Jul 13 08:50:32 2009 +0300 @@ -0,0 +1,7 @@ +-*- outline -*- + +* FVWM Themes. + +See + + http://fvwm-themes.sourceforge.net/ diff -r 761a47cf5400 -r 2a14e47c75b3 game.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/game.rst Mon Jul 13 08:50:32 2009 +0300 @@ -0,0 +1,19 @@ +-*- mode: outline; coding: utf-8 -*- + +* Shuter. + +** Linux. + +*** Wolfenstein: Enemy Territory. + +*** UT2004 (Unreal Tournament). + +Unreal Tournament 2004 is closed source, but it's one of the few commercial +games which also provide a native Linux port. + +*** Quake 3. + +Game was licensed under the GPL in 2005. ioQuake 3 continued development to +Quake 3, fixing bugs and bringing new improvements to this true classic game. + +*** Urban Terror. diff -r 761a47cf5400 -r 2a14e47c75b3 hardware-listner.rst --- a/hardware-listner.rst Thu Jun 25 17:09:24 2009 +0300 +++ b/hardware-listner.rst Mon Jul 13 08:50:32 2009 +0300 @@ -6,6 +6,61 @@ $ 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 761a47cf5400 -r 2a14e47c75b3 irc.rst --- a/irc.rst Thu Jun 25 17:09:24 2009 +0300 +++ b/irc.rst Mon Jul 13 08:50:32 2009 +0300 @@ -2,15 +2,110 @@ * What are IRC client for emacs? +Most preferred is erc - it is powerful and comes with Emacs since 22.1 +version. + See: http://www.emacswiki.org/emacs/InternetRelayChat. - * erc, see: + * erc http://www.emacswiki.org/emacs/ERC + * rcirc + http://www.emacswiki.org/emacs/rcirc + * ZenIRC, see: http://www.emacswiki.org/emacs/ZenIRC -* How register on freenode? +* Channel modes. + +** Invite-Only channel. + +An Invite-Only channel can only be joined if you are invited by one of its +channel operators. + +To make your channel invite-only: + + irc> /mode #channel +i + +To invite users to the channel: + + irc> /invite user #channel + +** Private channels. + +Private channels turn up normally in the channels list. People can see you are +on a private channel somewhere, but they can never find out on -which- private +channel you are unless they search all (private) channels by brute force. + +To make your channel private: + + irc> /mode #channel +p + +** Secret channels. + +Secret channels do not show up in a channels list and you cannot find out its +topic unless you join it. If you are on a secret channel, someone who is not +on the same channel can't see that you are there. + +To make your channel secret: + + irc> /mode #channel +s + +* How make chanal for private discuss? + +Create new channel and set it invite-only and invite all you need. Or make +password protected channel. + +Create new channel (by joining to non existed one) with password: + + irc> /join # + +Another people join same: -Go to http://freenode.net/faq.shtml#nicksetup. + irc> /join # + +Or join without password and setup it late: + + irc> /join # + irc> /mode +k + +Don't forget set topic for newly created channel: + + irc> /topic # + +* What server well know? + +Random server (connect to most near placed): + + irc.freenode.net + http://freenode.net/ + irc.wyldryde.org + http://www.wyldryde.org/ + +* Freenode. + +** How register on freenode? + irc> /msg nickserv register +...get mail, make mail instructions... + irc> /msg nickserv set hidemail on + +** Adding alternative nick. + +After nick setup change nick: + + irc> /nick foo_ + irc> /msg nickserv group + +See + + http://freenode.net/faq.shtml#registering + http://freenode.net/faq.shtml#nicksetup. + +* Getting help + + /help + /msg nickserv help + /msg chanserv help + +/msg chanserv access #icfp-contest list diff -r 761a47cf5400 -r 2a14e47c75b3 licence.rst --- a/licence.rst Thu Jun 25 17:09:24 2009 +0300 +++ b/licence.rst Mon Jul 13 08:50:32 2009 +0300 @@ -109,3 +109,40 @@ Zlib/libpng License - Zope Public License 2.0/2.1 +* Copyright low. + +See + + http://en.wikipedia.org/wiki/List_of_parties_to_international_copyright_treaties + List of parties to international copyright agreements. + +** Berne Convention for the Protection of Literary and Artistic Works. + +Came into force 1887-12-05. + + http://www.wipo.int/treaties/en/ShowResults.jsp?lang=en&treaty_id=15 + List of country where Berne convention in force. + +** Universal Copyright Convention, Geneva Act (UCC Geneva). + +Came into force 1955-09-16. + +** Universal Copyright Convention, Paris Act (UCC Paris). + +Came into force 1974-07-10. + +** World Intellectual Property Organization Copyright Treaty. + + http://www.wipo.int/treaties/en/ip/wct/trtdocs_wo033.html + Text of convention. + http://www.wipo.int/treaties/en/ShowResults.jsp?lang=en&treaty_id=16 + List of country where WTC convention in force. + +** Agreement on Trade-Related Aspects of Intellectual Property Rights (TRIPS) + +Membership in TRIPS coincides with membership in the World Trade Organization. + + http://www.wto.org/english/docs_e/legal_e/27-trips_01_e.htm + Text of convention. + http://en.wikipedia.org/wiki/Agreement_on_Trade-Related_Aspects_of_Intellectual_Property_Rights + diff -r 761a47cf5400 -r 2a14e47c75b3 selections.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/selections.rst Mon Jul 13 08:50:32 2009 +0300 @@ -0,0 +1,28 @@ +-*- mode: outline; coding: utf-8 -*- + +* MS Windows. + +* X Windows. + +X11 selection transfers (which both PRIMARY and CLIPBOARD are instances of) +are done through synthesized X11 events and properties changes. + +The messages used to transfer the selections have a maximum size that's +actually quite low (a few kilobytes). + +See + + http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt + http://www.jwz.org/doc/x-cut-and-paste.html + http://en.wikipedia.org/wiki/X_Window_selection + http://www.emacswiki.org/cgi-bin/wiki/CopyAndPaste + +** xclipboard. + +The xclipboard command emulates the traditional Macintosh style clipboard by +claiming ownership of the CLIPBOARD selection and answering any requests for +its value. When it loses the selection, it immediately asks the new owner for +the value of the CLIPBOARD selection, makes a local copy, and then reasserts +ownership of the CLIPBOARD. This way the clipboard contents can persist after +the original application has exited. + diff -r 761a47cf5400 -r 2a14e47c75b3 x.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/x.rst Mon Jul 13 08:50:32 2009 +0300 @@ -0,0 +1,8 @@ +-*- mode: outline; coding: utf-8 -*- + +* Standard. + +See + + http://www.tronche.com/gui/x/icccm/ + diff -r 761a47cf5400 -r 2a14e47c75b3 xorg.rst --- a/xorg.rst Thu Jun 25 17:09:24 2009 +0300 +++ b/xorg.rst Mon Jul 13 08:50:32 2009 +0300 @@ -22,3 +22,25 @@ EndSection Time measure in minute. + +* Set display dimensions. + +To see currect settings type: + + $ xdpyinfo | grep dimensions: +dimensions: 1280x1024 pixels (382x302 millimeters) + +From this dimensions calculated your display dpi resolution: + + $ xdpyinfo | grep resolution: +resolution: 85x86 dots per inch + +To set dimensions edit '/etc/X11/xorg.conf' (size in mm): + + $ cat /etc/X11/xorg.conf +... +Section "Monitor" +... + DisplaySize width height +... +EndSection