<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Danik.info &#187; Advices</title>
	<atom:link href="http://danik.info/category/advices/feed/" rel="self" type="application/rss+xml" />
	<link>http://danik.info</link>
	<description>useful notes for admins</description>
	<lastBuildDate>Fri, 18 May 2012 11:46:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank</title>
		<link>http://danik.info/fix-for-munin-mysql-monitoring-plugin-graph-not-showing-or-blank/</link>
		<comments>http://danik.info/fix-for-munin-mysql-monitoring-plugin-graph-not-showing-or-blank/#comments</comments>
		<pubDate>Fri, 18 May 2012 11:46:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Advices]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[munin]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://danik.info/?p=3085</guid>
		<description><![CDATA[Munin is a monitoring tool used to survey and monitor the performance of computers, networks, SANs, applications, databases, weather measurements and other parameters. Munin remembers and records information it captured and presents them in graphs through a web interface. cPanel, through WebHost Manager (WHM) has added the Munin Service Monitor as easily installed plugin to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://danik.info/wp-content/uploads/2012/05/munin.png"><img class="aligncenter size-medium wp-image-3086" title="munin" src="http://danik.info/wp-content/uploads/2012/05/munin-300x78.png" alt="munin 300x78 Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank" width="300" height="78" /></a></p>
<p>Munin is a monitoring tool used to survey and monitor the performance of computers, networks, SANs, applications, databases, weather measurements and other parameters. Munin remembers and records information it captured and presents them in graphs through a web interface. cPanel, through WebHost Manager (WHM) has added the Munin Service Monitor as easily installed plugin to monitor the web host and check the capacity of resources available.<span id="more-3085"></span></p>
<p>Easily install, <a href="http://munin.projects.linpro.no/">Munin</a> version 1.4 works immediately once webmaster installs it on the server through cPanel/WHM, and start checking and capturing various resources’ usage reading, including MySQL nodes such as MySQL throughputs, MySQL queries, MySQL Slow Queries, and MySQL threads. However, if you restart the server, Munin will fail to monitor MySQL nodes. No information is capture, and the graphs is no longer updated with statistics and appears blank. Sometimes, the MySQL graphs blank symptom may happen even when web server is not rebooted.</p>
<p>The error is due to a bug in a Perl library Munin uses which causes $PATH variable to be lost, and then causes the plugin cannot find the mysqladmin program which it needs to retrieve the numbers to populate in the graphs. Uninstall and reinstall Munin Service Monitor may make it works again, however, a more permanent solution is to hardcode the path of the program, which will fix the problem. Here the guide on how to specify the path to mysqladmin to Munin.</p>
<p><strong>Fix for Munin installed by cPanel/WHM</strong></p>
<ol>
<li>Determine where is mysqladmin program located with the one of the following command:which mysqladmin<br />
type mysqladmin<br />
locate mysqladminIf should return a path to mysqladmin which looks similar or the same to /usr/bin/mysqladmin.</li>
<li>Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] to look like below:<code><br />
[mysql*]<br />
user root<br />
group wheel<br />
env.mysqladmin /usr/bin/mysqladmin<br />
env.mysqlopts --defaults-extra-file=/root/.my.cnf<br />
</code>Ensure the env.mysqladmin value is path returned by step above. Also ensure that /root/.my.cnf contains correct root password to the MySQL databases.</li>
<li>Then restart Munin service:/etc/init.d/munin-node restart</li>
<li>Wait a while for MySQL statistics to be gathered, and check the graphs again.</li>
</ol>
<p><strong>Fix for Host or Server without cPanel Control Panel</strong></p>
<p>Simply add the “env.mysqladmin /usr/bin/mysqladmin” (ensure that the path is correct according to your system) to the /etc/munin/plugin-conf.d/munin-node file will do the trick, according to <a href="http://munin.projects.linpro.no/wiki/faq">Munin FAQ</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://danik.info/fix-for-munin-mysql-monitoring-plugin-graph-not-showing-or-blank/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Change the Shared IP of a cPanel Server</title>
		<link>http://danik.info/how-to-change-the-shared-ip-of-a-cpanel-server/</link>
		<comments>http://danik.info/how-to-change-the-shared-ip-of-a-cpanel-server/#comments</comments>
		<pubDate>Tue, 15 May 2012 19:20:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Advices]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[ip change]]></category>
		<category><![CDATA[migration]]></category>

		<guid isPermaLink="false">http://danik.info/?p=3078</guid>
		<description><![CDATA[As a good administrator, when you change the shared IP of your cPanel server, you must ensure that there minimal interruption of service. The discussion below will guide you through the process of updating the main server IP, without affecting accounts with dedicated IPs and SSL certificates. The following three actions need to be executed [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://danik.info/wp-content/uploads/2012/05/cpanel-vps-optimized2.jpg"><img class="aligncenter size-medium wp-image-3080" title="cpanel-vps-optimized2" src="http://danik.info/wp-content/uploads/2012/05/cpanel-vps-optimized2-300x136.jpg" alt="cpanel vps optimized2 300x136 How to Change the Shared IP of a cPanel Server" width="300" height="136" /></a>As a good administrator, when you change the shared IP of your cPanel server, you must ensure that there minimal interruption of service.</p>
<p><span id="more-3078"></span></p>
<p>The discussion below will guide you through the process of updating the main server IP, without affecting accounts with dedicated IPs and SSL certificates. The following three actions need to be executed to change the shared IP of your cPanel server:</p>
<ul>
<li>Updating TTLs (Time-To-Live)</li>
<li>Adding new IP</li>
<li>Updating configurations</li>
</ul>
<p><strong>Updating TTLs</strong></p>
<p>Setting zone TTL’s on your server to a lower value a couple of days before changing the IP helps lower the caching period. Caching DNS servers should be configured to use the lowered TTL value – usually 3200. The TTL can be changed for all users on one server with the help of the following replace command:<br />
replace 86400 3200 — /var/named/*.db</p>
<p>Here, 86400 is the default TTL value. To find the TTL value set on your server, go to /etc/wwwacct.conf. After this, increment the serial numbers by installing the script mentioned below:</p>
<blockquote><p></p>
<p># cd /sbin<br />
# rm -f updateserial<br />
# wget http://www.ndchost.com/cpanel-whm/scripts/updateserial/download.php<br />
# chown root.root updateserial<br />
# chmod 0750 updateserial</p></blockquote>
<p>The script may be installed using the command: /sbin/updateserial -d /var/named<br />
Update nameservers using the command:</p>
<blockquote><p></p>
<p># /scripts/dnscluster synczone all</p></blockquote>
<p><strong>Add the new IP</strong></p>
<p>Two days after you update the TTLs, you can add the new IP and indicate that it is to be shared. To ensure the smooth working of you cPanel server, it is wise to indicate that the main IP is to be shared too. Follow the steps mentioned below to change the main server IP:</p>
<p>Edit /etc/sysconfig/network-scripts/ifcfg-ethx (where ethx is the adapter on which your public IP is located)<br />
Modify IPADDR, NETMASK, GATEWAY and NETWORK according to your IP parameters<br />
Edit /etc/sysconfig/network and modify additional parameters absent in the previous file<br />
Restart the network service<br />
Update configurations</p>
<p>With the help of the replace commands mentioned below, you can finalize the sharing if the IP.</p>
<blockquote><p>
# replace $oldip $newip — /var/cpanel/mainip<br />
# replace $oldip $newip — /var/cpanel/userdata/*/*<br />
# replace $oldip $newip — /var/named/*.db<br />
# replace $oldip $newip — /etc/*<br />
# service named restart<br />
# /scripts/rebuildhttpdconf</p></blockquote>
<p>As a final step, restore the TTL values you changed in the first section using the same commands as before to complete the process. A cPanel update following this will ensure that all cPanel files use the new IP.</p>
]]></content:encoded>
			<wfw:commentRss>http://danik.info/how-to-change-the-shared-ip-of-a-cpanel-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple arhive extracting alias in linux</title>
		<link>http://danik.info/simple-arhive-extracting-alias-in-linux/</link>
		<comments>http://danik.info/simple-arhive-extracting-alias-in-linux/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 08:38:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Advices]]></category>
		<category><![CDATA[arhive]]></category>
		<category><![CDATA[extract]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[unpack]]></category>

		<guid isPermaLink="false">http://danik.info/?p=3074</guid>
		<description><![CDATA[Add this to your ~/.bashrc extract () { if [ -f $1 ] ; then case $1 in *.tar.bz2) tar xvjf $1 &#38;&#38; cd $(basename "$1" .tar.bz2) ;; *.tar.gz) tar xvzf $1 &#38;&#38; cd $(basename "$1" .tar.gz) ;; *.tar.xz) tar Jxvf $1 &#38;&#38; cd $(basename "$1" .tar.xz) ;; *.bz2) bunzip2 $1 &#38;&#38; cd $(basename "$1" [...]]]></description>
			<content:encoded><![CDATA[<p>Add this to your ~/.bashrc</p>
<p><code>extract () {<br />
if [ -f $1 ] ; then<br />
case $1 in<br />
*.tar.bz2) tar xvjf $1 &amp;&amp; cd $(basename "$1" .tar.bz2) ;;<br />
*.tar.gz) tar xvzf $1 &amp;&amp; cd $(basename "$1" .tar.gz) ;;<br />
*.tar.xz) tar Jxvf $1 &amp;&amp; cd $(basename "$1" .tar.xz) ;;<br />
*.bz2) bunzip2 $1 &amp;&amp; cd $(basename "$1" /bz2) ;;<br />
*.rar) unrar x $1 &amp;&amp; cd $(basename "$1" .rar) ;;<br />
*.gz) gunzip $1 &amp;&amp; cd $(basename "$1" .gz) ;;<br />
*.tar) tar xvf $1 &amp;&amp; cd $(basename "$1" .tar) ;;<br />
*.tbz2) tar xvjf $1 &amp;&amp; cd $(basename "$1" .tbz2) ;;<br />
*.tgz) tar xvzf $1 &amp;&amp; cd $(basename "$1" .tgz) ;;<br />
*.zip) unzip $1 &amp;&amp; cd $(basename "$1" .zip) ;;<br />
*.Z) uncompress $1 &amp;&amp; cd $(basename "$1" .Z) ;;<br />
*.7z) 7z x $1 &amp;&amp; cd $(basename "$1" .7z) ;;<br />
*) echo "don't know how to extract '$1'..." ;;<br />
esac<br />
else<br />
echo "'$1' is not a valid file!"<br />
fi<br />
}</code></p>
<p>Now just type &#8220;extract filename&#8221; and you&#8217;re golden.</p>
]]></content:encoded>
			<wfw:commentRss>http://danik.info/simple-arhive-extracting-alias-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show hidden files on Mac OS X Lion</title>
		<link>http://danik.info/show-hidden-files-on-mac-os-x-lion/</link>
		<comments>http://danik.info/show-hidden-files-on-mac-os-x-lion/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 07:37:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Advices]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[hide]]></category>
		<category><![CDATA[lion]]></category>
		<category><![CDATA[mac os]]></category>
		<category><![CDATA[macos]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://danik.info/?p=3069</guid>
		<description><![CDATA[The easiest way how to show hidden files in finder is to run a command in terminal:  Open the Terminal application (Applications &#62; Utilities &#62; Terminal.app) Type in the following without the quotes “defaults write com.apple.Finder AppleShowAllFiles TRUE” Hit the ‘Enter’ key Restart the Finder by holding ‘Option’, click and hold on the icon. Click [...]]]></description>
			<content:encoded><![CDATA[<div><a href="http://danik.info/wp-content/uploads/2012/01/ninja-finder.jpg"><img class="aligncenter  wp-image-3070" title="ninja-finder" src="http://danik.info/wp-content/uploads/2012/01/ninja-finder-300x284.jpg" alt="ninja finder 300x284 Show hidden files on Mac OS X Lion" width="180" height="170" /></a></div>
<div></div>
<div><span style="line-height: 19px;">The easiest way how to show hidden files in finder is to run a command in terminal: </span></div>
<div></div>
<ul>
<li>Open the Terminal application (Applications &gt; Utilities &gt; Terminal.app)</li>
<li>Type in the following without the quotes “defaults write com.apple.Finder AppleShowAllFiles TRUE”</li>
<li>Hit the ‘Enter’ key</li>
<li>Restart the Finder by holding ‘Option’, click and hold on the icon. Click ‘Relaunch’</li>
</ul>
<div><span style="line-height: 19px;">To hide them again use this command:</span></div>
<div></div>
<ul>
<li>To re-hide the files type “defaults write com.apple.Finder AppleShowAllFiles FALSE”</li>
<li>Then restart the Finder again.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://danik.info/show-hidden-files-on-mac-os-x-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>0Day Vulnerability in WordPress themes</title>
		<link>http://danik.info/vulnerability_in_wordpress/</link>
		<comments>http://danik.info/vulnerability_in_wordpress/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 07:02:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Advices for webmasters]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[fuckup]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[vulnerability]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://danik.info/?p=3050</guid>
		<description><![CDATA[Included in many wordpress themes utility for image resizing timthumb.php, is vulnerable to arbitrary loading PHP-code. In it’s config script has several domains from witch it is allowed to upload images: flickr.com picasa.com blogger.com wordpress.com img.youtube.com upload.wikimedia.org photobucket.com Because of lack of validation, it is possible to load a phpshell to the target wordpress blog. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://danik.info/wp-content/uploads/2011/08/wphack.jpg"><img class="aligncenter size-full wp-image-3051" title="wphack" src="http://danik.info/wp-content/uploads/2011/08/wphack.jpg" alt="wphack 0Day Vulnerability in WordPress themes" width="276" height="182" /></a></p>
<p>Included in many wordpress themes utility for image resizing timthumb.php, is vulnerable to arbitrary loading PHP-code.</p>
<p><span id="more-3050"></span></p>
<p>In it’s config script has several domains from witch it is allowed to upload images:</p>
<ul>
<li>flickr.com</li>
<li>picasa.com</li>
<li>blogger.com</li>
<li>wordpress.com</li>
<li>img.youtube.com</li>
<li>upload.wikimedia.org</li>
<li>photobucket.com</li>
</ul>
<p>Because of lack of validation, it is possible to load a phpshell to the target wordpress blog. Other words timthumb.php utility finds link blogger.com.hackersite.com / webshell.php legitimate and allows you to load a script to the server.<br />
Vulnerability found Mark Maunder , after his blog was hacked.<br />
p.s. you can download patched version from here <a href="http://code.google.com/p/timthumb/source/browse/trunk/timthumb.php">patched timthumb.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://danik.info/vulnerability_in_wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Бесплатный VPN от Amazon</title>
		<link>http://danik.info/besplatnyj-vpn-ot-amazon/</link>
		<comments>http://danik.info/besplatnyj-vpn-ot-amazon/#comments</comments>
		<pubDate>Sat, 06 Nov 2010 15:35:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Advices]]></category>
		<category><![CDATA[Tools for admins]]></category>
		<category><![CDATA[Tools for webmasters]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[бесплатно]]></category>

		<guid isPermaLink="false">http://danik.info/?p=2972</guid>
		<description><![CDATA[Под катом я расскажу вам, как при помощи нескольких простых действий получить себе практически бесплатный VPN в штатах: 1. Зарегистрироваться на aws.amazon.com и получить бесплатно кусочек машинного времени на год. Требуется валидная карточка; 2. Запустить доступную в регионе US-East Micro Instance с Ubuntu 10.4 и 10 гигабайтным разделом, который как раз помещается в бесплатный пакет. Инстанция имеет [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://danik.info/wp-content/uploads/2010/11/awsvpn.jpg"><img class="aligncenter size-full wp-image-2974" title="awsvpn" src="http://danik.info/wp-content/uploads/2010/11/awsvpn.jpg" alt="awsvpn Бесплатный VPN от Amazon" width="500" height="350" /></a></p>
<p>Под катом я расскажу вам, как при помощи нескольких простых действий получить себе практически бесплатный VPN в штатах:</p>
<p><span id="more-2972"></span>1. Зарегистрироваться на <a href="http://aws.amazon.com/">aws.amazon.com</a> и получить <a href="http://aws.amazon.com/free/">бесплатно</a> кусочек машинного времени на год. Требуется валидная карточка;</p>
<p>2. Запустить доступную в регионе US-East Micro Instance с Ubuntu 10.4 и 10 гигабайтным разделом, который как раз помещается в бесплатный пакет. Инстанция имеет номер <em>ami-c2a255ab</em> и находится через поиск в Community AMI&#8217;s по запросу <em>Ubuntu 10.4</em>;</p>
<p>3. Залогиниться на машину под <em>ubuntu</em> при помощи SSH, например через <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">PuTTY</a>, не забыв сначала конвертировать ключ в формат ppk через <a href="http://the.earth.li/~sgtatham/putty/latest/x86/puttygen.exe">PuTTYgen</a>;</p>
<p>4. Установить и настроить OpenVpn при помощи <a href="http://library.linode.com/networking/openvpn/ubuntu-10.04-lucid">этой</a> статьи. Автор забыл сказать, что перед началом работы нужно выполнить <em>sudo su</em>;</p>
<p>5. <a href="https://help.ubuntu.com/community/DynamicDNS">Установить и настроить</a> синхронизацию с <a href="http://www.dyndns.com/">DynDNS</a>, чтобы не смотреть каждый раз ip, который меняется после каждой остановки инстанции;</p>
<p>6. Настроить <a href="http://openvpn.net/index.php/open-source/downloads.html">клиента OpenVPN</a>, в моем случае средой выступила Windows 7.<br />
Для этого нужно скопировать с сервера файлы:<br />
• ca.crt<br />
• client1.crt<br />
• client1.key<br />
Это текстовые файлы и их содержимое с aws можно вытащить копипастом.<br />
Их нужно сложить в <em>C:\Program Files\OpenVPN\config</em>.<br />
Кроме того здесь нужно создать файл <em>client1.conf</em>, в котором написать примерно следующее:</p>
<p><em>client<br />
dev tun<br />
remote ec2-XX-XXX-XX-XXX.compute-1.amazonaws.com 1194<br />
proto udp<br />
nobind<br />
pull<br />
comp-lzo<br />
persist-key<br />
persist-tun<br />
ca «C:\\Program Files\\OpenVPN\\config\\ca.crt»<br />
cert «C:\\Program Files\\OpenVPN\\config\\client1.crt»<br />
key «C:\\Program Files\\OpenVPN\\config\\client1.key»<br />
</em></p>
<p>7. Запускаем OpenVPN и мы в Сиэтле!</p>
<p><a href="http://danik.info/wp-content/uploads/2010/11/yandex.png"><img class="aligncenter size-full wp-image-2973" title="yandex" src="http://danik.info/wp-content/uploads/2010/11/yandex.png" alt="yandex Бесплатный VPN от Amazon" width="415" height="196" /></a></p>
<p>PS: Amazon дает по 15 гигабайт трафика Up и Down в месяц в течение года. Все что выше будет стоить 10 центов за гигабайт. Цены можно посмотреть здесь: <a href="http://aws.amazon.com/ec2/pricing/">http://aws.amazon.com/ec2/pricing/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://danik.info/besplatnyj-vpn-ot-amazon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1700 иконок бесплатно</title>
		<link>http://danik.info/1700-ikonok-besplatno/</link>
		<comments>http://danik.info/1700-ikonok-besplatno/#comments</comments>
		<pubDate>Fri, 22 Oct 2010 06:59:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Advices for webmasters]]></category>
		<category><![CDATA[Tools for webmasters]]></category>
		<category><![CDATA[иконки]]></category>
		<category><![CDATA[интерфейсы]]></category>
		<category><![CDATA[халява]]></category>

		<guid isPermaLink="false">http://danik.info/?p=2960</guid>
		<description><![CDATA[Некоторое время назад серьезно пополнилась коллекция иконок, с помощью которой пиарит свои услуги ООО &#8220;Пухленькая тёлочка&#8221;. По размаху халявы с ними может успешно потягаться лишь, широко известный в узких кругах самурай, Yusuke Kamiyamane. Однако, в данном случае ВСЕ иконки продублированы в размере 32х32 (помимо 16х16). Как по размеру так и по стилю они лучше всего [...]]]></description>
			<content:encoded><![CDATA[<p>Некоторое время назад серьезно пополнилась коллекция иконок, с помощью которой пиарит свои услуги ООО &#8220;Пухленькая тёлочка&#8221;.</p>
<p><a href="http://danik.info/wp-content/uploads/2010/10/fatcow-icons-2.jpg"><img class="aligncenter size-full wp-image-2961" title="fatcow-icons-2" src="http://danik.info/wp-content/uploads/2010/10/fatcow-icons-2.jpg" alt="fatcow icons 2 1700 иконок бесплатно" width="460" height="240" /></a></p>
<p>По размаху халявы с ними может успешно потягаться лишь, широко известный в узких кругах самурай, Yusuke Kamiyamane. Однако, в данном случае ВСЕ иконки продублированы в размере 32х32 (помимо 16х16). Как по размеру так и по стилю они лучше всего подходят для тулбаров и риббонов. Из минусов я бы отметил отсутствие платной лицензии (для тех кто не хочет вешать ссылку).</p>
<p><a href="http://www.fatcow.com/free-icons/">http://www.fatcow.com/free-icons/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://danik.info/1700-ikonok-besplatno/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Увеличение места на Dropbox</title>
		<link>http://danik.info/uvelichenie-mesta-na-dropbox/</link>
		<comments>http://danik.info/uvelichenie-mesta-na-dropbox/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 10:11:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Advices]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tools for admins]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://danik.info/?p=2939</guid>
		<description><![CDATA[Наверное многим известен такой сервис, как Dropbox. Конечно же на нем хочется иметь максимально возможное количество места и бесплатно. Это можно сделать официально, приглашая своих знакомых в систему. За каждый инвайт вам дают 250Mb бонусного места. На момент написания заметки лимитом было 10.25Gb. Конечно весьма затруднительно пригласить зарегистрироваться такое количество народа. Собственно я нашел некое [...]]]></description>
			<content:encoded><![CDATA[<p>Наверное многим известен такой сервис, как Dropbox. Конечно же на нем хочется иметь максимально возможное количество места и бесплатно. Это можно сделать официально, приглашая своих знакомых в систему. За каждый инвайт вам дают 250Mb бонусного места. На момент написания заметки лимитом было 10.25Gb. Конечно весьма затруднительно пригласить зарегистрироваться такое количество народа.</p>
<p><a href="http://danik.info/wp-content/uploads/2010/10/dropbox1.gif"><img class="aligncenter size-full wp-image-2940" title="dropbox1" src="http://danik.info/wp-content/uploads/2010/10/dropbox1.gif" alt="dropbox1 Увеличение места на Dropbox" width="440" height="180" /></a></p>
<p><span id="more-2939"></span></p>
<p>Собственно я нашел некое подобие решения.</p>
<p>Что нужно:</p>
<ul>
<li><a href="http://www.getdropbox.com/download?plat=lnx.x86">http://www.getdropbox.com/download?plat=lnx.x86</a> &#8211; клиент</li>
<li>Knoppix &#8211; можно и что-то другое, но я на нем делал</li>
<li>referal-ссылка из вашего кабинета, такая <a href="http://www.dropbox.com/referrals/NTQwOTgwMTI5">http://www.dropbox.com/referrals/NTQwOTgwMTI5</a></li>
<li>VirtualBox &#8211; чтобы не истязать основную машину или вдруг у вас стоит Windows</li>
<li><a href="http://www.easyvmx.com/software/easymac.sh">скрипт</a> генерации произвольного mac-адреса</li>
<li>и около часа времени</li>
</ul>
<p>Подготовка:</p>
<ul>
<li>от обычного юзера. клиента распаковываем в хомяк. там в архиве просто каталог .dropbox-dist переходим в этот каталог</li>
<li>открываем вторую консоль &#8211; рутовую. там пишем такую команду: # ifconfig eth0 down; ifconfig eth0 hw ether $(./easymac.sh -x -m|grep <img src='http://danik.info/wp-includes/images/smilies/icon_smile.gif' alt="icon smile Увеличение места на Dropbox" class='wp-smiley' title="Увеличение места на Dropbox" />  up</li>
<li>берем браузер Epiphany и отключаем прием куки &#8211; это упрощает задачу &#8211; меньше кнопок жать. Так же домашней страницей ставим нашу реферал ссылку</li>
</ul>
<p>Работа:</p>
<ul>
<li>В браузере по реферал ссылке вбиваем данные, адрес не важен, что-то с собачкой(кинуть в буфер), пароль 6 единиц (меньше низя). нажимаем зайти &#8211; он переходит на вики, но куки не принимает. Это позволяет нажать кнопку &#8220;домой&#8221; и вернуться к реферал-ссылке</li>
<li>в консоле юзера запускаем # rm -rf ~/.dropbox; ./dropbox -i в появившемся окне вбиваем вымышленое мыло из буфера и пароль. как только появится окно с выбором тарифа &#8211; типа фрии и коммерческие &#8211; процесс можно грубо прервать по Ctrl+C &#8211; свою миссию он выполнил</li>
<li>выполняем смену мака на рутовой консоли</li>
</ul>
<p>И так по кругу пока не доберемся до предела или пока не надоест. Я управился примерно за час не напрягаясь.</p>
]]></content:encoded>
			<wfw:commentRss>http://danik.info/uvelichenie-mesta-na-dropbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dropbox: Синхронизация файлов между компьютерами</title>
		<link>http://danik.info/dropbox-sinxronizaciya-fajlov-mezhdu-kompyuterami/</link>
		<comments>http://danik.info/dropbox-sinxronizaciya-fajlov-mezhdu-kompyuterami/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 11:35:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Advices]]></category>
		<category><![CDATA[Advices for webmasters]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tools for admins]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[filesync]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[синхронизация]]></category>
		<category><![CDATA[удобно]]></category>

		<guid isPermaLink="false">http://danik.info/?p=2929</guid>
		<description><![CDATA[Что такое Dropbox? Мультиплатформенный продукт для синхронизации файлов и хранения их на удаленном сервере. Доступны полнофункциональные удобные клиенты для Windows, Mac, Linux. Синхронизация происходит «прозрачно» — при добавлении нового или изменении уже существующего файла, он сразу же попадет в хранилище на сервере и автоматически загрузится на другие компьютерах, подключенные к тому же аккаунту Dropbox. Синхронизация [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://danik.info/wp-content/uploads/2010/09/hugelogo.jpg"><img class="aligncenter size-full wp-image-2930" title="DropBox" src="http://danik.info/wp-content/uploads/2010/09/hugelogo.jpg" alt="hugelogo Dropbox: Синхронизация файлов между компьютерами" width="538" height="144" /></a></p>
<p><strong>Что такое Dropbox?</strong></p>
<div id="_mcePaste">Мультиплатформенный продукт для синхронизации файлов и хранения их на удаленном сервере. Доступны полнофункциональные удобные клиенты для Windows, Mac, Linux. Синхронизация происходит «прозрачно» — при добавлении нового или изменении уже существующего файла, он сразу же попадет в хранилище на сервере и автоматически загрузится на другие компьютерах, подключенные к тому же аккаунту Dropbox.</div>
<div>Синхронизация бинарных файлов происходит очень быстро, так как используется binary diff — то есть файл передается не целиком, а только только изменения. Аналогично и с текстовыми файлами. Плюс, при передаче данных используется сжатие.</div>
<div id="_mcePaste">Из дополнительных приятных фишек есть:</div>
<div id="_mcePaste">
<ul>
<li>История версий файла. Причем имеется возможность получить доступ к сколь угодно старой ревизии. Причем старые версии не приплюсовываются к используемому дисковому пространству.</li>
<li>Возможность восстановить файл, который ранее синхронизировался, но был удален. Аналогично, удаленные файлы как бы «не занимают» места в хранилище.</li>
<li>Публикация фотоальбомов. Если положить фотографии в папку My Dropbox/Photos, то при просмотре папки через сайт вы увидите красивый фотоальбом.</li>
<li>Предоставление прав доступа к файлам. Для того, чтобы предоставить коллеге доступ к файлу, достаточно просто поместить его в папку My Dropbox, нажать по файлу правой кнопкой мышки и скопировать в один клик веб-ссылку на него!</li>
</ul>
</div>
<div>О безопасности: файлы передаются по сети с использованием SSL и шифруются алгоритмом AES-256. Это хорошо <img src='http://danik.info/wp-includes/images/smilies/icon_smile.gif' alt="icon smile Dropbox: Синхронизация файлов между компьютерами" class='wp-smiley' title="Dropbox: Синхронизация файлов между компьютерами" /> </div>
<div>Регистрация <a href="http://www.dropbox.com/referrals/NTQwOTgwMTI5">http://www.dropbox.com/</a> (ссылка с моим рефом, мне дадут дополнительно 250mb)</div>
<div>О том как его можно использовать под катом&#8230;</div>
<div><span id="more-2929"></span></div>
<div>
<div><strong>Для чего можно его использовать?</strong></div>
<div><strong><br />
</strong></div>
<div>Паттернов использования сервиса масса. В том числе, много хороших примеров есть на официальной Wiki.</div>
<div>Как минимум, можно и нужно синхронизировать файлы, к актуальной версии которых часто бывает необходим доступ через интернет или с других компьютеров.</div>
<div>При помощи Dropbox с легкостью можно поддерживать актуальную версию ПО сразу на всех компьютерах. Например, если синхронизировать папку с аськой или с браузером — у вас будут одинаковые хистори чатов, хистори браузера, закладки и пр. на ноутбуке, на рабочем и домашнем компьютерах без лишних телодвижений.</div>
<div>Но как мне синхронизировать файлы, если я никак не могу переместить их в папку My Dropbox?</div>
<div>Есть решение. Вам не нужно перемещать файлы. Оставьте их там, где они сейчас есть. Надо всего лишь поместить ссылки на них их папки My dropbox.</div>
<div>Пользователи Linux/Mac особых проблем испытать не должны. Там на помощь приходит давно существующий в ФС механизм мягких ссылок:</div>
</div>
<blockquote>
<div>
<div>ln -s /path/to/folder ~/Dropbox/it-is-link-to-the-folder</div>
<div>или</div>
<div>ln -s /path/to/file ~/Dropbox/it-is-link-to-the-file</div>
</div>
</blockquote>
<p>В Windows поддержка ссылок есть при условии использования файловой системы NTFS. А вот удобного интерфейса чтобы эти ссылки делать — нету.</p>
<p>В случае Windows Vista и Server 2008, можно использовать встроенную утилиту MKLINK. Если же у вас нечто вроде Windows XP, то аналогичным функционалом обладает программа JUNCTION от Sysinternals. Синтаксис достаточно сильно похож на ln из линукса:</p>
<blockquote>
<div>
<div>junction &#8220;C:\My Dropbox\It-is-link-to-thee-folder&#8221; &#8220;C:\Path\To\Folder&#8221;</div>
<div>или</div>
<div>mklink /D &#8220;C:\My Dropbox\It-is-link-to-the-folder&#8221; &#8220;C:\Path\To\Folder&#8221;</div>
</div>
</blockquote>
<div>
<div>Обратите внимание, что при помощи junction/mklink можно делать ссылки только на папки, в отличие от ln.</div>
<div>Ну и на последок — кошерное решение для Windows:</div>
<div>Link Shell Extension добавит необходимые для создания ссылок пункты в контекстное меню, появляющееся при клике правой кнопки мыши по файлу. При этом в Windows Vista можно создавать в том числе и мягкие ссылки. В более старых версиях Windows для файлов можно использовать HardLink, а для папок — Junction:</div>
</div>
<div><a href="http://danik.info/wp-content/uploads/2010/09/picklinksource_cr.png"><img class="aligncenter size-full wp-image-2931" title="picklinksource_cr" src="http://danik.info/wp-content/uploads/2010/09/picklinksource_cr.png" alt="picklinksource cr Dropbox: Синхронизация файлов между компьютерами" width="463" height="160" /></a><a href="http://danik.info/wp-content/uploads/2010/09/dropjunction_cr.png"><img class="aligncenter size-full wp-image-2934" title="dropjunction_cr" src="http://danik.info/wp-content/uploads/2010/09/dropjunction_cr.png" alt="dropjunction cr Dropbox: Синхронизация файлов между компьютерами" width="354" height="194" /></a></p>
<p><a href="http://danik.info/wp-content/uploads/2010/09/drophardlinkfolder_cr.png"><img class="aligncenter size-full wp-image-2933" title="drophardlinkfolder_cr" src="http://danik.info/wp-content/uploads/2010/09/drophardlinkfolder_cr.png" alt="drophardlinkfolder cr Dropbox: Синхронизация файлов между компьютерами" width="244" height="207" /></a></p>
<p><a href="http://danik.info/wp-content/uploads/2010/09/vistadropsymboliclinkfolder_cr.png"><img class="aligncenter size-full wp-image-2932" title="vistadropsymboliclinkfolder_cr" src="http://danik.info/wp-content/uploads/2010/09/vistadropsymboliclinkfolder_cr.png" alt="vistadropsymboliclinkfolder cr Dropbox: Синхронизация файлов между компьютерами" width="438" height="260" /></a></p>
</div>
<div>
<div>Ограничение бесплатной версии — суммарный объем файлов не должен превышать 2Гб.</div>
<div>Dropbox Pro — 50Гб места за $99 в год.</div>
<div>Как мне кажется, для личного пользования 2Гб вполне достаточно.</div>
<div></div>
<div></div>
<div><a href="http://www.dropbox.com/referrals/NTQwOTgwMTI5">Get Dropbox!</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://danik.info/dropbox-sinxronizaciya-fajlov-mezhdu-kompyuterami/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Как избавиться от скуки в тренажерном зале?</title>
		<link>http://danik.info/kak-izbavitsya-ot-skuki-v-trenazhernom-zale/</link>
		<comments>http://danik.info/kak-izbavitsya-ot-skuki-v-trenazhernom-zale/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 07:57:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Advices]]></category>
		<category><![CDATA[здоровье]]></category>
		<category><![CDATA[спорт]]></category>

		<guid isPermaLink="false">http://danik.info/?p=2920</guid>
		<description><![CDATA[Не секрет, что после того, как пройдет первая эйфория после записи в тренажерный зал (вот какой я молодец, что записался!), многим из нас становится просто скучно регулярно ходить в зал, выполняя примерно одни и те же упражнения. Наверное, большая часть посетителей тренажерных залов уходят оттуда через месяц-другой. Не потому, что лень, а потому, что становится [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://danik.info/wp-content/uploads/2010/07/391_cure-boredom-at-the-gym-flash.jpg"><img class="aligncenter size-full wp-image-2921" title="391_cure-boredom-at-the-gym-flash" src="http://danik.info/wp-content/uploads/2010/07/391_cure-boredom-at-the-gym-flash.jpg" alt="391 cure boredom at the gym flash Как избавиться от скуки в тренажерном зале?" width="350" height="196" /></a></p>
<p>Не секрет, что после того, как пройдет первая эйфория после записи в тренажерный зал (вот какой я молодец, что записался!), многим из нас становится просто скучно регулярно ходить в зал, выполняя примерно одни и те же упражнения. Наверное, большая часть посетителей тренажерных залов уходят оттуда через месяц-другой. Не потому, что лень, а потому, что становится скучно. Как бороться с этой напастью? Довольно просто.</p>
<p><span id="more-2920"></span><strong>Измените свою цель</strong></p>
<p>Вы хотели нарастить мышцы до определенного уровня или начать поднимать штангу в 100 кг и достигли желаемого? Понятно, что теперь нужно срочно менять цель, иначе смысл хождения в зал просто теряется. Попробуйте запланировать новую цель &#8211; например, нарастить &#8220;кубики&#8221; на прессе, или поднять планку веса до 140-150 кг. Достичь этого будет далеко не так просто, как первой цели, так что ходить в тренажерку снова станет интересно.</p>
<p>Кроме того, пробуйте менять наборы упражнений, советоваться с тренером, вести учет своих успехов. Все это приводит к исчезновению чувства рутины и появлению нового интереса к своим спортивным свершениям, а значит, и к тренажерному залу.</p>
<p><strong>Занимайтесь вне зала</strong></p>
<p>Этот совет подойдет, если зал уж совсем вам надоел, так, что ходить туда вы точно не будете. Что же, есть выход и в таком случае. Можно сделать перерыв на пару месяцев, перенеся свои упражнения на свежий воздух. Бегайте в парке, упражняйтесь на турниках, что установлены на школьных стадионах и в тех же парках.</p>
<p>Перерыв можно сделать на весну или лето, как раз заниматься на свежем воздухе будет легко и приятно. А через некоторое время вновь запишитесь в тренажерный зал, и вы не заметите, как интерес к &#8220;тренажерке&#8221; снова появится.</p>
<p>К примеру, в Киеве, в Гидропарке, есть все, что нужно для желающих заниматься спортом на открытом воздухе. Можете представить, как приятно заниматься спортом на берегу Днепра. Есть любые тренажеры и гимнастические снаряды, и все это &#8211; бесплатно. Уверен, есть все это и во многих других городах, главное &#8211; хорошенько поискать.</p>
<p><strong>Возьмите с собой плеер</strong></p>
<p>Слушать тяжелое дыхание соседей по спортивному залу не всегда бывает интересно. Кроме того, музыка, которую там обычно включают, нравится далеко не всем. Что делать? Просто возьмите надежный плеер (желательно, не очень дорогой, чтобы не жалко было уронить или намочить), и носите с собой собственную музыку.</p>
<p>И не забывайте подбирать энергичную музыку, которая будет &#8220;подталкивать&#8221; вас к занятиям. Если накачать нечто вроде &#8220;Era&#8221;, то занятий не получится, спокойная музыка подойдет разве что для занятий йогой.</p>
<p><strong>Купите новую форму/попробуйте новые тренажеры</strong></p>
<p><strong><a href="http://danik.info/wp-content/uploads/2010/07/589.jpg"><img class="aligncenter size-full wp-image-2922" title="589" src="http://danik.info/wp-content/uploads/2010/07/589.jpg" alt="589 Как избавиться от скуки в тренажерном зале?" width="450" height="459" /></a></strong></p>
<p>Как правило, посетители тренажерных залов осваивают в первые же дни приглянувшиеся тренажеры, не обращая внимания на другие. И каждый раз занимаются на одних и тех же тренажерах. Для некоторых это нормально, и никакой скуки не будет, но другим быстро все начинает надоедать. В таком случае стоит пробовать новые тренажеры, новые подборки упражнений.<br />
Кроме того, стоит попробовать приобрести новую форму, это всегда стимулирует дальнейшее посещение тренажерного зала. И не забывайте о том, чтобы ходить в тренажерку с хорошей спортивной сумкой, а не с обычным пакетом &#8211; это тоже один из элементов создания приятных стимулов для посещения тренажерного зала.</p>
<p><strong>Измените вид занятий</strong></p>
<p>Если вам надоел фитнес, кардио-тренажеры, попробуйте перейти на карате, бокс или аква-аэробику. Нагрузки те же, а заниматься интереснее. Конечно, не особо интересно проводить на беговой дорожке по часу в день, делая одно и тоже. Если есть уже чувство рутины, пробуйте изменить вид занятий, и будет вам счастье.</p>
<p><strong>Найдите партнера по занятиям</strong></p>
<p><strong><a href="http://danik.info/wp-content/uploads/2010/07/body-solid-exm-4000s-home-gym_1_0.jpg"><img class="aligncenter size-full wp-image-2923" title="body-solid-exm-4000s-home-gym_1_0" src="http://danik.info/wp-content/uploads/2010/07/body-solid-exm-4000s-home-gym_1_0.jpg" alt="body solid exm 4000s home gym 1 0 Как избавиться от скуки в тренажерном зале?" width="450" height="340" /></a><br />
</strong></p>
<p>В общем и целом, интерес в посещении тренажерного/фитнес зала и складывается в большей степени из-за круга общения. Постепенно вы знакомитесь все с большим количеством людей, обсуждаете с ними не только свои занятия, но и просто общаетесь. И вот это уже удерживает вас от того, чтобы бросить зал. Да и бросать незачем &#8211; когда становится скучно, можно просто поболтать 5-10 минут.<br />
Заниматься вместе с кем-то всегда интереснее, чем одному, так что стоит попробовать. И кстати, многие знакомства из зала иногда оказываются очень полезными, и в обычной жизни, и в работе.</p>
]]></content:encoded>
			<wfw:commentRss>http://danik.info/kak-izbavitsya-ot-skuki-v-trenazhernom-zale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

