<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6722050145138034590</id><updated>2024-08-29T09:13:04.762-07:00</updated><category term="ubuntu"/><category term="Rails"/><category term="gvim"/><category term="vim"/><category term="unix"/><category term="capistrano"/><category term="deploy"/><category term="gem"/><category term="phpmyadmin"/><category term="ruby"/><category term=".NET 4.0"/><category term="ASP.NET"/><category term="I18n"/><category term="MS SQL 2008"/><category term="MVC3"/><category term="backbone"/><category term="cache"/><category term="client_side_validation"/><category term="cron"/><category term="css"/><category term="fonts"/><category term="god"/><category term="haml"/><category term="haml template"/><category term="imagemagick"/><category term="mysql"/><category term="pdf"/><category term="pdfkit"/><category term="razor"/><category term="rmagick"/><category term="robotstxt"/><category term="rubygems"/><category term="skype"/><category term="style"/><category term="touchpad"/><category term="unicorn"/><category term="unity"/><category term="virtual"/><category term="vundle"/><category term="web-app-theme"/><category term="wmvare"/><category term="бесплатный хостинг"/><title type='text'>Чтобы вспомнить или не забыть</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>43</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-2117962225754869666</id><published>2014-02-10T04:31:00.003-08:00</published><updated>2014-02-10T04:31:48.621-08:00</updated><title type='text'>Ubuntu + mp3 + кириллица в тэгах</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;find -iname &#39;*.mp3&#39; -print0 | xargs -0 mid3iconv -eCP1251 --remove-v1&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/2117962225754869666/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2014/02/ubuntu-mp3.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/2117962225754869666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/2117962225754869666'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2014/02/ubuntu-mp3.html' title='Ubuntu + mp3 + кириллица в тэгах'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-4285287583506847674</id><published>2013-12-18T09:47:00.003-08:00</published><updated>2013-12-18T09:47:33.808-08:00</updated><title type='text'>ActiveRecord::RecordNotUnique (PG::Error: ERROR: duplicate key value violates unique constraint</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ActiveRecord&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Base&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;connection&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;tables&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;each &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;do&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;t&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ActiveRecord&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Base&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;connection&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;reset_pk_sequence&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;!(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;t&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;end&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;nil&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/4285287583506847674/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2013/12/activerecordrecordnotunique-pgerror.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/4285287583506847674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/4285287583506847674'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2013/12/activerecordrecordnotunique-pgerror.html' title='ActiveRecord::RecordNotUnique (PG::Error: ERROR: duplicate key value violates unique constraint'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-2635184541995927870</id><published>2013-10-29T03:16:00.003-07:00</published><updated>2013-10-29T03:16:35.618-07:00</updated><title type='text'>Configure Passenger + Nginx + RoR</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
Under sudo user:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo apt-get update&lt;/pre&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;To install RVM, open terminal and type in this command:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;curl -L get.rvm.io | bash -s stable&lt;/pre&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;After it is done installing, load RVM.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;source ~/.rvm/scripts/rvm&lt;/pre&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;In order to work, RVM has some of its own dependancies that need to be installed. You can see what these are:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;rvm requirements&lt;/pre&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;rvm install 1.9.3&lt;/pre&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;rvm use 1.9.3 --default&lt;/pre&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt; rvm rubygems current&lt;/pre&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;gem install passenger &lt;/pre&gt;
&lt;br /&gt;
sudo apt-get install libcurl4-openssl-dev&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is where Passenger really shines. As we are looking to install Rails on an nginx server, we only need to enter one more line into terminal:&lt;br /&gt;
&lt;br /&gt;
rvmsudo passenger-install-nginx-module&lt;br /&gt;
&lt;br /&gt;
sudo service nginx start&lt;br /&gt;
&lt;br /&gt;
Also can use this script for init.d service&lt;br /&gt;
&lt;br /&gt;
wget -O init-deb.sh http://library.linode.com/assets/660-init-deb.sh&lt;br /&gt;
sudo mv init-deb.sh /etc/init.d/nginx&lt;br /&gt;
&lt;br /&gt;
sudo chmod +x /etc/init.d/nginx&lt;br /&gt;
&lt;br /&gt;
sudo /usr/sbin/update-rc.d -f nginx defaults&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
after that you can control nginx with&lt;br /&gt;
&lt;br /&gt;
sudo /etc/init.d/nginx stop&lt;br /&gt;
&lt;br /&gt;
sudo /etc/init.d/nginx start&lt;br /&gt;
&lt;br /&gt;
sudo /etc/init.d/nginx restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/2635184541995927870/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2013/10/configure-passenger-nginx-ror.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/2635184541995927870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/2635184541995927870'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2013/10/configure-passenger-nginx-ror.html' title='Configure Passenger + Nginx + RoR'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-7987535303959124097</id><published>2013-04-19T05:56:00.003-07:00</published><updated>2013-04-19T05:56:51.449-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="skype"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="unity"/><title type='text'>skype + ubuntu + system tray + unity</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Если скайп не показывается в трее в убунте под оболочкой юнити нужно проделать следующее (инфа с аскубунту):&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;background-color: #f7f7f7; border: 0px; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 15px; line-height: 17px; margin: 0px 0px 5px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
1. Install the&amp;nbsp;&lt;em style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;sni-qt&lt;/em&gt;&amp;nbsp;libraries.&lt;/h3&gt;
&lt;div style=&quot;background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
Install&amp;nbsp;&lt;a href=&quot;https://apps.ubuntu.com/cat/applications/sni-qt&quot; style=&quot;background-color: transparent; border: 0px; color: #962d0c; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;em style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;sni-qt&lt;/em&gt;&amp;nbsp;&lt;img alt=&quot;Install banshee&quot; src=&quot;http://hostmar.co/software-small&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; max-width: 630px; padding: 0px; vertical-align: baseline;&quot; /&gt;&lt;/a&gt;&amp;nbsp;(click on the link), or with&amp;nbsp;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;sudo apt-get install sni-qt sni-qt:i386&lt;/code&gt;&amp;nbsp;from the terminal, and then restart Skype. The tray/panel icon should now be back!&lt;/div&gt;
&lt;blockquote style=&quot;background-color: #eeeeee; border: 0px; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; line-height: 17px; margin: 0px 0px 10px; padding: 10px 10px 1px; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
The reason this step is required is because&amp;nbsp;&lt;em style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;sni-qt&lt;/em&gt;&amp;nbsp;is installed automatically by the Ubuntu repository Skype package, but NOT by the Skype deb you directly download. Once Skype 4.0 is in the Ubuntu repos, you can install from there and this will no longer be necessary.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h3 style=&quot;background-color: #f7f7f7; border: 0px; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 15px; line-height: 17px; margin: 0px 0px 5px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
2. You&amp;nbsp;&lt;em style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;may&lt;/em&gt;&amp;nbsp;also need to whitelist the indicator&lt;/h3&gt;
&lt;div style=&quot;background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
We don&#39;t know why, but for some systems this additional step is required before the indicator will show (thanks to&amp;nbsp;&lt;a href=&quot;http://askubuntu.com/users/25863/bruno-pereira&quot; style=&quot;background-color: transparent; border: 0px; color: #962d0c; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;Bruno Pereira&lt;/a&gt;!)&lt;/div&gt;
&lt;div style=&quot;background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;strong style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Steps&lt;/strong&gt;:&lt;/div&gt;
&lt;ol style=&quot;background-color: #f7f7f7; border: 0px; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; line-height: 17px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1em 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; line-height: 16px; margin: 10px 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;div style=&quot;background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
Install the package&amp;nbsp;&lt;a href=&quot;https://apps.ubuntu.com/cat/applications/dconf-tools&quot; style=&quot;background-color: transparent; border: 0px; color: #962d0c; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;dconf-tools&lt;/code&gt;&lt;img alt=&quot;Install dconf-tools&quot; src=&quot;http://hostmar.co/software-small&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; max-width: 630px; padding: 0px; vertical-align: baseline;&quot; /&gt;&lt;/a&gt;&amp;nbsp;(click on the link), or from the terminal with&amp;nbsp;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;sudo apt-get install dconf-tools&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; line-height: 16px; margin: 10px 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;div style=&quot;background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
Open&amp;nbsp;&lt;em style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;dconf editor&lt;/em&gt;&amp;nbsp;from the Dash (or&amp;nbsp;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;dconf-editor&lt;/code&gt;&amp;nbsp;from terminal):&lt;/div&gt;
&lt;div style=&quot;background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;img alt=&quot;enter image description here&quot; src=&quot;http://i.stack.imgur.com/7lawY.png&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; max-width: 630px; padding: 0px; vertical-align: baseline;&quot; /&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; line-height: 16px; margin: 10px 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;div style=&quot;background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
On the left sidebar, use the triangles to navigate to&amp;nbsp;&lt;em style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;desktop&lt;/em&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;em style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;unity&lt;/em&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;em style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;panel&lt;/em&gt;. On Ubuntu 12.10 you instead need to navigate to&amp;nbsp;&lt;em style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;com&lt;/em&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;em style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;canonical&lt;/em&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;em style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;unity&lt;/em&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;em style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;panel&lt;/em&gt;. Double-click on the orange&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;[JavaEmbedded...]&lt;/code&gt;&amp;nbsp;part on the right, and add&amp;nbsp;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;,&#39;skype&#39;&lt;/code&gt;&amp;nbsp;to allow the Skype indicator to show, as below:&lt;/div&gt;
&lt;div style=&quot;background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;img alt=&quot;enter image description here&quot; src=&quot;http://i.stack.imgur.com/H0FP4.png&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; max-width: 630px; padding: 0px; vertical-align: baseline;&quot; /&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; line-height: 16px; margin: 10px 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;div style=&quot;background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
Press&amp;nbsp;&lt;kbd style=&quot;background-color: #eeeeee; border-color: rgb(204, 204, 204) rgb(170, 170, 170) rgb(136, 136, 136) rgb(187, 187, 187); border-style: solid; border-width: 1px 2px 2px 1px; color: black; margin: 0px; padding: 2px 4px 0px; vertical-align: baseline; white-space: nowrap;&quot;&gt;Enter&lt;/kbd&gt;, close&amp;nbsp;&lt;em style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;dconf editor&lt;/em&gt;, logout and login -- your indicator should now be back!&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/7987535303959124097/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2013/04/skype-ubuntu-system-tray-unity.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/7987535303959124097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/7987535303959124097'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2013/04/skype-ubuntu-system-tray-unity.html' title='skype + ubuntu + system tray + unity'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-7346804029296718988</id><published>2013-03-05T05:59:00.001-08:00</published><updated>2013-03-05T05:59:59.696-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="backbone"/><category scheme="http://www.blogger.com/atom/ns#" term="haml template"/><category scheme="http://www.blogger.com/atom/ns#" term="Rails"/><title type='text'>rails + backbone.js + haml templates</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Если вы используете gem &#39;backbone-on-rails&#39; и не хотите смотреть ужасные темплейты &quot;eco&quot; и до боли привыкли к хамлу..&lt;br /&gt;
Используем гем&amp;nbsp;&lt;a href=&quot;https://github.com/netzpirat/haml_coffee_assets&quot;&gt;https://github.com/netzpirat/haml_coffee_assets&lt;/a&gt;&lt;br /&gt;
После его установки можно использовать файлы с расширением jst.hamlc и нашей любимой разметкой.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/7346804029296718988/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2013/03/rails-backbonejs-haml-templates.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/7346804029296718988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/7346804029296718988'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2013/03/rails-backbonejs-haml-templates.html' title='rails + backbone.js + haml templates'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-4900680253390275207</id><published>2013-02-19T02:23:00.000-08:00</published><updated>2013-02-19T02:23:01.834-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cache"/><category scheme="http://www.blogger.com/atom/ns#" term="Rails"/><title type='text'>rails: caches_page после выключения все равно не обновляет страницы</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
почистить папку public с закешированными страницами&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/4900680253390275207/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2013/02/rails-cachespage.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/4900680253390275207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/4900680253390275207'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2013/02/rails-cachespage.html' title='rails: caches_page после выключения все равно не обновляет страницы'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-5762502491510800168</id><published>2012-11-28T05:06:00.003-08:00</published><updated>2012-11-28T05:06:54.300-08:00</updated><title type='text'>!!! XML не добавляет строку &lt;?xml version=&#39;1.0&#39; encoding=&#39;utf-8&#39; ?&gt;</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Рельсы 3 по дефолту используют HTML5 как DOCTYPE. Создаем инициализатор и добавляем в него следующий код.&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px;&quot;&gt;config/initializers/haml.rb&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Haml&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Template&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;options&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;format&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;xhtml&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/5762502491510800168/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/11/xml.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/5762502491510800168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/5762502491510800168'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/11/xml.html' title='!!! XML не добавляет строку &lt;?xml version=&#39;1.0&#39; encoding=&#39;utf-8&#39; ?&gt;'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-1459662507860867513</id><published>2012-10-19T01:44:00.002-07:00</published><updated>2012-10-19T01:44:23.000-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="touchpad"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Ubuntu: disable touchpad</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
В терминале:&lt;/div&gt;
&lt;pre style=&quot;background-color: #e0e0e0; border: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 17px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;xinput list
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
Получаем:&lt;/div&gt;
&lt;pre style=&quot;background-color: #e0e0e0; border: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 17px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=12   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Laptop_Integrated_Webcam_1.3M             id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=13   [slave  keyboard (3)]
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
Убиваем тачпад!!!&lt;/div&gt;
&lt;pre style=&quot;background-color: #e0e0e0; border: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 17px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;xinput set-prop 12 &quot;Device Enabled&quot; 0&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/1459662507860867513/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/10/ubuntu-disable-touchpad.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/1459662507860867513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/1459662507860867513'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/10/ubuntu-disable-touchpad.html' title='Ubuntu: disable touchpad'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-2157134152874809269</id><published>2012-10-18T11:11:00.002-07:00</published><updated>2012-10-18T11:11:35.886-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="pdf"/><category scheme="http://www.blogger.com/atom/ns#" term="pdfkit"/><category scheme="http://www.blogger.com/atom/ns#" term="Rails"/><category scheme="http://www.blogger.com/atom/ns#" term="rubygems"/><title type='text'>Rails: pdfkit не работает в production</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Возможно, используються картинки или другие асеты, а в продакшене по дефолту не сервятся статические асеты, на сервере с nginx будет все работатать. Для проверки работоспособности можно временно включить&amp;nbsp;config.serve_static_assets = true в production.rb.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/2157134152874809269/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/10/rails-pdfkit-production.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/2157134152874809269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/2157134152874809269'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/10/rails-pdfkit-production.html' title='Rails: pdfkit не работает в production'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-6958777193512951014</id><published>2012-10-13T04:24:00.002-07:00</published><updated>2012-10-13T04:24:23.277-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="imagemagick"/><title type='text'>ImageMagic: Изменить все файлы в директории</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
mogrify -path resized -resize 800x800 -format jpg -quality 80 *&lt;br /&gt;
Закинет все файлы из текущей директории в папку reszied и сделает его максимум 800х800 да добавит в джпег формат с качеством 80%&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/6958777193512951014/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/10/imagemagic.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/6958777193512951014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/6958777193512951014'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/10/imagemagic.html' title='ImageMagic: Изменить все файлы в директории'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-7262448114425976386</id><published>2012-10-05T00:35:00.002-07:00</published><updated>2012-10-05T00:35:33.453-07:00</updated><title type='text'>deploy configure</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
/www/&lt;br /&gt;
&amp;nbsp; /current&lt;br /&gt;
&amp;nbsp; /releases&lt;br /&gt;
&amp;nbsp; /shared&lt;br /&gt;
&lt;br /&gt;
1. install rvm&lt;br /&gt;
2. install rubies&lt;br /&gt;
3. install god&lt;br /&gt;
rvm use RUBY_VERSION&lt;br /&gt;
rvm gemset create GEMSET_NAME&lt;br /&gt;
rvm gemset use GEMSET_NAME&lt;br /&gt;
gem install god&lt;br /&gt;
rvm wrapper RUBY_VERSION@GEMSET_NAME bootup god&lt;br /&gt;
4. install unicorn&lt;br /&gt;
gem install unicorn&lt;br /&gt;
rvm wrapper RUBY_VERSION@GEMSET_NAME APP_NAME unicorn_rails&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/7262448114425976386/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/10/deploy-configure.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/7262448114425976386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/7262448114425976386'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/10/deploy-configure.html' title='deploy configure'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-4473049232891682450</id><published>2012-10-05T00:35:00.001-07:00</published><updated>2012-10-05T00:36:53.479-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><category scheme="http://www.blogger.com/atom/ns#" term="fonts"/><category scheme="http://www.blogger.com/atom/ns#" term="Rails"/><category scheme="http://www.blogger.com/atom/ns#" term="style"/><category scheme="http://www.blogger.com/atom/ns#" term="web-app-theme"/><title type='text'>Rails: web-app-theme не грузяться шрифты, font routing error</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Нужно згенерить асеты&lt;br /&gt;
&lt;span style=&quot;background-color: #f7f7f9; color: rgba(0, 0, 0, 0.701961); font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 13px; line-height: 24.78333282470703px; orphans: 4;&quot;&gt;rails g web_app_theme:assets&lt;/span&gt;&lt;br /&gt;
и поменять ссылки на шрифты с /web-app-theme/... на /asssets/web-app-theme в файле /assets/stylesheets/web-app-theme/themes/default/style.css&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/4473049232891682450/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/10/rails-web-app-theme-font-routing-error.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/4473049232891682450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/4473049232891682450'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/10/rails-web-app-theme-font-routing-error.html' title='Rails: web-app-theme не грузяться шрифты, font routing error'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-4105261451690309245</id><published>2012-10-01T10:00:00.003-07:00</published><updated>2012-10-01T10:00:53.853-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="haml"/><category scheme="http://www.blogger.com/atom/ns#" term="Rails"/><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><title type='text'>Haml: Лишние пробелы после элементов?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Если после элемента надо вставить текст, но вылазит лишний пробел??&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;default prettyprint&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;click&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; succeed &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&#39;.&#39;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;do&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;{:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;thing&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; here&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Получаем разметку:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;default prettyprint&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;click&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;a href&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&#39;thing&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;here&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;.&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
Аналогично работают precede (вставка перед) и surround (принимает 2 аргумента и собственно)&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/4105261451690309245/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/10/haml.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/4105261451690309245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/4105261451690309245'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/10/haml.html' title='Haml: Лишние пробелы после элементов?'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-5412423106826745793</id><published>2012-09-27T05:07:00.000-07:00</published><updated>2012-10-01T09:53:15.922-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gvim"/><category scheme="http://www.blogger.com/atom/ns#" term="vim"/><title type='text'>VIM: использование макросов</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
начать писать макрос в регистр q -&amp;nbsp;qq&lt;br /&gt;
делаем наши действия - что угодно&lt;br /&gt;
закончить писать макрос - q&lt;br /&gt;
вызвать макрос - @q&lt;br /&gt;
вызвать снова - @@&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/5412423106826745793/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/vim.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/5412423106826745793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/5412423106826745793'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/vim.html' title='VIM: использование макросов'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-828843389425784623</id><published>2012-09-23T02:11:00.001-07:00</published><updated>2012-09-23T02:11:06.284-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="virtual"/><category scheme="http://www.blogger.com/atom/ns#" term="wmvare"/><title type='text'>VMWare player установка в ubuntu 12.04</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: white; color: brown; font-size: 12px;&quot;&gt;chmod +x имя_скачанного_файла
sudo ./имя_скачанного_файла&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/828843389425784623/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/vmware-player-ubuntu-1204.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/828843389425784623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/828843389425784623'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/vmware-player-ubuntu-1204.html' title='VMWare player установка в ubuntu 12.04'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-5224974400998611835</id><published>2012-09-21T12:24:00.003-07:00</published><updated>2012-09-23T02:12:05.314-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="phpmyadmin"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>phpmyadmin: максимальный размер загружаемого файла</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;upload_max_filesize, memory_limit и post_max_size в /etc/php5/php.ini&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/5224974400998611835/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/phpmyadmin_21.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/5224974400998611835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/5224974400998611835'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/phpmyadmin_21.html' title='phpmyadmin: максимальный размер загружаемого файла'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-5081422838807163662</id><published>2012-09-21T11:22:00.001-07:00</published><updated>2012-09-23T02:12:20.862-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="phpmyadmin"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>phpmyadmin: Ошибки инсталяции</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Could not reliably determine the server&#39;s fully qualified domain name, using 127.0.1.1 for ServerName&lt;br /&gt;
&lt;br /&gt;
ServerName localhost в конфиге прописать&lt;br /&gt;
&lt;br /&gt;
the requested url /phpmyadmin was not found on this server.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &#39;Trebuchet MS&#39;, Tahoma, Arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/5081422838807163662/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/phpmyadmin.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/5081422838807163662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/5081422838807163662'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/phpmyadmin.html' title='phpmyadmin: Ошибки инсталяции'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-4723255508394150992</id><published>2012-09-19T14:02:00.001-07:00</published><updated>2012-09-19T14:02:25.567-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gvim"/><category scheme="http://www.blogger.com/atom/ns#" term="vim"/><category scheme="http://www.blogger.com/atom/ns#" term="vundle"/><title type='text'>GVIM: vundle не подгружает плагины</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Проблема может быть в указании бандлов в .gvimrc. Vundle требует указания плагинов в .vimrc, а не в .gvimrc&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/4723255508394150992/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/gvim-vundle.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/4723255508394150992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/4723255508394150992'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/gvim-vundle.html' title='GVIM: vundle не подгружает плагины'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-901729901649045796</id><published>2012-09-14T08:18:00.003-07:00</published><updated>2012-09-14T08:19:12.329-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gvim"/><category scheme="http://www.blogger.com/atom/ns#" term="vim"/><title type='text'>VIM: Поиск и замена в визуальном блочном режиме (Visual Block Mode)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px;&quot;&gt;: s/&lt;span style=&quot;color: red;&quot;&gt;\%V&lt;/span&gt;ЧТО_ЗАМЕНИТЬ&lt;span style=&quot;color: red;&quot;&gt;\%V&lt;/span&gt;/НА_ЧТО_ЗАМЕНИТЬ/g&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/901729901649045796/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/vim-visual-block-mode.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/901729901649045796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/901729901649045796'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/vim-visual-block-mode.html' title='VIM: Поиск и замена в визуальном блочном режиме (Visual Block Mode)'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-5873303881773864533</id><published>2012-09-13T03:35:00.002-07:00</published><updated>2012-09-13T03:35:28.886-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gvim"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="unix"/><category scheme="http://www.blogger.com/atom/ns#" term="vim"/><title type='text'>GVIM: вставка из системного буфера обмена</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;3&quot; cellspacing=&quot;0&quot; style=&quot;background-color: #cfd9ff; color: black; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; text-align: start; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;bbcodeblock&quot; style=&quot;background-color: #e6e6e6; border: 1px inset;&quot;&gt;nmap &amp;lt;C-V&amp;gt; &quot;+gP&lt;br /&gt;
imap &amp;lt;C-V&amp;gt; &amp;lt;ESC&amp;gt;&amp;lt;C-V&amp;gt;i&lt;br /&gt;
vmap &amp;lt;C-C&amp;gt; &quot;+y&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/5873303881773864533/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/gvim.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/5873303881773864533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/5873303881773864533'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/gvim.html' title='GVIM: вставка из системного буфера обмена'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-6170555133191637160</id><published>2012-09-11T06:18:00.000-07:00</published><updated>2012-09-13T03:36:14.897-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="unix"/><title type='text'>MySql: default character set to utf8</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
В /etc/mysql/my.cnf добавить&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;lang-sql prettyprint&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;client&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
default-character-set&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;utf8
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;mysql&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
default-character-set&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;utf8

&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;mysqld&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
default-character-set &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; utf8 &amp;nbsp; &amp;nbsp;
collation-server &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; utf8_unicode_ci
init-connect&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&#39;SET NAMES utf8&#39;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
character-set-server &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; utf8&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/6170555133191637160/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/mysql-default-character-set-to-utf8.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/6170555133191637160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/6170555133191637160'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/mysql-default-character-set-to-utf8.html' title='MySql: default character set to utf8'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-218081373156098272</id><published>2012-09-11T02:03:00.003-07:00</published><updated>2012-10-01T09:55:18.494-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>UBUNTU: звук и в колонках и в наушниках (не переключается на наушники или колонки)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;ol style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; list-style: decimal; margin: 0px 0px 1em 30px; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; font-size: 14px; line-height: 16px; margin: 10px 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;div style=&quot;background-color: transparent; border: 0px; clear: both; font-size: 14px; margin: 0px 0px 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&amp;nbsp;Добавляем ppa &lt;/div&gt;
&lt;pre style=&quot;background-color: #e0e0e0; border: 0px; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px 0px 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; sudo apt-add-repository ppa:ubuntu-audio-dev/alsa-daily
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; font-size: 14px; line-height: 16px; margin: 10px 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;div style=&quot;background-color: transparent; border: 0px; clear: both; font-size: 14px; margin: 0px 0px 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
Апдейтим репу&lt;/div&gt;
&lt;pre style=&quot;background-color: #e0e0e0; border: 0px; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px 0px 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;sudo apt-get update
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; font-size: 14px; line-height: 16px; margin: 10px 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;div style=&quot;background-color: transparent; border: 0px; clear: both; font-size: 14px; margin: 0px 0px 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
Ставим нужный пакет&lt;/div&gt;
&lt;pre style=&quot;background-color: #e0e0e0; border: 0px; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px 0px 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; sudo apt-get install alsa-hda-dkms&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
Ребутнуться&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/218081373156098272/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/ubuntu.html#comment-form' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/218081373156098272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/218081373156098272'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/ubuntu.html' title='UBUNTU: звук и в колонках и в наушниках (не переключается на наушники или колонки)'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-3688412189246507305</id><published>2012-09-03T05:27:00.003-07:00</published><updated>2012-09-13T03:37:30.982-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="I18n"/><category scheme="http://www.blogger.com/atom/ns#" term="Rails"/><title type='text'>Rails: переводы дат.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I18n.l(date, :format =&amp;gt; format)&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/3688412189246507305/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/rails.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/3688412189246507305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/3688412189246507305'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/09/rails.html' title='Rails: переводы дат.'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-8127941984930187953</id><published>2012-08-30T02:18:00.001-07:00</published><updated>2012-08-30T02:18:21.146-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="capistrano"/><category scheme="http://www.blogger.com/atom/ns#" term="deploy"/><category scheme="http://www.blogger.com/atom/ns#" term="gem"/><category scheme="http://www.blogger.com/atom/ns#" term="god"/><category scheme="http://www.blogger.com/atom/ns#" term="Rails"/><category scheme="http://www.blogger.com/atom/ns#" term="unicorn"/><title type='text'>Rails: god не перезапускает процессы, unicorn выдает ошибки при включении сторонних класов</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Если вы используете capistrano для деплоя, unicorn и god на сервере и после деплоя, посылки god&#39;у команды перезагрузки unicorn показывает ошибки мол не найден класс или переменная - попробуйте перегрузить процесс самого god&#39;a.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/8127941984930187953/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/08/rails-god-unicorn.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/8127941984930187953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/8127941984930187953'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/08/rails-god-unicorn.html' title='Rails: god не перезапускает процессы, unicorn выдает ошибки при включении сторонних класов'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6722050145138034590.post-9024716160089496115</id><published>2012-08-27T05:37:00.001-07:00</published><updated>2012-09-13T03:37:46.202-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="client_side_validation"/><category scheme="http://www.blogger.com/atom/ns#" term="Rails"/><title type='text'>Отключаем валидации для отдельных полей с client_side_validation</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(204, 204, 204); color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;&quot;&gt;&lt;span class=&quot;cp&quot; style=&quot;border: 0px; color: #999999; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;form_for&lt;/span&gt; &lt;span class=&quot;vi&quot; style=&quot;border: 0px; color: teal; margin: 0px; padding: 0px;&quot;&gt;@person&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;ss&quot; style=&quot;border: 0px; color: #990073; margin: 0px; padding: 0px;&quot;&gt;:validate&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;kp&quot; style=&quot;border: 0px; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;true&lt;/span&gt; &lt;span class=&quot;k&quot; style=&quot;border: 0px; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;do&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;person&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;|&lt;/span&gt;
&lt;span class=&quot;x&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;cp&quot; style=&quot;border: 0px; color: #999999; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;person&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;text_field&lt;/span&gt; &lt;span class=&quot;ss&quot; style=&quot;border: 0px; color: #990073; margin: 0px; padding: 0px;&quot;&gt;:name&lt;/span&gt;
&lt;span class=&quot;x&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;cp&quot; style=&quot;border: 0px; color: #999999; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;person&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;text_field&lt;/span&gt; &lt;span class=&quot;ss&quot; style=&quot;border: 0px; color: #990073; margin: 0px; padding: 0px;&quot;&gt;:email&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;ss&quot; style=&quot;border: 0px; color: #990073; margin: 0px; padding: 0px;&quot;&gt;:validate&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;kp&quot; style=&quot;border: 0px; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;false&lt;/span&gt;
&lt;span class=&quot;x&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;cp&quot; style=&quot;border: 0px; color: #999999; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;person&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;text_field&lt;/span&gt; &lt;span class=&quot;ss&quot; style=&quot;border: 0px; color: #990073; margin: 0px; padding: 0px;&quot;&gt;:url&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gd-wiki.blogspot.com/feeds/9024716160089496115/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://gd-wiki.blogspot.com/2012/08/clientsidevalidation.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/9024716160089496115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6722050145138034590/posts/default/9024716160089496115'/><link rel='alternate' type='text/html' href='http://gd-wiki.blogspot.com/2012/08/clientsidevalidation.html' title='Отключаем валидации для отдельных полей с client_side_validation'/><author><name>Dima</name><uri>http://www.blogger.com/profile/10686019610267784177</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>