--- a/Makefile Sat Dec 05 00:13:27 2015 +0200
+++ b/Makefile Tue Dec 08 20:57:54 2015 +0200
@@ -61,7 +61,12 @@
endif
.PHONY: deploy
-deploy: deploy2sf-web deploy2sf-hg
+deploy: deploy2defun-web deploy2sf-web deploy2sf-hg
+
+# Will be accessible via: http://tips.defun.work/frame.html
+.PHONY: deploy2defun-web
+deploy2defun-web: html
+ rsync --delete -avP -e ssh tips-html/ user@vps:/srv/www/tips/
# Will be accessible via: http://gavenkoa.users.sourceforge.net/tips-html/frame.html
.PHONY: deploy2sf-web
@@ -88,7 +93,9 @@
{ \
echo '.. _`Home`: index.html'; \
echo '.. _About: README.html'; \
-echo '.. _`About author`: http://gavenkoa.users.sourceforge.net/'; \
+echo '.. _`About author`: https://resume.defun.work/'; \
+echo '.. _`Oleksandr Gavenko`: https://resume.defun.work/'; \
+echo '.. _`gavenkoa`: https://resume.defun.work/'; \
echo '.. _Licence: README.html#tips-licence'; \
echo '.. _`Contact`: gavenkoa@gmail.com'; \
echo; \
--- a/README.rst Sat Dec 05 00:13:27 2015 +0200
+++ b/README.rst Tue Dec 08 20:57:54 2015 +0200
@@ -9,8 +9,8 @@
About tips.
===========
-This site is a collection of tips that author (Oleksandr Gavenko) was
-**created** during his life.
+This site is a collection of tips that author (`Oleksandr Gavenko`_ AKA
+gavenkoa_) was created during his life.
Tips licence.
=============
--- a/hardware.rst Sat Dec 05 00:13:27 2015 +0200
+++ b/hardware.rst Tue Dec 08 20:57:54 2015 +0200
@@ -132,8 +132,8 @@
$ read-edid
-Graphics card.
-==============
+Graphics card/GPU/DRM.
+======================
``glxinfo``
Details about OpenGL, the Xserver, and your graphics card.
@@ -154,6 +154,42 @@
``xdriinfo``
Query configuration information of DRI drivers.
+``GPU-z`` may be used under Windows.
+
+Nvidia cards.
+-------------
+
+What cards present on system and what monitors managed by card::
+
+ $ sudo apt-get install nvidia-settings
+ $ nvidia-settings
+
+Memory usage, GPU utilization and temperature for Nvidia cards::
+
+ $ sudo apt-get install nvidia-smi
+ $ nvidia-smi
+
+Intel cards.
+------------
+::
+
+ $ sudo apt-get install intel-gpu-tools
+
+Show ``top`` like statistics::
+
+ $ intel_gpu_top
+
+Show GPU usage like ``time`` command::
+
+ $ intel_gpu_time $CMD
+
+AMD/Radeon cards.
+-----------------
+
+For ``fglrx`` driver::
+
+ $ aticonfig --odgc --odgt
+
Audio.
======
--- a/index.sh Sat Dec 05 00:13:27 2015 +0200
+++ b/index.sh Tue Dec 08 20:57:54 2015 +0200
@@ -1,20 +1,23 @@
#!/bin/sh
-echo '<html>'
-echo '<head>'
-echo ' <meta http-equiv="Content-Type" content="text/html; charset=utf-8">'
-echo ' <title>Tips</title>'
-echo ' <style type="text/css">'
-echo ' body { background-color: LightYellow; }'
-echo ' a { text-decoration:none; }'
-echo ' a:link { color: brown; }'
-echo ' a:visited { color: IndianRed; }'
-echo ' a:hover { background: bisque; border-radius: 10px; padding: 1px; }'
-echo ' </style>'
-echo '</head>'
-echo '<body>'
-echo '<h1>Tips</h1>'
-echo '<ul>'
+cat <<EOF
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>Tips</title>
+ <style type="text/css">
+ body { background-color: LightYellow; }
+ ul { padding-left: 1em; }
+ a { text-decoration:none; }
+ a:link { color: brown; }
+ a:visited { color: IndianRed; }
+ a:hover { background: bisque; border-radius: 10px; padding: 1px; }
+ </style>
+</head>
+<body>
+<h1>Tips</h1>
+<ul>
+EOF
for file in *.rst *.txt; do
case $file in
@@ -30,9 +33,11 @@
esac
done
-echo '<p>'
-echo '<address>'
-echo ' <a href="mailto:gavenkoa@gmail.com">Oleksandr Gavenko</a>'
-echo '</address>'
-echo '</body>'
-echo '</html>'
+cat <<EOF
+<p>
+<address>
+ <a href="mailto:gavenkoa@gmail.com">Oleksandr Gavenko</a>
+</address>
+</body>
+</html>
+EOF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/init.rst Tue Dec 08 20:57:54 2015 +0200
@@ -0,0 +1,38 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=======
+ init.
+=======
+.. contents::
+
+rc.d script.
+============
+
+SysV type.
+==========
+
+ /etc/init.d/*
+ Here scripts.
+ /etc/rc<N>.d/[SK]<NN>name
+ Here symlink to /etc/init.d/ scripts. <N> - runlevel, <NN> -
+ start order from low to high, with K run stop, with S run start.
+
+To disable the service, rename the symbolic link so that its name begins with
+a K instead of with an S and its sequence number is 100 minus NN.
+
+Managing services.
+==================
+::
+
+ $ sudo service start $NAME
+ $ sudo service stop $NAME
+ $ sudo service restart $NAME
+ $ sudo service force-reload $NAME
+
+How manage runlevel for startup script.
+=======================================
+
+For Debian preferred package is sysvconfig(8).
+
+See also bum(8) or update-rc.d(8) or sysv-rc-conf(8).
--- a/macos.rst Sat Dec 05 00:13:27 2015 +0200
+++ b/macos.rst Tue Dec 08 20:57:54 2015 +0200
@@ -76,3 +76,17 @@
* http://wiki.osx86project.org/wiki/index.php/Tips_And_Tricks
* http://admin.dp.ua/other-any/36.html
+Installing Hackintosh.
+======================
+
+There are tonymacx86_ project that collect hardware list (called CustoMac_) to
+build Hackintosh on own hardware with success.
+
+.. _tonymacx86: http://www.tonymacx86.com/
+.. _CustoMac: http://www.tonymacx86.com/building-customac-buyers-guide-november-2015.html
+
+MultiBeast_ pack provide instruments to make instalable media and to provide
+collection of required drivers.
+
+.. _MultiBeast: http://www.tonymacx86.com/downloads
+
--- a/rc.d.rst Sat Dec 05 00:13:27 2015 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
--*- mode: outline; coding: utf-8; -*-
-
-* rc.d script.
-
-** SysV type.
-
- /etc/init.d/*
- Here scripts.
- /etc/rc<N>.d/[SK]<NN>name
- Here symlink to /etc/init.d/ scripts. <N> - runlevel, <NN> -
- start order from low to high, with K run stop, with S run start.
-
-** Disable service.
-
-To disable the service, rename the symbolic link so that its name begins with
-a K instead of with an S and its sequence number is 100 minus NN.
-
-** Command for scripts.
-
- start
- stop
- restart
- force-reload
-
-* How manage runlevel for startup script.
-
-For debian preferred package is sysvconfig(8).
-
-See also bum(8) or update-rc.d(8) or sysv-rc-conf(8).