<?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-6162240502372391532</id><updated>2025-05-25T14:44:49.991+03:00</updated><category term="jquery"/><category term="php"/><category term="javascript"/><category term="rails"/><category term="Ruby on Rails"/><category term="Новости"/><category term="mysql"/><category term="Модель"/><category term="MVC"/><category term="yii"/><category term="erlang"/><category term="php+apache+mysql"/><category term="postgres"/><category term="webmoney"/><category term="миграции"/><category term="CodeIgniter"/><category term="XML"/><category term="bash"/><category term="curl"/><category term="each"/><category term="ejabberd"/><category term="regexp"/><category term="thinking sphinx"/><category term="ubuntu"/><category term="Ctrl+L"/><category term="DataBase configuration"/><category term="Denwer"/><category term="GhostScript"/><category term="Google Docs Spreadsheets"/><category term="Inkscape"/><category term="Kindle 3"/><category term="PHPFox"/><category term="Regular Expression"/><category term="SCRUM"/><category term="TortoiseSVn"/><category term="VISA"/><category term="XML Viewer"/><category term="XPASS"/><category term="alog"/><category term="alogger"/><category term="chunks"/><category term="closest"/><category term="cmd"/><category term="cron"/><category term="events"/><category term="examples"/><category term="exists"/><category term="expect"/><category term="gksu"/><category term="google map api"/><category term="gproc"/><category term="grep"/><category term="hash subset"/><category term="hide"/><category term="hooks"/><category term="htaccess"/><category term="html"/><category term="imagemagic"/><category term="in array"/><category term="jabber"/><category term="javascript шаблонизатор"/><category term="jquery UI"/><category term="jruby"/><category term="js"/><category term="json"/><category term="jsonlint"/><category term="kill"/><category term="like"/><category term="linux"/><category term="lists"/><category term="log rotation"/><category term="match"/><category term="mount"/><category term="nginx"/><category term="parent"/><category term="parents"/><category term="pdf"/><category term="pdf2ps"/><category term="ps2pdf"/><category term="quickEach"/><category term="rails3"/><category term="rails3 install"/><category term="replace"/><category term="reverse"/><category term="reverseEach"/><category term="rvm"/><category term="share"/><category term="siblings"/><category term="silverstripe"/><category term="sql"/><category term="ssh"/><category term="string"/><category term="sudo"/><category term="svn"/><category term="test"/><category term="update"/><category term="virtualbox"/><category term="xmpp"/><category term="Верстка"/><category term="Денвер"/><category term="Курс валют онлайн"/><category term="версия"/><category term="виртуальные хосты"/><category term="код"/><category term="командная строка браузера"/><category term="программирование"/><category term="сравнение языков"/><category term="хаки"/><title type='text'>Быстро и кратко, полно и точно - Ruby on Rails, PHP, MySQL, CodeIgniter, JQuery</title><subtitle type='html'>Основная задача блога - стать стартовой платформой для начинающих разработчиков, здесь не только буду писать свои статьи, но также буду выкладывать полезные ссылки которые помогут разобраться в разных вопросах. Будут затронуты темы: Ruby on Rails, PHP, MySQl, CodeIgniter, JQuery.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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>138</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6162240502372391532.post-2711970479823804425</id><published>2014-08-13T11:32:00.002+03:00</published><updated>2014-11-12T16:11:39.989+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="erlang"/><category scheme="http://www.blogger.com/atom/ns#" term="in array"/><category scheme="http://www.blogger.com/atom/ns#" term="lists"/><title type='text'>Erlang. Аналог InArray.  Как проверить вхождения элемента в список</title><summary type="text">
Как проверить вхождение элемента в список? Документация

List = [1,2,3,4,5,6],
lists:member(1,List) =&amp;gt; true
lists:member(8,List) =&amp;gt; false

</summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/2711970479823804425/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2014/08/erlang-inarray.html#comment-form' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/2711970479823804425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/2711970479823804425'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2014/08/erlang-inarray.html' title='Erlang. Аналог InArray.  Как проверить вхождения элемента в список'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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-6162240502372391532.post-3374126406615977975</id><published>2014-07-09T12:44:00.003+03:00</published><updated>2014-07-09T12:45:06.092+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="код"/><category scheme="http://www.blogger.com/atom/ns#" term="программирование"/><category scheme="http://www.blogger.com/atom/ns#" term="хаки"/><title type='text'>Так выглядит код с хаками</title><summary type="text">


Именно так выгладит код с хаками!


</summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/3374126406615977975/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2014/07/blog-post.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/3374126406615977975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/3374126406615977975'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2014/07/blog-post.html' title='Так выглядит код с хаками'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpRe-cIaPJMGCb_sZLCpvxt-X6t1DipeG0M27p-FJjdosPtNo1hWLqwtsykXttDSWDmgsOGeC-S4vGgfp-hXOQkWNI7NIGjZdMa5agcb9l57Z1BZ-1uGGaxi8FKRax4fUs3eYD8E8XWho/s72-c/cod_s_hakami.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6162240502372391532.post-5322506771302201668</id><published>2013-09-30T17:36:00.000+03:00</published><updated>2013-09-30T17:37:09.952+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="erlang"/><category scheme="http://www.blogger.com/atom/ns#" term="gproc"/><title type='text'>Erlang. Gproc просмотреть все значения</title><summary type="text">
Как посмотреть что хранится в gproc, не зная ключей:

Просмотреть все локальные записи:

gproc:select({global,all},[{&#39;_&#39;,[],[&#39;$$&#39;]}]).       
[[{p,g,foo},&lt;0 .37.0=&quot;&quot;&gt;,bar]] 


Просмотреть все глобальные записи:

gproc:select({local,all},[{&#39;_&#39;,[],[&#39;$$&#39;]}]). 
[[{p,l,foo},&lt;0 .37.0=&quot;&quot;&gt;,bar]] 


Просмотреть все записи:

gproc:select({all,all},[{&#39;_&#39;,[],[&#39;$$&#39;]}]).   
[[{p,g,foo},&lt;0 .37.0=&quot;&quot;&gt;,bar],[{p,l</summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/5322506771302201668/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2013/09/erlang-gproc.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/5322506771302201668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/5322506771302201668'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2013/09/erlang-gproc.html' title='Erlang. Gproc просмотреть все значения'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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-6162240502372391532.post-1699919131655682373</id><published>2013-07-15T16:21:00.002+03:00</published><updated>2013-07-15T16:26:03.917+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="alog"/><category scheme="http://www.blogger.com/atom/ns#" term="alogger"/><category scheme="http://www.blogger.com/atom/ns#" term="erlang"/><category scheme="http://www.blogger.com/atom/ns#" term="log rotation"/><title type='text'>Erlang. Ротация логов для aloger. Log rotation for alogger</title><summary type="text">

Пример конфигурации приложения на Erlang c alogger
Нужно разбивать логи по размеру 1 гигабайт, хранить 10 файлов.



my-app.config:

...
,{alog, [
     {enabled_loggers, [alog_tty, alog_disk_log]},
     {install_error_logger_handler, true},
     {flows, [
              {{mod, [&#39;_&#39;]}, {&#39;=&amp;lt;&#39;, debug}, [alog_tty, alog_disk_log]}
             ]},
     {alog_tty, []},
     {alog_disk_log, [{name, </summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/1699919131655682373/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2013/07/erlang-aloger-log-rotattion-fpr-alogger.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/1699919131655682373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/1699919131655682373'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2013/07/erlang-aloger-log-rotattion-fpr-alogger.html' title='Erlang. Ротация логов для aloger. Log rotation for alogger'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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-6162240502372391532.post-3022974653440979449</id><published>2013-04-05T11:25:00.002+03:00</published><updated>2013-04-05T11:25:44.525+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ejabberd"/><category scheme="http://www.blogger.com/atom/ns#" term="erlang"/><category scheme="http://www.blogger.com/atom/ns#" term="events"/><category scheme="http://www.blogger.com/atom/ns#" term="examples"/><category scheme="http://www.blogger.com/atom/ns#" term="hooks"/><category scheme="http://www.blogger.com/atom/ns#" term="xmpp"/><title type='text'>Документация по Ejabberd</title><summary type="text">
В этом посте, я поделюсь ссылками на документацию по Ejabberd, нужными спецификациями по протоколу XMPP и ссылками на всевозможные примеры реализации логики (список будет расти). &amp;nbsp;Основная цель - собрать вместе разрозненные данные по Ejabberd.

Документация:
Список событий и хуков:&amp;nbsp;Events and hooks
IQ обработчики: IQ handlers
Основные модули:&amp;nbsp;Core modules

Спецификации:
XMPP </summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/3022974653440979449/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2013/04/ejabberd.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/3022974653440979449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/3022974653440979449'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2013/04/ejabberd.html' title='Документация по Ejabberd'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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-6162240502372391532.post-2357446060059925878</id><published>2013-02-26T12:38:00.001+02:00</published><updated>2013-02-26T12:52:27.154+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chunks"/><category scheme="http://www.blogger.com/atom/ns#" term="js"/><category scheme="http://www.blogger.com/atom/ns#" term="match"/><category scheme="http://www.blogger.com/atom/ns#" term="string"/><title type='text'>Js. Как разбить длинную строку на куски заданного размера</title><summary type="text">
Задача: есть длинная строка, ее нужно разбить на куски по N символов.

Решение:

str.match(/.{1,N}/g);

Пример 1:

str = &#39;qwertyuiopasdfghjklzxc&#39;;
str.match(/.{1,10}/g);
Результат: [&quot;qwertyuiop&quot;, &quot;asdfghjklz&quot;, &quot;xc&quot;]


Пример 2:

str = &#39;qwertyuiopasdfghjklzxc&#39;;
str = &#39;1234567890&#39;;
n = 5;
re = new RegExp(&quot;.{1,&quot;+n+&quot;}&quot;, &quot;g&quot;);
str.match(re);
Результат: [&quot;12345&quot;, &quot;67890&quot;]

</summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/2357446060059925878/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2013/02/js.html#comment-form' title='Комментарии: 3'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/2357446060059925878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/2357446060059925878'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2013/02/js.html' title='Js. Как разбить длинную строку на куски заданного размера'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6162240502372391532.post-4549286723602051948</id><published>2013-01-24T17:12:00.000+02:00</published><updated>2013-01-24T17:13:35.119+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="grep"/><category scheme="http://www.blogger.com/atom/ns#" term="kill"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Ubuntu. Убить процессы по имени.</title><summary type="text">
Для того чтобы убить все процессы по части имени нужно сделать так:
ps aux | grep -e &#39;somename&#39; | grep -v grep | awk &#39;{print $2}&#39; | xargs -i kill {}

</summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/4549286723602051948/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2013/01/ubuntu.html#comment-form' title='Комментарии: 3'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/4549286723602051948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/4549286723602051948'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2013/01/ubuntu.html' title='Ubuntu. Убить процессы по имени.'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6162240502372391532.post-5283710851010592864</id><published>2012-11-05T11:40:00.000+02:00</published><updated>2012-11-05T11:50:11.462+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gksu"/><category scheme="http://www.blogger.com/atom/ns#" term="sudo"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Запуск приложений Ubuntu с правами администратора</title><summary type="text">

Если нужно запустить приложение из под терминала, используем команду sudo:
$ sudo mc



В консоли вас попросят ввести пароль суперпользователя. Все бы хорошо, но если вы таким образом попробуете открыть графическое приложение, например gedit, то оно будет привязано к родительской консоли: если закрыть консоль - графическое приложения закроется.

Чтобы не держать для каждого приложения </summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/5283710851010592864/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2012/11/ubuntu.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/5283710851010592864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/5283710851010592864'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2012/11/ubuntu.html' title='Запуск приложений Ubuntu с правами администратора'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhezdbXF1oWux3QYRQ1GUakpftxni3_1WeyXY05Is3D_Rqcx0GMUReLsPCEfeE94RipHI6JEKDXhRTvUMdz3-ZrnOZtuzWJWXUh7aU6zplmM3XaLdSl-mcEDmv9BqO97aaX6_1oLAxIEpM/s72-c/gksu.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6162240502372391532.post-1977255896906114294</id><published>2012-10-29T15:24:00.000+02:00</published><updated>2012-10-29T15:33:57.688+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ejabberd"/><category scheme="http://www.blogger.com/atom/ns#" term="jabber"/><category scheme="http://www.blogger.com/atom/ns#" term="XML"/><category scheme="http://www.blogger.com/atom/ns#" term="версия"/><title type='text'>Как узнать версию ejabberd</title><summary type="text">

ejabberd - XMPP сервер, написанный на Erlang. Узнать версию установленную в системе можно так:
1. Если остались файлы дистрибутива, то версию можно узнать по имени пакета&amp;nbsp;ejabberd-x.x.x
2. Найти в системе файл ejabberd.app и&amp;nbsp;найти там строку вида:&amp;nbsp;{vsn, &quot;x.x.x&quot;}
3. Если у вас нет доступа к системе, но нужно открыть в XML-консоль (например в QIP, Miranda) и послать серверу команду</summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/1977255896906114294/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2012/10/ejabberd.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/1977255896906114294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/1977255896906114294'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2012/10/ejabberd.html' title='Как узнать версию ejabberd'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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-6162240502372391532.post-6744173051542392860</id><published>2012-10-25T15:45:00.003+03:00</published><updated>2012-10-26T11:22:05.300+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="XML"/><category scheme="http://www.blogger.com/atom/ns#" term="XML Viewer"/><title type='text'>XML Viewer. Удобный просмотр XML</title><summary type="text">
Столкнулся с задачей - нужно просматривать большие логи в формате&amp;nbsp;XML. Естественно, что логи в файле не форматированы, а идут одним сплошным потоком, который нереально читать.

1. Если вы уже используете какую-то из JetBrains IDE, то нажмите Ctrl+Alt+L (или через меню: Code-&amp;gt;Reformat Code)

2 . Еще есть простая бесплатная программа&amp;nbsp;Free XML Editor:

Пример просмотра документа:



</summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/6744173051542392860/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2012/10/xml-viewer-xml.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/6744173051542392860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/6744173051542392860'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2012/10/xml-viewer-xml.html' title='XML Viewer. Удобный просмотр XML'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggRcR9K1O1zMsQcGg9vOYzb2xqUokGRY-pngi8Axe4DGMlhzBRAAecrzLiv5zb60EwLDvLds82PzvuODOUIut-stYyrsR0Y8R29HbHpAQt1B8DXN41o6hm5pfk62JwO_eiuwqN37lGS1Q/s72-c/xml_viewer.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6162240502372391532.post-5807916316524592966</id><published>2012-10-24T11:02:00.000+03:00</published><updated>2012-10-24T11:02:12.704+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mount"/><category scheme="http://www.blogger.com/atom/ns#" term="share"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox"/><title type='text'>VirtualBox. Настройка общих папок для Ubuntu</title><summary type="text">
Основная ОС: Windows 7
VirtualBox&amp;nbsp;ОС: Ubuntu 12.04
Задача: настроить общие папки

1. Создаем папку &quot;d:/share&quot;&amp;nbsp;под&amp;nbsp;Windows 7.

2. Открываем настройки VirtualBox, находим в меню пункт &quot;Общие папки&quot; и добавляем там нужную:



3. Заходим на виртуальную машину, и в папке вашего пользователя, создаем новую папку, ставим нужный уровень доступа:
username@your_server:~# mkdir shared
</summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/5807916316524592966/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2012/10/virtualbox-ubuntu.html#comment-form' title='Комментарии: 9'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/5807916316524592966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/5807916316524592966'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2012/10/virtualbox-ubuntu.html' title='VirtualBox. Настройка общих папок для Ubuntu'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuqjnymy-7sWq2uCMSRHIok0c8zgjU5KAZrqiu5N_vK6W90IB1WiGv3QewhO6my3WNA13Smb43tVL5yCRcEUtrfhTrNdOJ-q8fKNzs9AuJUKOpMXmA3Hmmce7SXawzx0pygwb6NcKW34I/s72-c/vbox-share.png" height="72" width="72"/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6162240502372391532.post-5497155799034226777</id><published>2012-09-03T16:49:00.000+03:00</published><updated>2012-09-05T13:04:27.599+03:00</updated><title type='text'>Javascript. Реализация Singleton и статического класса</title><summary type="text">
Реализовать статический класс в js очень просто, это будет простой объект:

var obj = {
  field: &#39;value&#39;,
  fnTest: function(){
    return &#39;res: &#39;+ this.field;
  }
};

// Использование:
console.log( obj.field ); // &#39;value&#39;
console.log( obj.fnTest() ); // &#39;res: value&#39;

Если нам нужна предварительная инициализация, то добавим некий метод init, который может устанавливать значение полей объекта:

</summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/5497155799034226777/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2012/09/javascript-singleton.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/5497155799034226777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/5497155799034226777'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2012/09/javascript-singleton.html' title='Javascript. Реализация Singleton и статического класса'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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-6162240502372391532.post-6977520420785783674</id><published>2012-06-13T16:47:00.000+03:00</published><updated>2012-06-13T17:10:56.987+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="each"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="reverse"/><category scheme="http://www.blogger.com/atom/ns#" term="reverseEach"/><title type='text'>jQuery. Reverse each. Обратный перебор</title><summary type="text">
Встречаются задачи, когда было бы удобно осуществлять перебор коллекции jQuery в обратном порядке. Ниже привожу функцию которая дает такую возможность:

jQuery.fn.reverseEach = (function () {
 var list = jQuery([1]);
 return function (c) {
  var el, i=this.length;
  try {
   while (i--&gt;0 &amp;&amp; (el=list[0]=this[i]) &amp;&amp; c.call(list,i,el)!==false);
  }
  catch(e) {
   delete list[0];
   throw e;
  }
  </summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/6977520420785783674/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2012/06/jquery-reverse-each.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/6977520420785783674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/6977520420785783674'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2012/06/jquery-reverse-each.html' title='jQuery. Reverse each. Обратный перебор'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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-6162240502372391532.post-2945324412449078141</id><published>2012-05-08T10:58:00.001+03:00</published><updated>2012-05-08T10:58:45.126+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="json"/><category scheme="http://www.blogger.com/atom/ns#" term="jsonlint"/><title type='text'>JSON валидатор</title><summary type="text">

Хочу поделиться ссылкой на онлайн валидатор JSON:&amp;nbsp;http://jsonlint.com/


Будет полезным, особенно для проверки ответов сервера в ajax запросах (если ответ в формате JSON)
</summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/2945324412449078141/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2012/05/json.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/2945324412449078141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/2945324412449078141'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2012/05/json.html' title='JSON валидатор'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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-6162240502372391532.post-241064405515995498</id><published>2012-03-12T23:10:00.000+02:00</published><updated>2012-03-12T23:10:59.291+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google Docs Spreadsheets"/><category scheme="http://www.blogger.com/atom/ns#" term="XPASS"/><category scheme="http://www.blogger.com/atom/ns#" term="Курс валют онлайн"/><title type='text'>Вставка текущего курса валют USD/UAH в ячейку таблицы google docs</title><summary type="text">Google Docs Spreadsheets очень удобный онлайн инструмент для ведения бухгалтерии. Допустим, что такая бухгалтерия ведеться в долларах США, но в конечном итоге надо получить все суммы в гривнах, учитывая текущий курс валют.
Как выход - в ячейку вбить текущий курс и отталкиватся от него. Минус такого подхода состоит в том, что постоянно придется корректировать этот самый текущий курс (как минимум </summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/241064405515995498/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2010/09/usduah-google-docs.html#comment-form' title='Комментарии: 46'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/241064405515995498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/241064405515995498'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2010/09/usduah-google-docs.html' title='Вставка текущего курса валют USD/UAH в ячейку таблицы google docs'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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>46</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6162240502372391532.post-5812408680653817543</id><published>2012-03-12T15:47:00.003+02:00</published><updated>2012-03-12T18:44:45.990+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="each"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="quickEach"/><title type='text'>jQuery. Быстрый итератор quickEach</title><summary type="text">Если вам нужно часто работать с итераторами each в jQuery, и вам приходиться часто внутри него пользоваться $(this), то есть смысл немного оптимизировать код.

Пример: необходимо перебрать список li и что-то сделать с каждым элементом списка
var list = $(&quot;ul li&quot;);
list.each(function() {
 var el = $(this); // получаем объект jQuery из объекта DOM
 el.....  // Какое-то действие с объектом
});

</summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/5812408680653817543/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2012/03/jquery-quickeach.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/5812408680653817543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/5812408680653817543'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2012/03/jquery-quickeach.html' title='jQuery. Быстрый итератор quickEach'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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-6162240502372391532.post-6217978246652708772</id><published>2012-02-29T10:45:00.001+02:00</published><updated>2012-02-29T10:47:27.997+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ctrl+L"/><category scheme="http://www.blogger.com/atom/ns#" term="командная строка браузера"/><title type='text'>Какой комбинацией клавиш перейти в командную строку браузера</title><summary type="text">Переход в командную строку браузера осуществляется комбинацией Ctrl+L, Тестировал в последних версиях FireFox, Chrome, IE, Opera, Safari. 

P.S. Реально позволяет более комфортнее работать.</summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/6217978246652708772/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2012/02/blog-post.html#comment-form' title='Комментарии: 2'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/6217978246652708772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/6217978246652708772'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2012/02/blog-post.html' title='Какой комбинацией клавиш перейти в командную строку браузера'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6162240502372391532.post-447886010451619285</id><published>2012-02-14T12:23:00.001+02:00</published><updated>2012-02-14T17:05:16.160+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="like"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="regexp"/><title type='text'>JavaScript. Поиск строки методом like (аналог like из MySQL)</title><summary type="text">Недавно, мне понадобилось осуществлять поиск по массиву объектов(со строковыми полями). В JavaScript, сложный поиск осуществляется с помощью регулярных выражений, для того чтобы искать в контексте объекта String, есть метод(прототип) match(). 

Но так как задача похожа на поиск по БД, то мне захотелось использовать синтаксис поиска MySQL функции like() - она очень удобна, когда не нужно явно </summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/447886010451619285/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2012/02/javascript-like-like-mysql.html#comment-form' title='Комментарии: 3'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/447886010451619285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/447886010451619285'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2012/02/javascript-like-like-mysql.html' title='JavaScript. Поиск строки методом like (аналог like из MySQL)'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6162240502372391532.post-7914720375415077543</id><published>2012-02-08T16:14:00.001+02:00</published><updated>2012-02-08T16:33:16.588+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hash subset"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>JavaScript. Проверить является или нет один хеш подмножеством другого</title><summary type="text">Задача: Проверить два хеша на предмет того, является или нет, один из них подмножеством другого. Мы проверяем полное соответствие как ключей, так и значений. Порядок параметров значения иметь не должен.

Решение:
var isHashSubset = function(a, b){
  var f = true;
  for(var id in b){
    if(b.hasOwnProperty(id)){
      if(!((undefined!=a[id])&amp;&amp;(undefined!=b[id])&amp;&amp;(b[id]==a[id]))){
        f = </summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/7914720375415077543/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2012/02/javascript.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/7914720375415077543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/7914720375415077543'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2012/02/javascript.html' title='JavaScript. Проверить является или нет один хеш подмножеством другого'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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-6162240502372391532.post-2411189272297583041</id><published>2012-02-07T11:54:00.001+02:00</published><updated>2012-02-07T11:56:06.602+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><title type='text'>MySQL. Группировка по интервалам</title><summary type="text">Постановка задачи: есть таблица table(id:int, time:timestamp, val:double) в которую периодически заносятся показания некого прибора (например каждые 5 секунд). 
Задача: вывести средние значения показаний прибора за определенные интервалы времени, например средние значение за каждые 60 минут

SELECT `id`, DATE_FORMAT(`time`, &#39;%Y-%m-%d %H:%i&#39;) as `dt`, avg(val) as `value`
FROM `table`
GROUP BY `id`</summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/2411189272297583041/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2012/02/mysql.html#comment-form' title='Комментарии: 3'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/2411189272297583041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/2411189272297583041'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2012/02/mysql.html' title='MySQL. Группировка по интервалам'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6162240502372391532.post-7571529551520280893</id><published>2011-12-14T12:14:00.001+02:00</published><updated>2011-12-14T12:24:38.808+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="rails3 install"/><category scheme="http://www.blogger.com/atom/ns#" term="rvm"/><title type='text'>Простая установка RVM, Rails3 в Linux</title><summary type="text">Установка последней версии rails с использованием Ruby Version Manager (RVM):

$ bash &lt; &lt;(curl -s https://rvm.beginrescueend.com/install/rvm)
$ echo &#39;[[ -s &quot;$HOME/.rvm/scripts/rvm&quot; ]] &amp;&amp; . &quot;$HOME/.rvm/scripts/rvm&quot; # Load RVM function&#39; &gt;&gt; ~/.bash_profile
$ source ~/.bash_profile
$ rvm install 1.9.2
$ rvm use 1.9.2 --default
$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
$ gem </summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/7571529551520280893/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2011/12/rvm-rails3-linux.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/7571529551520280893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/7571529551520280893'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2011/12/rvm-rails3-linux.html' title='Простая установка RVM, Rails3 в Linux'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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-6162240502372391532.post-316314812311371662</id><published>2011-09-22T14:54:00.001+03:00</published><updated>2012-06-13T17:24:27.536+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hide"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><title type='text'>jQuery.css(display:&#39;none&#39;) vs jQuery.hide()</title><summary type="text">Меня заинтересовал вопрос: какой метод быстрее скрывает элемент на страничке(и востанавливает)
$(container).css(&#39;display&#39;, &#39;none&#39;) или $(container).hide()

Нашел замечательный сайт http://jsperf.com/jquery-css-display-none-vs-hide/2, на котором проводится тестирование всех возможных способов спрятать элемент под разными браузерами. Вы можете сами запустить тесты или просмотреть уже готовые </summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/316314812311371662/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2011/09/jquerycssdisplaynone-vs-jqueryhide.html#comment-form' title='Комментарии: 6'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/316314812311371662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/316314812311371662'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2011/09/jquerycssdisplaynone-vs-jqueryhide.html' title='jQuery.css(display:&#39;none&#39;) vs jQuery.hide()'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6162240502372391532.post-1601423324945092351</id><published>2011-09-20T13:21:00.003+03:00</published><updated>2011-09-20T13:23:35.965+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><title type='text'>jQuery. Исключающий фильтр :not</title><summary type="text">Постановка задачи: необходимо выбрать все элементы &quot;li&quot; у которых отсутствует класс &quot;test&quot;:
  items = $(&quot;li:not(.test)&quot;);
  //или:
  items = $(&quot;li&quot;).not(&quot;.test&quot;)

  //Вывод результата:
  console.log(&#39;Items:&#39;, items);

Основное применение - исключить по селектору нежелательные вхождения из результирующего набора выборки.

Ссылка на статью в официальной документации: http://api.jquery.com/not/

Для</summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/1601423324945092351/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2011/09/jquery-not.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/1601423324945092351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/1601423324945092351'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2011/09/jquery-not.html' title='jQuery. Исключающий фильтр :not'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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-6162240502372391532.post-3369351088168148643</id><published>2011-09-09T12:06:00.001+03:00</published><updated>2012-01-04T16:46:19.292+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="closest"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="parent"/><category scheme="http://www.blogger.com/atom/ns#" term="parents"/><category scheme="http://www.blogger.com/atom/ns#" term="siblings"/><title type='text'>jQuery. Особенности использования .parent(), .parents(), .closest(), .siblings()</title><summary type="text">Для того чтобы найти родительский элемент(ы) выбранного узла, можно пользоваться похожими методами: .parent(),&amp;nbsp;.parents(), .closest(). Для поиска соседних узлов пользуются .siblings().
Рассмотрим различия между ними:
Первый метод .parent([selector]) -&amp;nbsp; находит родителя строго на один уровень вверх.Пример: $(this).parent()
Для того чтобы получить родителя от родителя нужно применять </summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/3369351088168148643/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2011/09/jquery-parent-parents-closest-siblings.html#comment-form' title='Комментарии: 7'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/3369351088168148643'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/3369351088168148643'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2011/09/jquery-parent-parents-closest-siblings.html' title='jQuery. Особенности использования .parent(), .parents(), .closest(), .siblings()'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6162240502372391532.post-859850240409358997</id><published>2011-08-26T13:07:00.002+03:00</published><updated>2011-08-26T13:08:58.701+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><title type='text'>jQuery. Проверить видимость элемента на странице (видимый/невидимый)</title><summary type="text">Для того чтобы проверить видимый элемент или нет, можно воспользоваться двумя способами:

Допустим, у нас есть скрытый элемент с id=&quot;test&quot;:
$(&quot;#test&quot;).is(&quot;:visible&quot;) =&gt; false
или:
$(&quot;#test&quot;).is(&quot;:hidden&quot;)  =&gt; true
</summary><link rel='replies' type='application/atom+xml' href='http://interestabout.blogspot.com/feeds/859850240409358997/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://interestabout.blogspot.com/2011/08/jquery_26.html#comment-form' title='Комментарии: 10'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/859850240409358997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162240502372391532/posts/default/859850240409358997'/><link rel='alternate' type='text/html' href='http://interestabout.blogspot.com/2011/08/jquery_26.html' title='jQuery. Проверить видимость элемента на странице (видимый/невидимый)'/><author><name>userfoenix</name><uri>http://www.blogger.com/profile/09935387625470878056</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>10</thr:total></entry></feed>